dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21703
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10349: minor cleanup
------------------------------------------------------------
revno: 10349
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-03-20 18:34:56 +0700
message:
minor cleanup
modified:
dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java 2012-12-18 17:12:07 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java 2013-03-20 11:34:56 +0000
@@ -83,19 +83,8 @@
}
jsonMapper.getJsonFactory().enable( JsonGenerator.Feature.QUOTE_FIELD_NAMES );
- // jsonMapper.getFactory().enable( JsonGenerator.Feature.QUOTE_FIELD_NAMES );
xmlMapper.configure( ToXmlGenerator.Feature.WRITE_XML_DECLARATION, true );
- /*
- jsonMapper.setAnnotationIntrospector(
- new JacksonAnnotationIntrospector() );
-
- xmlMapper.setAnnotationIntrospector(
- new AnnotationIntrospectorPair(
- new JacksonXmlAnnotationIntrospector(),
- new JacksonAnnotationIntrospector() ) );
- */
-
// register view classes
viewClasses.put( "default", BasicView.class );
viewClasses.put( "basic", BasicView.class );