Changeset 4535 in josm


Ignore:
Timestamp:
Oct 21, 2011 7:59:12 PM (19 months 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.