File tree 2 files changed +2
-4
lines changed
afterburner/src/test/java/com/fasterxml/jackson/module/afterburner/deser
blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ public void testSimpleConstructor() throws Exception
291
291
assertEquals (42 , bean .x );
292
292
}
293
293
294
- // [JACKSON-850]
295
294
public void testNoArgsFactory () throws Exception
296
295
{
297
296
NoArgFactoryBean value = MAPPER .readValue ("{\" y\" :13}" , NoArgFactoryBean .class );
@@ -301,7 +300,7 @@ public void testNoArgsFactory() throws Exception
301
300
302
301
public void testSimpleDoubleConstructor () throws Exception
303
302
{
304
- Double exp = new Double ( " 0.25" ) ;
303
+ Double exp = 0.25 ;
305
304
DoubleConstructorBean bean = MAPPER .readValue (exp .toString (), DoubleConstructorBean .class );
306
305
assertEquals (exp , bean .d );
307
306
}
Original file line number Diff line number Diff line change @@ -291,7 +291,6 @@ public void testSimpleConstructor() throws Exception
291
291
assertEquals (42 , bean .x );
292
292
}
293
293
294
- // [JACKSON-850]
295
294
public void testNoArgsFactory () throws Exception
296
295
{
297
296
NoArgFactoryBean value = MAPPER .readValue ("{\" y\" :13}" , NoArgFactoryBean .class );
@@ -301,7 +300,7 @@ public void testNoArgsFactory() throws Exception
301
300
302
301
public void testSimpleDoubleConstructor () throws Exception
303
302
{
304
- Double exp = new Double ( " 0.25" ) ;
303
+ Double exp = 0.25 ;
305
304
DoubleConstructorBean bean = MAPPER .readValue (exp .toString (), DoubleConstructorBean .class );
306
305
assertEquals (exp , bean .d );
307
306
}
You can’t perform that action at this time.
0 commit comments