List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:December 4 2007 7:25pm
Subject:Rev 325: Added SuppressWarnings to java enums. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 325
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Tue 2007-12-04 11:24:53 -0800
message:
  Added SuppressWarnings to java enums.
modified:
  swig/SWIG/Lib/java/enums.swg   enums.swg-20071104211339-fod7yzi8t7xd3g0w-909
=== modified file 'swig/SWIG/Lib/java/enums.swg'
--- a/swig/SWIG/Lib/java/enums.swg	2007-11-04 21:32:20 +0000
+++ b/swig/SWIG/Lib/java/enums.swg	2007-12-04 19:24:53 +0000
@@ -92,15 +92,18 @@
     throw new IllegalArgumentException("No enum " + $javaclassname.class + " with value "
+ swigValue);
   }
 
+  @SuppressWarnings("unused")
   private $javaclassname() {
     this.swigValue = SwigNext.next++;
   }
 
+  @SuppressWarnings("unused")
   private $javaclassname(int swigValue) {
     this.swigValue = swigValue;
     SwigNext.next = swigValue+1;
   }
 
+  @SuppressWarnings("unused")
   private $javaclassname($javaclassname swigEnum) {
     this.swigValue = swigEnum.swigValue;
     SwigNext.next = this.swigValue+1;

Thread
Rev 325: Added SuppressWarnings to java enums. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor4 Dec