diff options
author | Simon Steiner <ssteiner@apache.org> | 2016-09-01 13:02:29 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2016-09-01 13:02:29 +0000 |
commit | d00fbcc5807af09bfdb187f82df0474b9a6e19a4 (patch) | |
tree | 0147707d2398f5196a5f21629548d00335bbfaf4 /fop-events | |
parent | cd5c4f508674e5ebbdbe872272455019d2220ca0 (diff) | |
download | xmlgraphics-fop-d00fbcc5807af09bfdb187f82df0474b9a6e19a4.tar.gz xmlgraphics-fop-d00fbcc5807af09bfdb187f82df0474b9a6e19a4.zip |
FOP-2643: Java 9 warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1758773 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-events')
-rw-r--r-- | fop-events/src/test/java/org/apache/fop/events/BasicEventTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fop-events/src/test/java/org/apache/fop/events/BasicEventTestCase.java b/fop-events/src/test/java/org/apache/fop/events/BasicEventTestCase.java index 39e3fec98..e8c559728 100644 --- a/fop-events/src/test/java/org/apache/fop/events/BasicEventTestCase.java +++ b/fop-events/src/test/java/org/apache/fop/events/BasicEventTestCase.java @@ -43,7 +43,7 @@ public class BasicEventTestCase { Event ev = new Event(this, "123", EventSeverity.INFO, Event.paramsBuilder() .param("reason", "I'm tired") - .param("blah", new Integer(23)) + .param("blah", Integer.valueOf(23)) .build()); broadcaster.broadcastEvent(ev); @@ -52,7 +52,7 @@ public class BasicEventTestCase { assertEquals("123", listener.event.getEventID()); assertEquals(EventSeverity.INFO, listener.event.getSeverity()); assertEquals("I'm tired", ev.getParam("reason")); - assertEquals(new Integer(23), ev.getParam("blah")); + assertEquals(Integer.valueOf(23), ev.getParam("blah")); broadcaster.removeEventListener(listener); assertFalse(broadcaster.hasEventListeners()); @@ -79,7 +79,7 @@ public class BasicEventTestCase { listener.event.getEventID()); assertEquals(EventSeverity.WARN, listener.event.getSeverity()); assertEquals("I'm tired", ev.getParam("reason")); - assertEquals(new Integer(23), ev.getParam("blah")); + assertEquals(Integer.valueOf(23), ev.getParam("blah")); broadcaster.removeEventListener(listener); assertFalse(broadcaster.hasEventListeners()); |