ArcBees / gwtquery

A jQuery clone for GWT, and much more.
MIT License
85 stars 38 forks source link

Referencing deprecated methods #372

Open confile opened 8 years ago

confile commented 8 years ago

Using GWT 2.8-Snapshot and Guava 20-Snapshot and gwtquery:1.4.3 I get:

 [WARN] Warnings in '/Users/mg/Documents/Grails/GGTS3.6.4-GWT/majestella-gwt/build/putnami/work/majestella.dashboard.MajestellaDashboard/compile-2/gen/com/google/gwt/query/client/LazyGQueryImpl.java'
               [WARN] Line 539: Referencing method 'com.google.gwt.query.client.GQuery.delegate': method 'com.google.gwt.query.client.GQuery.delegate(Ljava/lang/String;I[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 548: Referencing method 'com.google.gwt.query.client.GQuery.delegate': method 'com.google.gwt.query.client.GQuery.delegate(Ljava/lang/String;ILjava/lang/Object;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 557: Referencing method 'com.google.gwt.query.client.GQuery.delegate': method 'com.google.gwt.query.client.GQuery.delegate(Ljava/lang/String;Ljava/lang/String;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 566: Referencing method 'com.google.gwt.query.client.GQuery.delegate': method 'com.google.gwt.query.client.GQuery.delegate(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 611: Referencing method 'com.google.gwt.query.client.GQuery.die': method 'com.google.gwt.query.client.GQuery.die()' is deprecated
               [WARN] Line 620: Referencing method 'com.google.gwt.query.client.GQuery.die': method 'com.google.gwt.query.client.GQuery.die(I)' is deprecated
               [WARN] Line 1178: Referencing method 'com.google.gwt.query.client.GQuery.live': method 'com.google.gwt.query.client.GQuery.live(I[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 1187: Referencing method 'com.google.gwt.query.client.GQuery.live': method 'com.google.gwt.query.client.GQuery.live(ILjava/lang/Object;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 1196: Referencing method 'com.google.gwt.query.client.GQuery.live': method 'com.google.gwt.query.client.GQuery.live(Ljava/lang/String;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 1205: Referencing method 'com.google.gwt.query.client.GQuery.live': method 'com.google.gwt.query.client.GQuery.live(Ljava/lang/String;Ljava/lang/Object;[Lcom/google/gwt/query/client/Function;)' is deprecated
               [WARN] Line 2411: Referencing method 'com.google.gwt.query.client.GQuery.undelegate': method 'com.google.gwt.query.client.GQuery.undelegate()' is deprecated
               [WARN] Line 2420: Referencing method 'com.google.gwt.query.client.GQuery.undelegate': method 'com.google.gwt.query.client.GQuery.undelegate(Ljava/lang/String;)' is deprecated
               [WARN] Line 2429: Referencing method 'com.google.gwt.query.client.GQuery.undelegate': method 'com.google.gwt.query.client.GQuery.undelegate(Ljava/lang/String;I)' is deprecated
               [WARN] Line 2438: Referencing method 'com.google.gwt.query.client.GQuery.undelegate': method 'com.google.gwt.query.client.GQuery.undelegate(Ljava/lang/String;Ljava/lang/String;)' is deprecated
               See snapshot: /var/folders/xh/1xkfq26532j97q23qw5pdhs40000gn/T/com.google.gwt.query.client.LazyGQueryImpl4180491779789259567.java
         Computing all possible rebind results for 'majestella.shared.client.helper.reltime.i18n.TimeMessages'
            Rebinding majestella.shared.client.helper.reltime.i18n.TimeMessages
               Invoking generator com.google.gwt.i18n.rebind.LocalizableGenerator
                  Processing interface majestella.shared.client.helper.reltime.i18n.TimeMessages
                     Generating method body for weeksPast()
                        [WARN] Plural form 'two' unknown in com.google.gwt.i18n.client.impl.plurals.DefaultRule_en: ignoring
                     Generating method body for weeksFuture()
                        [WARN] Plural form 'two' unknown in com.google.gwt.i18n.client.impl.plurals.DefaultRule_en: ignoring
confile commented 8 years ago

still not resolved.

olafleur commented 8 years ago

Have you tried with GWTQuery 1.5-beta1 ?

meriouma commented 8 years ago

Yes they are in 1.5-beta1 too, those are simply warnings of deprecated methods usage inside GQuery (GQuery uses it's own deprecated methods)

confile commented 8 years ago

Still not working with 1.5-beta1 but it raises another issue. See: https://github.com/ArcBees/gwtquery/issues/373