Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Group 4 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Group 4 #22

wants to merge 1 commit into from

Conversation

johanneskross
Copy link

No description provided.

@PtrBld PtrBld requested review from hitum-dev and ysngshn September 6, 2021 08:04
import Planes.MilitaryPlane;
import Planes.Plane;

import java.util.*;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid wildcard import

}
}
} //if
else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why empty else?

System.out.println ("***** Largest Transport Military Plane ******");
System.out.println ("*********************************************");

for (Plane plane : planes) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be this.planes

Plane maxPlane = null;

// print banner
System.out.println ("*********************************************");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use java.util.logging.Logger instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants