diff --git a/tools/src/main/java/com/threerings/presents/tools/GenServiceTask.java b/tools/src/main/java/com/threerings/presents/tools/GenServiceTask.java index 760651429..664e557ef 100644 --- a/tools/src/main/java/com/threerings/presents/tools/GenServiceTask.java +++ b/tools/src/main/java/com/threerings/presents/tools/GenServiceTask.java @@ -53,6 +53,7 @@ public class GenServiceTask extends InvocationTask /** Contains all imports required for the parameters of the methods in this listener. */ public ImportSet imports = new ImportSet(); + @SuppressWarnings("this-escape") public ServiceListener (Class service, Class listener) { this.listener = listener; diff --git a/tools/src/main/java/com/threerings/presents/tools/cpp/CPPType.java b/tools/src/main/java/com/threerings/presents/tools/cpp/CPPType.java index d3353e091..30b0a9bc6 100644 --- a/tools/src/main/java/com/threerings/presents/tools/cpp/CPPType.java +++ b/tools/src/main/java/com/threerings/presents/tools/cpp/CPPType.java @@ -41,6 +41,7 @@ public class CPPType public final boolean primitive; + @SuppressWarnings("this-escape") public CPPType (Type javaType) { if (javaType instanceof ParameterizedType) {