Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

EventHoverHTMLEvent - GWT Compiler Warning - Referencing deprecated class

$
0
0
hi isomorphic,

i get this gwt compiler warning
Code:

Warnings in 'jar:file:/..../smartgwtpower-4.1p/lib/smartgwtpower.jar!/com/smartgwt/client/widgets/calendar/Calendar.java'
Referencing deprecated class 'com.smartgwt.client.widgets.calendar.events.EventHoverHTMLEvent'

with every build. As you can see -in the ant task javac- I just use the deprecated method Page.RegisterKey and not the class EventHoverHTMLEvent. In my application I use the class EventHoverHTMLEvent never directly.

Code:

Buildfile: C:\Projects\.eclipse372\xxxpay\build.xml
clean:
  [delete] Deleting directory C:\Projects\.eclipse372\xxxpay\war\WEB-INF\classes
  [delete] Deleting directory C:\Projects\.eclipse372\xxxpay\gwt-unitCache
libs:
javac:
    [mkdir] Created dir: C:\Projects\.eclipse372\xxxpay\war\WEB-INF\classes
    [javac] C:\Projects\.eclipse372\xxxpay\build.xml:66: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 112 source files to C:\Projects\.eclipse372\xxxpay\war\WEB-INF\classes
    [javac] C:\Projects\.eclipse372\xxxpay\src\com\xxxpay\client\MainEntryPoint.java:106: warning: [deprecation] registerKey(com.smartgwt.client.core.KeyIdentifier,com.smartgwt.client.util.KeyCallback) in com.smartgwt.client.util.Page has been deprecated
    [javac]                        Page.registerKey(debugKey, new KeyCallback() {
    [javac]                            ^
    [javac] C:\Projects\.eclipse372\xxxpay\src\com\xxxpay\client\test\BuiltInDS.java:66: warning: [deprecation] registerKey(com.smartgwt.client.core.KeyIdentifier,com.smartgwt.client.util.KeyCallback) in com.smartgwt.client.util.Page has been deprecated
    [javac]                Page.registerKey(debugKey, new KeyCallback() {
    [javac]                    ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
    [copy] Copying 155 files to C:\Projects\.eclipse372\xxxpay\war\WEB-INF\classes
gwtc:
    [java] Compiling module com.xxxpay.xxxpay
    [java]    Validating units:
    [java]      [WARN] Warnings in 'jar:file:/C:/Projects/.eclipse372/xxxpay/3rdparty/isomporphic/smartgwtpower-4.1p/lib/smartgwtpower.jar!/com/smartgwt/client/widgets/calendar/Calendar.java'
    [java]          [WARN] Line 3298: Referencing deprecated class 'com.smartgwt.client.widgets.calendar.events.EventHoverHTMLEvent'
    [java]    Compiling 6 permutations
    [java]      Compiling permutation 0...
    [java]      Compiling permutation 1...
    [java]      Compiling permutation 2...
    [java]      Compiling permutation 3...
    [java]      Compiling permutation 4...
    [java]      Compiling permutation 5...
    [java]    Compile of permutations succeeded
    [java] Linking into C:\Projects\.eclipse372\xxxpay\war\xxxpay
    [java]    Link succeeded
    [java]    Compilation succeeded -- 142,246s
build:
BUILD SUCCESSFUL
Total time: 2 minutes 37 seconds

This is just an information to you. I have no problem with that.

i used: Isomorphic SmartClient/SmartGWT Framework (v9.1p_2014-03-11/PowerEdition Deployment 2014-03-11)

Best regards,
Mirko

Viewing all articles
Browse latest Browse all 4756

Trending Articles