Author: dgeraskov
Date: 2012-05-18 03:44:52 -0400 (Fri, 18 May 2012)
New Revision: 41142
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/workbench/ProjectCompilerVersionChecker.java
Log:
https://issues.jboss.org/browse/JBIDE-11773
Do not warn if levels are equals
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/workbench/ProjectCompilerVersionChecker.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/workbench/ProjectCompilerVersionChecker.java 2012-05-18
07:44:16 UTC (rev 41141)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/workbench/ProjectCompilerVersionChecker.java 2012-05-18
07:44:52 UTC (rev 41142)
@@ -40,7 +40,7 @@
String eclipseCompilerVersion =
System.getProperty("java.specification.version"); //$NON-NLS-1$
long projectJdkLevel = CompilerOptions.versionToJdkLevel(projectTarget);
long eclipseJdkLevel = CompilerOptions.versionToJdkLevel(eclipseCompilerVersion);
- if (eclipseJdkLevel <= projectJdkLevel){
+ if (eclipseJdkLevel < projectJdkLevel){
Display.getDefault().syncExec(new Runnable(){
@Override
public void run() {