Changeset 17676 in josm for trunk


Ignore:
Timestamp:
2021-03-27T15:38:14+01:00 (4 years ago)
Author:
simon04
Message:

PlatformHookOsx: consistently use "macOS"

Location:
trunk/src/org/openstreetmap/josm/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java

    r17488 r17676  
    9696        } catch (ReflectiveOperationException | SecurityException | IllegalArgumentException ex) {
    9797            // We'll just ignore this for now. The user will still be able to close JOSM by closing all its windows.
    98             Logging.warn("Failed to register with OSX: " + ex);
     98            Logging.warn("Failed to register with macOS: " + ex);
    9999        }
    100100        checkExpiredJava(callback);
     
    158158                    Window.class, boolean.class).invoke(eawtFullScreenUtilities, window, Boolean.TRUE);
    159159        } catch (ReflectiveOperationException | SecurityException | IllegalArgumentException e) {
    160             Logging.warn("Failed to register with OSX: " + e);
     160            Logging.warn("Failed to register with macOS: " + e);
    161161        }
    162162    }
     
    171171    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
    172172        if (Logging.isDebugEnabled()) {
    173             Logging.debug("OSX handler: {0} - {1}", method.getName(), Arrays.toString(args));
     173            Logging.debug("macOS handler: {0} - {1}", method.getName(), Arrays.toString(args));
    174174        }
    175175        switch (method.getName()) {
     
    205205            break;
    206206        default:
    207             Logging.warn("OSX unsupported method: "+method.getName());
     207            Logging.warn("macOS unsupported method: "+method.getName());
    208208        }
    209209        return null;
  • trunk/src/org/openstreetmap/josm/tools/Shortcut.java

    r16913 r17676  
    537537                int newmodifier = findNewOsxModifier(requestedGroup);
    538538                if (!findShortcut(requestedKey, newmodifier).isPresent()) {
    539                     Logging.info("Reassigning OSX shortcut '" + shortText + "' from Meta to Ctrl because of conflict with " + conflict);
     539                    Logging.info("Reassigning macOS shortcut '" + shortText + "' from Meta to Ctrl because of conflict with " + conflict);
    540540                    return reassignShortcut(shortText, longText, requestedKey, conflict, requestedGroup, requestedKey, newmodifier);
    541541                }
Note: See TracChangeset for help on using the changeset viewer.