Browse Source

fixed cast to object bug

MW 7 years ago
parent
commit
b3ea44a64d

+ 1 - 1
scopviz/src/main/java/de/tu_darmstadt/informatik/tk/scopviz/graphs/GraphHelper.java

@@ -82,7 +82,7 @@ public class GraphHelper {
 				}
 			}
 			for (String s : e.getAttributeKeySet()) {
-				target.getEdge(newId).addAttribute(s, e.getAttribute(s));
+				target.getEdge(newId).addAttribute(s, (Object) e.getAttribute(s));
 			}
 		}
 	}