- Timestamp:
 - 2014-05-19T17:01:53+02:00 (11 years ago)
 - Location:
 - trunk/src/org/openstreetmap/josm/gui
 - Files:
 - 
      
- 2 edited
 
- 
          
  SplashScreen.java (modified) (3 diffs)
 - 
          
  mappaint/MapPaintStyles.java (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/org/openstreetmap/josm/gui/SplashScreen.java
r7005 r7143 29 29 import org.openstreetmap.josm.gui.util.GuiHelper; 30 30 import org.openstreetmap.josm.tools.ImageProvider; 31 import org.openstreetmap.josm.tools.Utils; 31 32 import org.openstreetmap.josm.tools.WindowGeometry; 32 33 … … 37 38 public class SplashScreen extends JFrame { 38 39 39 private SwingRenderingProgressMonitor progressMonitor; 40 private final SwingRenderingProgressMonitor progressMonitor; 40 41 41 42 /** … … 198 199 if (!prevMessageTitle.isEmpty()) { 199 200 messages.removeLast(); 200 messages.add(tr("{0} ({1} ms)", prevMessageTitle,Long.toString(now - time)));201 messages.add(tr("{0} ({1})", prevMessageTitle, Utils.getDurationString(now - time))); 201 202 } 202 203 time = now;  - 
      
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r7082 r7143 206 206 } 207 207 for (StyleSource source : styles.getStyleSources()) { 208 final long startTime = System.currentTimeMillis(); 208 209 source.loadStyleSource(); 209 210 if (Main.pref.getBoolean("mappaint.auto_reload_local_styles", true) && source.isLocal()) { 210 211 File f = new File(source.url); 211 212 source.setLastMTime(f.lastModified()); 213 } 214 if (Main.isDebugEnabled()) { 215 final long elapsedTime = System.currentTimeMillis() - startTime; 216 Main.debug("Initializing map style " + source.url + " completed in " + Utils.getDurationString(elapsedTime)); 212 217 } 213 218 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  