Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/actions/search
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions/search
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12578 r12620 62 62 import org.openstreetmap.josm.tools.GBC; 63 63 import org.openstreetmap.josm.tools.JosmRuntimeException; 64 import org.openstreetmap.josm.tools.Logging; 64 65 import org.openstreetmap.josm.tools.Shortcut; 65 66 import org.openstreetmap.josm.tools.Utils; … … 416 417 super.buttonAction(buttonIndex, evt); 417 418 } catch (ParseError e) { 418 Main.debug(e);419 Logging.debug(e); 419 420 JOptionPane.showMessageDialog( 420 421 Main.parent, … … 825 826 subMonitor.finishTask(); 826 827 } catch (ParseError e) { 827 Main.debug(e);828 Logging.debug(e); 828 829 JOptionPane.showMessageDialog( 829 830 Main.parent, … … 953 954 break; 954 955 } else { 955 Main.warn("Unknown char in SearchSettings: " + s);956 Logging.warn("Unknown char in SearchSettings: " + s); 956 957 break; 957 958 } -
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r12491 r12620 46 46 import org.openstreetmap.josm.tools.AlphanumComparator; 47 47 import org.openstreetmap.josm.tools.Geometry; 48 import org.openstreetmap.josm.tools.Logging; 48 49 import org.openstreetmap.josm.tools.UncheckedParseException; 49 50 import org.openstreetmap.josm.tools.Utils; … … 112 113 throw new AssertionError("Unknown match factory"); 113 114 if (existing != null) { 114 Main.warn("SearchCompiler: for key ''{0}'', overriding match factory ''{1}'' with ''{2}''", keyword, existing, factory);115 Logging.warn("SearchCompiler: for key ''{0}'', overriding match factory ''{1}'' with ''{2}''", keyword, existing, factory); 115 116 } 116 117 } … … 716 717 } 717 718 } catch (NumberFormatException ignore) { 718 Main.trace(ignore);719 Logging.trace(ignore); 719 720 } 720 721 this.referenceNumber = v; … … 1696 1697 if (!tokenizer.readIfEqual(Token.EOF)) 1697 1698 throw new ParseError(tr("Unexpected token: {0}", tokenizer.nextToken())); 1698 Main.debug("Parsed search expression is {0}", m);1699 Logging.debug("Parsed search expression is {0}", m); 1699 1700 return m; 1700 1701 }
Note:
See TracChangeset
for help on using the changeset viewer.