Renamed packages of generated code to org.projectfloodlight.openflow.*
And made LENGTH, MINIMUM_LENGTH, WIRE_VERSION constants package private instead of private to avoid 'unused' warnings.
diff --git a/java_gen/templates/of_factories.java b/java_gen/templates/of_factories.java
index 9225510..0044335 100644
--- a/java_gen/templates/of_factories.java
+++ b/java_gen/templates/of_factories.java
@@ -31,7 +31,7 @@
//:: include('_autogen.java')
-package org.openflow.protocol;
+package org.projectfloodlight.openflow.protocol;
//:: include("_imports.java")
@@ -40,7 +40,7 @@
switch(version) {
//:: for v in versions:
case ${v.constant_version}:
- return org.openflow.protocol.ver${v.of_version}.OFFactoryVer${v.of_version}.INSTANCE;
+ return org.projectfloodlight.openflow.protocol.ver${v.of_version}.OFFactoryVer${v.of_version}.INSTANCE;
//:: #endfor
default:
throw new IllegalArgumentException("Unknown version: "+version);