Changeset 10977 in josm
- Timestamp:
- 2016-09-08T23:15:39+02:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesCellRenderer.java
r10878 r10977 94 94 // Find the non-blank value in the map 95 95 v.entrySet().stream().filter(entry -> !Objects.equals(entry.getKey(), "")) 96 96 /* I18n: properties display partial string joined with comma, first is count, second is value */ 97 97 .findAny().ifPresent(entry -> sb.append(tr("{0} ''{1}''", entry.getValue().toString(), entry.getKey()))); 98 98 } else { -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r10971 r10977 1680 1680 ts = dts.getTileSet(displayZoomLevel); 1681 1681 if (!dts.getTileSetInfo(displayZoomLevel).hasAllLoadedTiles && displayZoomLevel < zoom) { 1682 1683 1684 1682 // if we are showing tiles from lower zoom level, ensure that all tiles are loaded as they are few, 1683 // and should not trash the tile cache 1684 // This is especially needed when dts.getTileSet(zoom).tooLarge() is true and we are not loading tiles 1685 1685 ts.loadAllTiles(false); 1686 1686 } -
trunk/test/config/unit-josm.home
- Property svn:ignore
-
old new 9 9 ebdirigo 10 10 autosave 11 styles
-
- Property svn:ignore
-
trunk/test/unit/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreferenceTest.java
r10378 r10977 4 4 import static org.junit.Assert.assertNotNull; 5 5 6 import org.junit. BeforeClass;6 import org.junit.Rule; 7 7 import org.junit.Test; 8 import org.openstreetmap.josm.JOSMFixture;9 8 import org.openstreetmap.josm.gui.preferences.PreferencesTestUtils; 9 import org.openstreetmap.josm.testutils.JOSMTestRules; 10 11 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 10 12 11 13 /** … … 15 17 16 18 /** 17 * Setup test .19 * Setup tests 18 20 */ 19 @BeforeClass 20 public static void setUpBeforeClass() { 21 JOSMFixture.createUnitTestFixture().init(); 22 } 21 @Rule 22 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 23 public JOSMTestRules test = new JOSMTestRules().platform().commands(); 23 24 24 25 /**
Note:
See TracChangeset
for help on using the changeset viewer.