Skip to content

Commit

Permalink
Brevity
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Mar 24, 2017
1 parent d97171c commit 6cf944e
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -585,12 +585,7 @@ static class EarlyAccessCheck implements BootstrapCheck {

@Override
public boolean check() {
if ("Oracle Corporation".equals(jvmVendor())) {
final String javaVersion = javaVersion();
return javaVersion.endsWith("-ea");
} else {
return false;
}
return "Oracle Corporation".equals(jvmVendor()) && javaVersion().endsWith("-ea");
}

String jvmVendor() {
Expand Down

0 comments on commit 6cf944e

Please sign in to comment.