-
- Downloads
Introduce ParseUtils as a cleaner way to parse hex or decimal strings to their...
Introduce ParseUtils as a cleaner way to parse hex or decimal strings to their primitive types. This is done instead of e.g. Integer.decode() in order to eliminiate the need to instantiate a new object wrapped around the primitive type if we're just going to use the primivitive type in the first place. Cleaned up all *Utils classes to use the new ParseUtils fuctions, which reduced a lot of duplicate code.
Showing
- src/main/java/net/floodlightcontroller/util/ActionUtils.java 149 additions, 297 deletionssrc/main/java/net/floodlightcontroller/util/ActionUtils.java
- src/main/java/net/floodlightcontroller/util/GroupUtils.java 3 additions, 3 deletionssrc/main/java/net/floodlightcontroller/util/GroupUtils.java
- src/main/java/net/floodlightcontroller/util/InstructionUtils.java 5 additions, 21 deletions.../java/net/floodlightcontroller/util/InstructionUtils.java
- src/main/java/net/floodlightcontroller/util/MatchUtils.java 100 additions, 104 deletionssrc/main/java/net/floodlightcontroller/util/MatchUtils.java
- src/main/java/net/floodlightcontroller/util/ParseUtils.java 131 additions, 0 deletionssrc/main/java/net/floodlightcontroller/util/ParseUtils.java
Loading
Please register or sign in to comment