diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-07 09:48:58 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-07-07 21:49:47 +0200 |
commit | dfc682a0010ff1ba77496dd7644a6dcbe93017e5 (patch) | |
tree | e9176b19bfbf9b83962060773664e1c19b7ccaaf | |
parent | 446a8e33e00cb9effe1d1e181cac192a70648412 (diff) | |
download | lombok-dfc682a0010ff1ba77496dd7644a6dcbe93017e5.tar.gz lombok-dfc682a0010ff1ba77496dd7644a6dcbe93017e5.tar.bz2 lombok-dfc682a0010ff1ba77496dd7644a6dcbe93017e5.zip |
lombok's compile target is 1.6, but, eclipse project was generated as 1.7. This caused a bunch of weirdness because eclipse changes a bunch of warnings and quickfixes based on this (such as complaining about lack of @SafeVarargs, a 1.7-only feature).
-rw-r--r-- | build.xml | 2 | ||||
-rw-r--r-- | src/delombok/lombok/delombok/DelombokApp.java | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -256,7 +256,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr </target> <target name="eclipse" depends="deps, contrib" description="Creates eclipse project files and downloads all dependencies. Open this directory as project in eclipse after running this target."> - <ivy:eclipsegen> + <ivy:eclipsegen source="1.6"> <srcdir dir="src/core" /> <srcdir dir="src/utils" /> <srcdir dir="src/eclipseAgent" /> diff --git a/src/delombok/lombok/delombok/DelombokApp.java b/src/delombok/lombok/delombok/DelombokApp.java index 5b97be08..90a7b55e 100644 --- a/src/delombok/lombok/delombok/DelombokApp.java +++ b/src/delombok/lombok/delombok/DelombokApp.java @@ -84,7 +84,6 @@ public class DelombokApp extends LombokApp { return null; } - @SuppressWarnings("resource") final JarFile toolsJarFile = new JarFile(toolsJar); ClassLoader loader = new ClassLoader() { |