Navigation Menu

Skip to content

Commit

Permalink
Use constant rather than magic string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morgan committed Jun 29, 2009
1 parent 9848630 commit 95d49d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/hyperic/hq/hqapi1/XmlUtil.java
Expand Up @@ -61,7 +61,7 @@ public static void serialize(Object o, OutputStream os, Boolean format)
{
Marshaller m = CTX.createMarshaller();
m.setEventHandler(new DefaultValidationEventHandler());
m.setProperty("jaxb.formatted.output", format);
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, format);
m.marshal(o, os);
}
}

0 comments on commit 95d49d6

Please sign in to comment.