Allow more flexibility with JSON marshalling of non-entity beans

This commit is contained in:
Rob Bygrave committed 2013-08-02 12:16:00 +12:00
1 parent bf8574833a
commit 9c7f62e8b1
2 files changed
+5 -5

No files matched your search

@@ -376,7 +376,8 @@ public class DeployCreateProperties {
if (typeArgs[0] instanceof Class<?>){
return (Class<?>) typeArgs[0];
}
throw new RuntimeException("Unexpected Parameterised Type? "+typeArgs[0]);
//throw new RuntimeException("Unexpected Parameterised Type? "+typeArgs[0]);
return null;
}
if (typeArgs.length == 2) {
// this is probably a Map