diff options
author | Andrew Azores <[email protected]> | 2013-11-07 09:59:22 -0500 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-11-07 09:59:22 -0500 |
commit | cc383fcf7288977d01608d9da4d9d84d167e1aad (patch) | |
tree | f5b899aa9cd705f7d1aba497874c8c787018903d /tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java | |
parent | 8f59c1b0bf5fed4fce80ebcc0bc588e62dde706d (diff) |
Reproducer test cleanup to remove deprecation warnings and type checking warnings.
ServerAccess.ProcessResult removed and reference replaced with ProcessResult.
junit.framework.assert replaced in favour of org.junit.Assert.
Added parameterized typing to instantiation of several fields and local variables
where the declaration was already parameterized.
Diffstat (limited to 'tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java')
-rw-r--r-- | tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java b/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java index a83e5bb..36c3d3f 100644 --- a/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java +++ b/tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java @@ -83,7 +83,7 @@ public class LocalesTestTest { ServerAccess.logOutputReprint("Setting locales"); Map<String, String> p = System.getenv(); Set<Entry<String, String>> r = p.entrySet(); - List<Entry<String, String>> rr = new ArrayList(r); + List<Entry<String, String>> rr = new ArrayList<Entry<String, String>>(r); Collections.sort(rr, new Comparator<Entry<String, String>>() { @Override |