Permalink
Browse files

[#977]

  • Loading branch information...
1 parent 928c9b7 commit 1120b92023a39c29f9a5529bdef7806236fbb491 @pepite pepite committed Jan 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/play/test/Fixtures.java
@@ -420,7 +420,7 @@ public static void deleteDirectory(String path) {
continue;
}
if (value instanceof Map<?, ?>) {
- serialized.putAll(serialize((Map<?, ?>) value, prefix + "." + key));
+ serialized.putAll(serialize((Map<?, ?>) value, prefix + "[" + key.toString() +"]"));
} else if (value instanceof Date) {
serialized.put(prefix + "." + key.toString(), new String[]{new SimpleDateFormat(DateBinder.ISO8601).format(((Date) value))});
} else if (Collection.class.isAssignableFrom(value.getClass())) {

0 comments on commit 1120b92

Please sign in to comment.