Skip to content

Commit 145631f

Browse files
committed
warnings removal
1 parent cde0fa7 commit 145631f

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

afterburner/src/test/java/com/fasterxml/jackson/module/afterburner/deser/TestCreators.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ public void testSimpleConstructor() throws Exception
291291
assertEquals(42, bean.x);
292292
}
293293

294-
// [JACKSON-850]
295294
public void testNoArgsFactory() throws Exception
296295
{
297296
NoArgFactoryBean value = MAPPER.readValue("{\"y\":13}", NoArgFactoryBean.class);
@@ -301,7 +300,7 @@ public void testNoArgsFactory() throws Exception
301300

302301
public void testSimpleDoubleConstructor() throws Exception
303302
{
304-
Double exp = new Double("0.25");
303+
Double exp = 0.25;
305304
DoubleConstructorBean bean = MAPPER.readValue(exp.toString(), DoubleConstructorBean.class);
306305
assertEquals(exp, bean.d);
307306
}

blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser/TestCreators.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ public void testSimpleConstructor() throws Exception
291291
assertEquals(42, bean.x);
292292
}
293293

294-
// [JACKSON-850]
295294
public void testNoArgsFactory() throws Exception
296295
{
297296
NoArgFactoryBean value = MAPPER.readValue("{\"y\":13}", NoArgFactoryBean.class);
@@ -301,7 +300,7 @@ public void testNoArgsFactory() throws Exception
301300

302301
public void testSimpleDoubleConstructor() throws Exception
303302
{
304-
Double exp = new Double("0.25");
303+
Double exp = 0.25;
305304
DoubleConstructorBean bean = MAPPER.readValue(exp.toString(), DoubleConstructorBean.class);
306305
assertEquals(exp, bean.d);
307306
}

0 commit comments

Comments
 (0)