Changeset 8377 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-05-17T04:02:42+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java
r7894 r8377 80 80 Class<?> eawtFullScreenUtilities = Class.forName("com.apple.eawt.FullScreenUtilities"); 81 81 eawtFullScreenUtilities.getDeclaredMethod("setWindowCanFullScreen", 82 new Class[]{Window.class, boolean.class}).invoke(eawtFullScreenUtilities, window, true);82 new Class[]{Window.class, boolean.class}).invoke(eawtFullScreenUtilities, window, Boolean.TRUE); 83 83 } catch (ReflectiveOperationException | SecurityException | IllegalArgumentException e) { 84 84 Main.warn("Failed to register with OSX: " + e); -
trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java
r8126 r8377 29 29 for (Area a : leftHandTrafficPolygons) { 30 30 if (a.contains(ll.lon(), ll.lat())) 31 return true;31 return Boolean.TRUE; 32 32 } 33 return false;33 return Boolean.FALSE; 34 34 } 35 35 … … 40 40 PolygonIntersection is = Geometry.polygonIntersection(abox, a, 1e-10 /* using deg and not meters */); 41 41 if (is == PolygonIntersection.FIRST_INSIDE_SECOND) 42 return true;42 return Boolean.TRUE; 43 43 if (is != PolygonIntersection.OUTSIDE) 44 44 return null; 45 45 } 46 return false;46 return Boolean.FALSE; 47 47 } 48 48 }
Note:
See TracChangeset
for help on using the changeset viewer.