Index: trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java	(revision 15396)
+++ trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java	(revision 15398)
@@ -16,5 +16,5 @@
 import javax.swing.JScrollPane;
 
-import org.junit.BeforeClass;
+import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
@@ -48,6 +48,6 @@
      * Setup test
      */
-    @BeforeClass
-    public static void beforeClass() {
+    @Before
+    public void before() {
         // Make sure we don't rely on a specific country, for distance units
         Locale.setDefault(Locale.ENGLISH);
