[kepler-dev] enum warning

Chad Berkley berkley at nceas.ucsb.edu
Thu Nov 3 13:16:54 PST 2005


Hey Ilkay and Nandita,

The file MessageBasedWebService has an import in it that's causing a 
warning with java 1.5.  Here's the message:

compile-dev:
     [javac] Compiling 403 source files to C:\project\kepler\build\classes
     [javac] 
C:\project\kepler\build\src\org\sdm\spa\MessageBasedWebService.java:
87: warning: as of release 1.5, 'enum' is a keyword, and may not be used 
as an identifier
     [javac] (try -source 1.5 to use 'enum' as a keyword)
     [javac] import org.apache.axis.enum.Style;
     [javac]                        ^

I'm not sure you can do anything about it since it's an apache package 
name, but just thought you might want to know it may be a problem in the 
future.

chad


More information about the Kepler-dev mailing list