Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

property-map generics

  • Loading branch information...
commit 93b3df3dc6591584baa4daf8edc3643a6e48a03f 1 parent 021fff9
Michael Hunger authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/java/org/neo4j/rest/graphdb/PropertiesMap.java
2  src/main/java/org/neo4j/rest/graphdb/PropertiesMap.java
View
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.