Index: trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java	(revision 7075)
+++ trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java	(revision 7076)
@@ -6,7 +6,7 @@
 
 import java.io.BufferedReader;
+import java.io.IOException;
 import java.net.URL;
 import java.util.Arrays;
-import java.util.Locale;
 
 import org.junit.Assert;
@@ -76,6 +76,10 @@
     }
 
+    /**
+     * Test of {@link Utils#openURLReaderAndDecompress} method with Gzip compression.
+     * @throws IOException if any I/O error occurs
+     */
     @Test
-    public void testOpenUrlGzip() throws Exception {
+    public void testOpenUrlGzip() throws IOException {
         Main.initApplicationPreferences();
         try (BufferedReader x = Utils.openURLReaderAndDecompress(new URL("https://www.openstreetmap.org/trace/1613906/data"), true)) {
@@ -84,6 +88,10 @@
     }
 
+    /**
+     * Test of {@link Utils#openURLReaderAndDecompress} method with Bzip compression.
+     * @throws IOException if any I/O error occurs
+     */
     @Test
-    public void testOpenUrlBzip() throws Exception {
+    public void testOpenUrlBzip() throws IOException {
         Main.initApplicationPreferences();
         try (BufferedReader x = Utils.openURLReaderAndDecompress(new URL("https://www.openstreetmap.org/trace/785544/data"), true)) {
@@ -92,6 +100,9 @@
     }
 
+    /**
+     * Test of {@link Utils#getPositionListString} method.
+     */
     @Test
-    public void testPositionListString() throws Exception {
+    public void testPositionListString() {
         assertThat(Utils.getPositionListString(Arrays.asList(1)), is("1"));
         assertThat(Utils.getPositionListString(Arrays.asList(1, 2, 3)), is("1-3"));
@@ -101,7 +112,10 @@
     }
 
+    /**
+     * Test of {@link Utils#getDurationString} method.
+     */
     @Test
-    public void testDurationString() throws Exception {
-        Locale.setDefault(Locale.ENGLISH);
+    public void testDurationString() {
+        I18n.set("en");
         assertThat(Utils.getDurationString(123), is("123 ms"));
         assertThat(Utils.getDurationString(1234), is("1.2 s"));
