File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/marklogic/client/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public void addCity(City city) {
8585 JacksonPojoHandle handle = new JacksonPojoHandle (city );
8686 // demonstrate our ability to set advanced configuration on the mapper
8787 // in this case, we're saying wrap our serialization with the name of the pojo class
88- handle .getMapper ().enableDefaultTyping (ObjectMapper .DefaultTyping .NON_FINAL , JsonTypeInfo .As .WRAPPER_OBJECT );
88+ handle .getMapper ().enableDefaultTyping (ObjectMapper .DefaultTyping .NON_FINAL , JsonTypeInfo .As .WRAPPER_OBJECT );
8989 writeSet .add (DIRECTORY + "/jsonCities/" + city .getGeoNameId () + ".json" , handle );
9090 numCities ++;
9191 }
@@ -127,7 +127,7 @@ public void addCity(City city) {
127127 if ( numCities >= MAX_TO_WRITE ) return ;
128128 JacksonPojoHandle handle = new JacksonPojoHandle (city );
129129 // NOTICE: We've set the mapper to an XmlMapper, showing the versitility of Jackson
130- handle .setMapper (mapper );
130+ handle .setMapper (mapper );
131131 handle .setFormat (Format .XML );
132132 writeSet .add (DIRECTORY + "/xmlCities/" + city .getGeoNameId () + ".xml" , handle );
133133 numCities ++;
You can’t perform that action at this time.
0 commit comments