Changeset 18876 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2023-10-24T15:50:05+02:00 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Functions.java
r18875 r18876 629 629 */ 630 630 public static boolean has_tag_key(final Environment env, String key) { 631 return env.osm != null ?env.osm.hasKey(key): false;631 return env.osm != null && env.osm.hasKey(key); 632 632 } 633 633 … … 852 852 */ 853 853 public static Boolean JOSM_search(final Environment env, String searchStr) { 854 if (env.osm == null) { 855 return null; 856 } 854 857 Match m; 855 858 try {
Note:
See TracChangeset
for help on using the changeset viewer.