- @Override annotations can be used starting with jre >= 1.6 - Headless build plugin limited the java compilation to 1.5 (no matter what the system jdk is)
Signed-off-by: Ioana Grigoropol <ioanax.grigoro...@intel.com> --- .../org.yocto.sdk.headless.build/build.properties | 4 ++-- .../sdk/remotetools/wizards/bsp/MainPage.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/org.yocto.sdk.headless.build/build.properties b/features/org.yocto.sdk.headless.build/build.properties index 24ccf99..9a3e4d9 100644 --- a/features/org.yocto.sdk.headless.build/build.properties +++ b/features/org.yocto.sdk.headless.build/build.properties @@ -247,10 +247,10 @@ javacVerbose=true #compilerArg= # Default value for the version of the source code. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacSource in build.properties -javacSource=1.5 +javacSource=1.6 # Default value for the version of the byte code targeted. This value is used when compiling plug-ins that do not set the Bundle-RequiredExecutionEnvironment or set javacTarget in build.properties. -javacTarget=1.5 +javacTarget=1.6 #individualSourceBundles=true diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/wizards/bsp/MainPage.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/wizards/bsp/MainPage.java index 861cb08..fea1c76 100644 --- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/wizards/bsp/MainPage.java +++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/wizards/bsp/MainPage.java @@ -520,12 +520,12 @@ public class MainPage extends WizardPage { BuildLocationListener(String value){ this.value = value; } - //@Override + @Override public void focusGained(FocusEvent e) { value = ((Text)e.getSource()).getText(); } - //@Override + @Override public void focusLost(FocusEvent e) { if(!((Text)e.getSource()).getText().equals(value)) { checkBuildDir(); -- 1.7.9.5 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto