Permalink
Browse files

property-map generics

  • Loading branch information...
1 parent 021fff9 commit 93b3df3dc6591584baa4daf8edc3643a6e48a03f @jexp committed Dec 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/neo4j/rest/graphdb/PropertiesMap.java
View
2 src/main/java/org/neo4j/rest/graphdb/PropertiesMap.java
@@ -84,7 +84,7 @@ public static Object assertSupportedPropertyValue( Object value ) {
"long, float, double) and String, as well as arrays of all those types" );
}
- private static boolean isSupportedType(Class<? extends Object> type) {
+ private static boolean isSupportedType(Class<?> type) {
return type.isPrimitive() || String.class.isAssignableFrom(type) || Number.class.isAssignableFrom(type) || Boolean.class.isAssignableFrom(type);
}

0 comments on commit 93b3df3

Please sign in to comment.