Permalink
Browse files

Changed addDefaultTypeHandler to allow for any type (was <String>, no…

…w is <?>).
  • Loading branch information...
1 parent c9f881f commit 8acc886e1f6361335208dca80b69814269ae8687 Brett L. Schuchert committed Jun 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/om/query/QueryResultBuilder.java
@@ -98,7 +98,7 @@ public void ignore(String property) {
register(property, ignoreFieldHandler);
}
- public static void addDefaultTypeHandler(Class<String> clazz, PropertyHandler handler) {
+ public static void addDefaultTypeHandler(Class<?> clazz, PropertyHandler handler) {
globalTypeBasedPropertyHandlers.put(clazz, handler);
}
}

0 comments on commit 8acc886

Please sign in to comment.