Commits

Fredrik Johansson committed 076f361

Revert

  • Participants
  • Parent commits edf8385

Comments (0)

Files changed (1)

maven/protocol-generator-plugin/src/main/scripts/java_generator.rb

   end
   
   def object_factory(structs, version)
-    wi("@SuppressWarnings(\"unused\")")
     wi("public final class ProtocolObjectFactory implements com.cubeia.firebase.io.ObjectFactory {")
     wi("public int version() {",1)
     wi("return #{version};",2)
   end
   
   def JavaOut.generate_enums(f, enums)
-    wi("@SuppressWarnings(\"unused\")")
     f.write("public final class Enums {\n")
     f.write("    private Enums() {}\n\n")
     enums.each_pair do |enum, values|