Index: trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java	(revision 19624)
+++ trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java	(revision 19629)
@@ -123,5 +123,5 @@
             RefEntry curEntry = null;
             while ((line = in.readLine()) != null) {
-                if (line.startsWith("#") || line.trim().isEmpty()) {
+                if (line.startsWith("#") || line.isBlank()) {
                     continue;
                 }
Index: trunk/test/unit/org/openstreetmap/josm/gui/help/HelpContentReaderTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/gui/help/HelpContentReaderTest.java	(revision 19624)
+++ trunk/test/unit/org/openstreetmap/josm/gui/help/HelpContentReaderTest.java	(revision 19629)
@@ -28,5 +28,5 @@
     void testFetchHelpTopicContentNominal() throws HelpContentReaderException {
         String res = new HelpContentReader(HelpUtil.getWikiBaseUrl()).fetchHelpTopicContent(HelpBrowserTest.URL_1, false);
-        assertFalse(res.trim().isEmpty());
+        assertFalse(res.isBlank());
     }
 }
