Permalink
Browse files

no longer use generics (to maintain JDK 1.4 compatibility)

  • Loading branch information...
1 parent 4cbacde commit db1af3a56845d83f8efb3f8266016a1895b58698 @alex-rind alex-rind committed Apr 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/prefuse/data/io/GraphMLWriter.java
@@ -50,9 +50,9 @@
/**
* Map containing legal data types and their names in the GraphML spec
*/
- public static final java.util.Map<Class, String> TYPES;
+ public static final java.util.Map TYPES;
static {
- HashMap<Class, String> types = new HashMap<Class, String>();
+ HashMap types = new HashMap();
types.put(int.class, Tokens.INT);
types.put(long.class, Tokens.LONG);
types.put(float.class, Tokens.FLOAT);

0 comments on commit db1af3a

Please sign in to comment.