aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2011-08-15 22:16:03 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2011-08-15 22:16:03 +0200
commitf4cce859657d191b705617155f4a7547c8ece21c (patch)
tree2a3ccf988e53b3fe30c2fa263d438df21bd29bae /src
parentd8d47c687d7ec22e481cf10782f1f889485c39fa (diff)
downloadlombok-f4cce859657d191b705617155f4a7547c8ece21c.tar.gz
lombok-f4cce859657d191b705617155f4a7547c8ece21c.tar.bz2
lombok-f4cce859657d191b705617155f4a7547c8ece21c.zip
fixed a warning during the ant compile process
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java b/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
index f1f33426..9d9a2fb5 100644
--- a/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
+++ b/src/core/lombok/javac/apt/Javac6BaseFileObjectWrapper.java
@@ -33,6 +33,8 @@ import java.nio.charset.CharsetDecoder;
import javax.lang.model.element.Modifier;
import javax.lang.model.element.NestingKind;
+// Weird SuppressWarnings, but javac doesn't understand 'all' and eclipse doesn't understand that this file contains deprecation references.
+@SuppressWarnings({"all", "deprecation"})
class Javac6BaseFileObjectWrapper extends com.sun.tools.javac.util.BaseFileObject {
private final LombokFileObject delegate;
@@ -48,7 +50,6 @@ class Javac6BaseFileObjectWrapper extends com.sun.tools.javac.util.BaseFileObjec
return delegate.toUri();
}
- @SuppressWarnings("all")
@Override public String getName() {
return delegate.getName();
}