Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
r12378 r12620 11 11 import java.util.regex.Pattern; 12 12 13 import org.openstreetmap.josm.Main;14 13 import org.openstreetmap.josm.gui.mappaint.mapcss.CSSColors; 15 14 import org.openstreetmap.josm.tools.ColorHelper; 15 import org.openstreetmap.josm.tools.Logging; 16 16 import org.openstreetmap.josm.tools.Utils; 17 17 … … 75 75 if (res == null) { 76 76 if (!suppressWarnings) { 77 Main.warn(String.format("Unable to convert property %s to type %s: found %s of type %s!", key, klass, o, o.getClass()));77 Logging.warn(String.format("Unable to convert property %s to type %s: found %s of type %s!", key, klass, o, o.getClass())); 78 78 } 79 79 return def; … … 181 181 return Float.valueOf((String) o); 182 182 } catch (NumberFormatException e) { 183 if (Main.isDebugEnabled()) { 184 Main.debug('\'' + (String) o + "' cannot be converted to float"); 185 } 183 Logging.debug("'{0}' cannot be converted to float", o); 186 184 } 187 185 }
Note:
See TracChangeset
for help on using the changeset viewer.