Changeset 4535 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2011-10-21T19:59:12+02:00 (13 years ago)
Author:
Don-vip
Message:

Fixed another 3 compile warnings. The remaining ones are more tricky.

File:
1 edited

Legend:

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

    r4203 r4535  
    3030        // Here we register callbacks for the menu entries in the system menu
    3131        try {
    32             Class Ccom_apple_eawt_Application = Class.forName("com.apple.eawt.Application");
     32            Class<?> Ccom_apple_eawt_Application = Class.forName("com.apple.eawt.Application");
    3333            Object Ocom_apple_eawt_Application = Ccom_apple_eawt_Application.getConstructor((Class[])null).newInstance((Object[])null);
    34             Class Ccom_apple_eawt_ApplicationListener = Class.forName("com.apple.eawt.ApplicationListener");
     34            Class<?> Ccom_apple_eawt_ApplicationListener = Class.forName("com.apple.eawt.ApplicationListener");
    3535            Method MaddApplicationListener = Ccom_apple_eawt_Application.getDeclaredMethod("addApplicationListener", new Class[] { Ccom_apple_eawt_ApplicationListener });
    3636            Object Oproxy = Proxy.newProxyInstance(PlatformHookOsx.class.getClassLoader(), new Class[] { Ccom_apple_eawt_ApplicationListener }, ivhandler);
Note: See TracChangeset for help on using the changeset viewer.