aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2015-01-01 20:03:28 +0100
committerManolo Carrasco <manolo@apache.org>2015-01-01 20:03:28 +0100
commit791e62c0ad78c03228882421a239d71b9f073401 (patch)
treeaef1cba3981ad21e0b1aa247e485b9110e2538f4
parent0f3702eb8108999d364fc288d02023c1d6ec5b8d (diff)
downloadgwtquery-791e62c0ad78c03228882421a239d71b9f073401.tar.gz
gwtquery-791e62c0ad78c03228882421a239d71b9f073401.zip
Organize imports, remove empty lines
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/GQ.java8
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java41
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/Predicate.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/Promise.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/Selector.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/builders/Name.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilder.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilderBase.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundAttachmentProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundImageProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderStyleProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderWidthProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/CSS.java18
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/CaptionSideProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClearProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClipProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/CssProperty.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/DirectionProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/EdgePositionProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/EmptyCellsProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/HeightProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/LetterSpacingProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/LineHeightProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStylePositionProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStyleProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/MarginProperty.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/MultipleValueCssSetter.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/OutlineProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/PaddingProperty.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/PositionProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/SimpleCssSetter.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextAlignProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextDecorationProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextIdentProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextTransformProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/UnicodeBidiProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/UriValue.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/VerticalAlignProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/VisibilityProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/WhiteSpaceProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/WidthProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/css/WordSpacingProperty.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java7
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeIE8.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMin.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMinIE8.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsObjectArray.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java11
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEvents.java9
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java14
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/MousePlugin.java3
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/QueuePlugin.java6
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/UiPlugin.java3
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java6
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/AjaxTransportJs.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Callbacks.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Deferred.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/PromiseReqBuilder.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Fx.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java12
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/TransitionsAnimation.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java7
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/GqEvent.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/ButtonWidgetFactory.java2
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/HtmlPanelWidgetFactory.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/LabelWidgetFactory.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsHtmlPanel.java1
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsUtils.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/BrowserGenerator.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java20
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java18
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/SelectorGeneratorCssToXPath.java18
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/rebind/XmlBuilderGenerator.java4
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/vm/AjaxTransportJre.java16
-rw-r--r--gwtquery-core/src/main/java/com/google/gwt/query/vm/ResponseJre.java6
-rw-r--r--gwtquery-core/src/main/java/com/google/web/bindery/requestfactory/shared/gquery/PromiseRF.java13
83 files changed, 92 insertions, 240 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQ.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQ.java
index b3f7d1ab..9db9ea69 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQ.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQ.java
@@ -15,11 +15,6 @@
*/
package com.google.gwt.query.client;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
-import org.apache.http.MethodNotSupportedException;
-
import com.google.gwt.query.client.builders.JsonBuilder;
import com.google.gwt.query.client.builders.JsonFactory;
import com.google.gwt.query.client.plugins.ajax.Ajax.AjaxTransport;
@@ -27,6 +22,9 @@ import com.google.gwt.query.client.plugins.ajax.AjaxTransportJs;
import com.google.gwt.query.vm.AjaxTransportJre;
import com.google.gwt.query.vm.JsonFactoryJre;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+
/**
* A set of useful methods for gQuery which can be run in browser or JVM.
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
index 18a25709..8addc6db 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/LazyGQuery.java
@@ -12,62 +12,25 @@
* the License.
*/
package com.google.gwt.query.client;
-import static com.google.gwt.query.client.plugins.QueuePlugin.Queue;
-import com.google.gwt.core.client.GWT;
-import com.google.gwt.core.client.JavaScriptObject;
-import com.google.gwt.core.client.JsArray;
-import com.google.gwt.core.client.JsArrayMixed;
-import com.google.gwt.core.client.JsArrayString;
-import com.google.gwt.core.client.ScriptInjector;
-import com.google.gwt.dom.client.BodyElement;
-import com.google.gwt.dom.client.ButtonElement;
-import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.client.InputElement;
import com.google.gwt.dom.client.NativeEvent;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
-import com.google.gwt.dom.client.OptionElement;
-import com.google.gwt.dom.client.SelectElement;
-import com.google.gwt.dom.client.Style.Display;
import com.google.gwt.dom.client.Style.HasCssName;
-import com.google.gwt.dom.client.TextAreaElement;
+import com.google.gwt.query.client.GQuery.Offset;
import com.google.gwt.query.client.css.CSS;
import com.google.gwt.query.client.css.HasCssValue;
import com.google.gwt.query.client.css.TakesCssValue;
import com.google.gwt.query.client.css.TakesCssValue.CssSetter;
-import com.google.gwt.query.client.impl.AttributeImpl;
-import com.google.gwt.query.client.impl.DocumentStyleImpl;
import com.google.gwt.query.client.impl.SelectorEngine;
-import com.google.gwt.query.client.js.JsCache;
-import com.google.gwt.query.client.js.JsMap;
import com.google.gwt.query.client.js.JsNamedArray;
import com.google.gwt.query.client.js.JsNodeArray;
-import com.google.gwt.query.client.js.JsObjectArray;
-import com.google.gwt.query.client.js.JsUtils;
import com.google.gwt.query.client.plugins.Effects;
-import com.google.gwt.query.client.plugins.Events;
-import com.google.gwt.query.client.plugins.Plugin;
-import com.google.gwt.query.client.plugins.Widgets;
-import com.google.gwt.query.client.plugins.ajax.Ajax;
-import com.google.gwt.query.client.plugins.ajax.Ajax.Settings;
-import com.google.gwt.query.client.plugins.deferred.Deferred;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing;
-import com.google.gwt.query.client.plugins.events.EventsListener;
-import com.google.gwt.query.client.plugins.widgets.WidgetsUtils;
-import com.google.gwt.regexp.shared.RegExp;
-import com.google.gwt.user.client.DOM;
-import com.google.gwt.user.client.Event;
-import com.google.gwt.user.client.EventListener;
-import com.google.gwt.user.client.Window;
-import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
-import java.util.ArrayList;
-import java.util.Arrays;
+
import java.util.List;
import java.util.Map;
-import com.google.gwt.query.client.GQuery.*;
-import com.google.gwt.query.client.LazyBase;
public interface LazyGQuery<T> extends LazyBase<T>{
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Predicate.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Predicate.java
index aa17d2b9..796753ce 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Predicate.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Predicate.java
@@ -38,5 +38,4 @@ public class Predicate {
public <T> boolean f(T e, int index) {
return false;
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Promise.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Promise.java
index 2734458e..193ac624 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Promise.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Promise.java
@@ -13,7 +13,6 @@
*/
package com.google.gwt.query.client;
-import com.google.gwt.query.client.Function;
/**
* Definition of jquery Promise interface used in gquery.
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/Selector.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/Selector.java
index fbdcff73..38f51946 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/Selector.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/Selector.java
@@ -16,6 +16,7 @@
package com.google.gwt.query.client;
import static java.lang.annotation.ElementType.METHOD;
+
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/Name.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/Name.java
index 0c75590d..64f44c59 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/Name.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/Name.java
@@ -16,6 +16,7 @@
package com.google.gwt.query.client.builders;
import static java.lang.annotation.ElementType.METHOD;
+
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilder.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilder.java
index 930e7ef9..42ee3af3 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilder.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilder.java
@@ -15,10 +15,10 @@
*/
package com.google.gwt.query.client.builders;
-import java.util.Date;
-
import com.google.gwt.dom.client.Element;
+import java.util.Date;
+
/**
* Tagging interface used to generate XmlBuilder classes.
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilderBase.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilderBase.java
index 82bf32bd..c8a63495 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilderBase.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/builders/XmlBuilderBase.java
@@ -17,8 +17,6 @@ package com.google.gwt.query.client.builders;
import static com.google.gwt.query.client.GQuery.$;
-import java.util.Date;
-
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsDate;
import com.google.gwt.dom.client.Element;
@@ -26,6 +24,8 @@ import com.google.gwt.query.client.GQuery;
import com.google.gwt.query.client.Properties;
import com.google.gwt.query.client.js.JsUtils;
+import java.util.Date;
+
public abstract class XmlBuilderBase<J extends XmlBuilderBase<?>> implements XmlBuilder {
//TODO empty document
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundAttachmentProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundAttachmentProperty.java
index 83e48f3b..6460b350 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundAttachmentProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundAttachmentProperty.java
@@ -60,5 +60,4 @@ public class BackgroundAttachmentProperty extends
private BackgroundAttachmentProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundImageProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundImageProperty.java
index 126f1491..b0924e84 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundImageProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BackgroundImageProperty.java
@@ -29,5 +29,4 @@ public class BackgroundImageProperty extends CssProperty<UriValue> {
private BackgroundImageProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderProperty.java
index 97b79f36..c22973f4 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderProperty.java
@@ -71,5 +71,4 @@ public class BorderProperty implements HasCssValue {
RGBColor borderColor) {
return new MultipleValueCssSetter(getCssName(), borderWidth, borderStyle, borderColor);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderStyleProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderStyleProperty.java
index 714da3f8..385880aa 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderStyleProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderStyleProperty.java
@@ -106,5 +106,4 @@ public class BorderStyleProperty extends
private BorderStyleProperty(String value) {
super(value);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderWidthProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderWidthProperty.java
index be5b478a..51cb8110 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderWidthProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/BorderWidthProperty.java
@@ -46,7 +46,6 @@ public class BorderWidthProperty extends
public String getCssName() {
return name().toLowerCase();
}
-
}
private static final String BORDER_BOTTOM_WIDTH_PROPERTY = "borderBottomWidth";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CSS.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CSS.java
index 1ecf7ebf..f55e648d 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CSS.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CSS.java
@@ -15,37 +15,20 @@
*/
package com.google.gwt.query.client.css;
-import com.google.gwt.dom.client.Style.Cursor;
-import com.google.gwt.dom.client.Style.Display;
-import com.google.gwt.dom.client.Style.FontStyle;
-import com.google.gwt.dom.client.Style.FontWeight;
-import com.google.gwt.dom.client.Style.ListStyleType;
-import com.google.gwt.dom.client.Style.Overflow;
-import com.google.gwt.dom.client.Style.Position;
-import com.google.gwt.dom.client.Style.TextDecoration;
import com.google.gwt.dom.client.Style.VerticalAlign;
-import com.google.gwt.dom.client.Style.Visibility;
import com.google.gwt.query.client.css.BackgroundAttachmentProperty.BackgroundAttachment;
import com.google.gwt.query.client.css.BackgroundPositionProperty.BackgroundPosition;
import com.google.gwt.query.client.css.BackgroundRepeatProperty.BackgroundRepeat;
import com.google.gwt.query.client.css.BorderCollapseProperty.BorderCollapse;
import com.google.gwt.query.client.css.BorderSpacingProperty.BorderSpacing;
-import com.google.gwt.query.client.css.BorderStyleProperty.BorderStyle;
import com.google.gwt.query.client.css.BorderWidthProperty.BorderWidth;
import com.google.gwt.query.client.css.CaptionSideProperty.CaptionSide;
-import com.google.gwt.query.client.css.ClearProperty.Clear;
-import com.google.gwt.query.client.css.ClipProperty.Shape;
-import com.google.gwt.query.client.css.DirectionProperty.Direction;
import com.google.gwt.query.client.css.EmptyCellsProperty.EmptyCells;
-import com.google.gwt.query.client.css.FontSizeProperty.FontSize;
import com.google.gwt.query.client.css.FontVariantProperty.FontVariant;
import com.google.gwt.query.client.css.ListStylePositionProperty.ListStylePosition;
import com.google.gwt.query.client.css.MarginProperty.ShorthandMarginProperty;
import com.google.gwt.query.client.css.PaddingProperty.ShorthandPaddingProperty;
-import com.google.gwt.query.client.css.TextAlignProperty.TextAlign;
-import com.google.gwt.query.client.css.TextTransformProperty.TextTransform;
import com.google.gwt.query.client.css.UnicodeBidiProperty.UnicodeBidi;
-import com.google.gwt.query.client.css.WhiteSpaceProperty.WhiteSpace;
/**
* This class lists all CSS properties.
@@ -1315,5 +1298,4 @@ public class CSS {
ZIndexProperty.init();
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CaptionSideProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CaptionSideProperty.java
index a1fdce0a..ecb6cc93 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CaptionSideProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CaptionSideProperty.java
@@ -63,5 +63,4 @@ public class CaptionSideProperty extends
private CaptionSideProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClearProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClearProperty.java
index 97cfa4f6..a69c3a78 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClearProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClearProperty.java
@@ -52,7 +52,6 @@ public class ClearProperty extends CssProperty<ClearProperty.Clear> {
public String getCssName() {
return name().toLowerCase();
}
-
}
private static final String CSS_PROPERTY = "clear";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClipProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClipProperty.java
index 83dfb09e..e985ea5c 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClipProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ClipProperty.java
@@ -48,7 +48,6 @@ public class ClipProperty extends CssProperty<ClipProperty.Shape> {
public String getCssName() {
return value;
}
-
}
private static final String CSS_PROPERTY = "clip";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CssProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CssProperty.java
index 59cfc0c3..342c67b6 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CssProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/CssProperty.java
@@ -20,7 +20,7 @@ import com.google.gwt.dom.client.Style;
import com.google.gwt.dom.client.Style.HasCssName;
/**
- * Base class for Css property
+ * Base class for Css property.
*
* @param <T> Class of the value associated with the css property
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/DirectionProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/DirectionProperty.java
index 601ace2a..dd6a5a8f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/DirectionProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/DirectionProperty.java
@@ -46,7 +46,6 @@ public class DirectionProperty extends
public String getCssName() {
return name().toLowerCase();
}
-
}
private static final String CSS_PROPERTY = "direction";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EdgePositionProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EdgePositionProperty.java
index 54b3fda3..c2066bcb 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EdgePositionProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EdgePositionProperty.java
@@ -30,5 +30,4 @@ public class EdgePositionProperty extends CssProperty<Length> {
private EdgePositionProperty(String value) {
super(value);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EmptyCellsProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EmptyCellsProperty.java
index e31746a7..55c8926f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EmptyCellsProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/EmptyCellsProperty.java
@@ -55,5 +55,4 @@ public class EmptyCellsProperty extends
private EmptyCellsProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/HeightProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/HeightProperty.java
index 5ffcced5..3aa8e163 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/HeightProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/HeightProperty.java
@@ -34,5 +34,4 @@ public class HeightProperty extends CssProperty<Length> {
private HeightProperty(String cssName) {
super(cssName);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LetterSpacingProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LetterSpacingProperty.java
index a5e7286b..adf0a09c 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LetterSpacingProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LetterSpacingProperty.java
@@ -30,5 +30,4 @@ public class LetterSpacingProperty extends CssProperty<Length> {
private LetterSpacingProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LineHeightProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LineHeightProperty.java
index 112a1373..70b35cc6 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LineHeightProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/LineHeightProperty.java
@@ -57,5 +57,4 @@ public class LineHeightProperty extends CssProperty<Length> implements
public CssSetter with(Double value) {
return new SimpleCssSetter(CSS_PROPERTY, value != null ? "" + value : null);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStylePositionProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStylePositionProperty.java
index 0fcb4c2e..cbac528e 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStylePositionProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStylePositionProperty.java
@@ -45,7 +45,6 @@ public class ListStylePositionProperty extends
public String getCssName() {
return name().toLowerCase();
}
-
}
private static final String CSS_PROPERTY = "listStylePosition";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStyleProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStyleProperty.java
index 5eed56a8..4410ff75 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStyleProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/ListStyleProperty.java
@@ -52,5 +52,4 @@ public class ListStyleProperty implements HasCssValue {
return new MultipleValueCssSetter(CSS_PROPERTY, listStyleType,
listStylePosition, listStyleImage);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MarginProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MarginProperty.java
index 00a5b16e..a6cf8e41 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MarginProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MarginProperty.java
@@ -70,7 +70,6 @@ public class MarginProperty extends CssProperty<Length> {
margin3, margin4);
}
-
}
private static String MARGIN_BOTTOM_PROPERTY = "marginBottom";
@@ -90,5 +89,4 @@ public class MarginProperty extends CssProperty<Length> {
private MarginProperty(String cssName) {
super(cssName);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MultipleValueCssSetter.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MultipleValueCssSetter.java
index a7dd7765..50305d01 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MultipleValueCssSetter.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/MultipleValueCssSetter.java
@@ -36,5 +36,4 @@ public class MultipleValueCssSetter extends SimpleCssSetter {
private static String notNull(HasCssName value) {
return value != null ? value.getCssName() + " " : "";
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/OutlineProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/OutlineProperty.java
index a723349a..848750fc 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/OutlineProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/OutlineProperty.java
@@ -59,5 +59,4 @@ public class OutlineProperty implements
Length outlineWidth) {
return new MultipleValueCssSetter(CSS_PROPERTY, outlineColor, outlineStyle, outlineWidth);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PaddingProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PaddingProperty.java
index 47474848..8dbca5d3 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PaddingProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PaddingProperty.java
@@ -72,7 +72,6 @@ public class PaddingProperty extends CssProperty<Length> {
padding3, padding4);
}
-
}
private static String PADDING_BOTTOM_PROPERTY = "paddingBottom";
@@ -92,5 +91,4 @@ public class PaddingProperty extends CssProperty<Length> {
private PaddingProperty(String cssName) {
super(cssName);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PositionProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PositionProperty.java
index c89697c3..e01fc35b 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PositionProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/PositionProperty.java
@@ -32,5 +32,4 @@ public class PositionProperty extends CssProperty<Position> {
private PositionProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/SimpleCssSetter.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/SimpleCssSetter.java
index 03297f7c..468a1edf 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/SimpleCssSetter.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/SimpleCssSetter.java
@@ -43,5 +43,4 @@ public class SimpleCssSetter implements CssSetter {
e.getStyle().setProperty(property, value != null ? value : "");
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextAlignProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextAlignProperty.java
index bd245ae9..64101e8f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextAlignProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextAlignProperty.java
@@ -66,5 +66,4 @@ public class TextAlignProperty extends
private TextAlignProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextDecorationProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextDecorationProperty.java
index e89a9ec8..c6b37f60 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextDecorationProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextDecorationProperty.java
@@ -41,5 +41,4 @@ public class TextDecorationProperty extends CssProperty<TextDecoration> {
private TextDecorationProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextIdentProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextIdentProperty.java
index b7c1deb7..958932af 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextIdentProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextIdentProperty.java
@@ -33,5 +33,4 @@ public class TextIdentProperty extends CssProperty<Length> {
private TextIdentProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextTransformProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextTransformProperty.java
index 5d80ca34..c54f9266 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextTransformProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/TextTransformProperty.java
@@ -55,5 +55,4 @@ public class TextTransformProperty extends
private TextTransformProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UnicodeBidiProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UnicodeBidiProperty.java
index 9d017cc8..df0a3d9f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UnicodeBidiProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UnicodeBidiProperty.java
@@ -63,7 +63,6 @@ public class UnicodeBidiProperty extends
public String getCssName() {
return name().toLowerCase().replace('_', '-');
}
-
}
private static final String CSS_PROPERTY = "unicodeBidi";
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UriValue.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UriValue.java
index b5ae719e..fb03f115 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UriValue.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/UriValue.java
@@ -38,5 +38,4 @@ public class UriValue implements HasCssName {
public String getCssName() {
return value;
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VerticalAlignProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VerticalAlignProperty.java
index 85a60f19..f7aac5d4 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VerticalAlignProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VerticalAlignProperty.java
@@ -37,5 +37,4 @@ public class VerticalAlignProperty extends CssProperty<VerticalAlign>
public CssSetter with(Length value) {
return new SimpleCssSetter(this, value);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VisibilityProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VisibilityProperty.java
index 8cb4c59e..c54e1c76 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VisibilityProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/VisibilityProperty.java
@@ -33,5 +33,4 @@ public class VisibilityProperty extends CssProperty<Visibility> {
private VisibilityProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WhiteSpaceProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WhiteSpaceProperty.java
index d944f0b9..6821b085 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WhiteSpaceProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WhiteSpaceProperty.java
@@ -73,5 +73,4 @@ public class WhiteSpaceProperty extends
private WhiteSpaceProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WidthProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WidthProperty.java
index 865eae3c..2cfff008 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WidthProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WidthProperty.java
@@ -33,5 +33,4 @@ public class WidthProperty extends CssProperty<Length> {
private WidthProperty(String cssName) {
super(cssName);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WordSpacingProperty.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WordSpacingProperty.java
index c5552cd3..e62a6aad 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WordSpacingProperty.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/css/WordSpacingProperty.java
@@ -29,5 +29,4 @@ public class WordSpacingProperty extends CssProperty<Length> {
private WordSpacingProperty() {
super(CSS_PROPERTY);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java
index 967961e8..858ee141 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java
@@ -15,9 +15,8 @@
*/
package com.google.gwt.query.client.impl;
-import static com.google.gwt.query.client.GQuery.*;
-
-import java.util.HashSet;
+import static com.google.gwt.query.client.GQuery.document;
+import static com.google.gwt.query.client.GQuery.window;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Document;
@@ -32,6 +31,8 @@ import com.google.gwt.query.client.js.JsUtils;
import com.google.gwt.regexp.shared.MatchResult;
import com.google.gwt.regexp.shared.RegExp;
+import java.util.HashSet;
+
/**
* Core Selector engine functions, and native JS utility functions.
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java
index e5fa3fa4..2492214d 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java
@@ -17,8 +17,6 @@ package com.google.gwt.query.client.impl;
import static com.google.gwt.query.client.GQuery.console;
-import java.util.ArrayList;
-
import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.dom.client.Element;
@@ -30,6 +28,8 @@ import com.google.gwt.query.client.js.JsUtils;
import com.google.gwt.regexp.shared.MatchResult;
import com.google.gwt.regexp.shared.RegExp;
+import java.util.ArrayList;
+
/**
* Runtime selector engine implementation which translates selectors to XPath
* and delegates to document.evaluate().
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeIE8.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeIE8.java
index 42c8dcfe..5d16d57c 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeIE8.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeIE8.java
@@ -42,5 +42,4 @@ public class SelectorEngineNativeIE8 extends SelectorEngineSizzleIE {
}
}
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMin.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMin.java
index efc930eb..100d9e85 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMin.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMin.java
@@ -40,5 +40,4 @@ public class SelectorEngineNativeMin extends SelectorEngineImpl {
return null;
}
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMinIE8.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMinIE8.java
index 604ce517..c0bfbdad 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMinIE8.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNativeMinIE8.java
@@ -17,7 +17,6 @@ package com.google.gwt.query.client.impl;
import static com.google.gwt.query.client.GQuery.console;
-import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Node;
import com.google.gwt.dom.client.NodeList;
@@ -41,5 +40,4 @@ public class SelectorEngineNativeMinIE8 extends SelectorEngineImpl {
return null;
}
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java
index 9a1591a9..718883bc 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzle.java
@@ -1037,7 +1037,6 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
match = true;
break;
}
-
} else if ( GQS.filter( cur, [elem] ).length > 0 ) {
match = elem;
break;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
index 741c785a..b4130f97 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineSizzleIE.java
@@ -879,7 +879,6 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {
match = true;
break;
}
-
} else if ( IES.filter( cur, [elem] ).length > 0 ) {
match = elem;
break;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsObjectArray.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsObjectArray.java
index c5a6062c..022d42a1 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsObjectArray.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsObjectArray.java
@@ -85,5 +85,4 @@ public final class JsObjectArray<T> extends JavaScriptObject {
public Object[] elements() {
return c().elements();
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java
index 82e2ae79..f59a2b75 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/js/JsUtils.java
@@ -19,7 +19,6 @@ import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayMixed;
-import com.google.gwt.core.client.JsArrayString;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Node;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java
index 1b7d90bf..5178862d 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEffects.java
@@ -14,19 +14,10 @@
* the License.
*/
package com.google.gwt.query.client.plugins;
-import com.google.gwt.animation.client.Animation;
-import com.google.gwt.dom.client.Element;
import com.google.gwt.query.client.Function;
-import com.google.gwt.query.client.GQuery;
+import com.google.gwt.query.client.LazyBase;
import com.google.gwt.query.client.Properties;
-import com.google.gwt.query.client.plugins.effects.ClipAnimation;
-import com.google.gwt.query.client.plugins.effects.ClipAnimation.Direction;
-import com.google.gwt.query.client.plugins.effects.Fx;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing;
-import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.EasingCurve;
-import com.google.gwt.query.client.plugins.effects.TransitionsAnimation.TransitionsClipAnimation;
-import com.google.gwt.query.client.GQuery.*;
-import com.google.gwt.query.client.LazyBase;
public interface LazyEffects<T> extends LazyBase<T>{
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEvents.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEvents.java
index 081e1702..7ba49eed 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEvents.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyEvents.java
@@ -12,18 +12,9 @@
* the License.
*/
package com.google.gwt.query.client.plugins;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.client.FormElement;
import com.google.gwt.dom.client.NativeEvent;
-import com.google.gwt.dom.client.Node;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQuery;
-import com.google.gwt.query.client.js.JsUtils;
-import com.google.gwt.query.client.plugins.events.EventsListener;
-import com.google.gwt.query.client.plugins.events.EventsListener.SpecialEvent;
-import com.google.gwt.query.client.plugins.events.GqEvent;
-import com.google.gwt.user.client.Event;
-import com.google.gwt.query.client.GQuery.*;
import com.google.gwt.query.client.LazyBase;
public interface LazyEvents<T> extends LazyBase<T>{
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java
index 8c40c293..fac96f09 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/LazyWidgets.java
@@ -14,27 +14,15 @@
* the License.
*/
package com.google.gwt.query.client.plugins;
-import java.util.ArrayList;
-import java.util.List;
-import com.google.gwt.dom.client.Element;
-import com.google.gwt.query.client.GQuery;
-import com.google.gwt.query.client.plugins.widgets.ButtonWidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.HtmlPanelWidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.LabelWidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.PasswordTextBoxWidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.TextAreaWidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.TextBoxWidgetFactory;
+import com.google.gwt.query.client.LazyBase;
import com.google.gwt.query.client.plugins.widgets.WidgetFactory;
import com.google.gwt.query.client.plugins.widgets.WidgetInitializer;
-import com.google.gwt.query.client.plugins.widgets.WidgetsUtils;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
-import com.google.gwt.query.client.GQuery.*;
-import com.google.gwt.query.client.LazyBase;
public interface LazyWidgets<T> extends LazyBase<T>{
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/MousePlugin.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/MousePlugin.java
index 9dbbc671..c7b8f67d 100755
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/MousePlugin.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/MousePlugin.java
@@ -96,7 +96,6 @@ public abstract class MousePlugin extends UiPlugin {
}
});
}
-
}
/**
@@ -255,7 +254,6 @@ public abstract class MousePlugin extends UiPlugin {
});
}
-
}
private boolean delayConditionMet() {
@@ -333,5 +331,4 @@ public abstract class MousePlugin extends UiPlugin {
return e.getClientY();
}
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/QueuePlugin.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/QueuePlugin.java
index 89822ef0..fe384dd3 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/QueuePlugin.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/QueuePlugin.java
@@ -15,9 +15,6 @@
*/
package com.google.gwt.query.client.plugins;
-import java.util.LinkedList;
-import java.util.Queue;
-
import com.google.gwt.dom.client.Element;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQuery;
@@ -25,6 +22,9 @@ import com.google.gwt.query.client.Promise;
import com.google.gwt.query.client.plugins.deferred.Callbacks;
import com.google.gwt.user.client.Timer;
+import java.util.LinkedList;
+import java.util.Queue;
+
/**
* Class used in plugins which need a queue system.
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/UiPlugin.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/UiPlugin.java
index eb589bbd..d2f01187 100755
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/UiPlugin.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/UiPlugin.java
@@ -111,7 +111,6 @@ public class UiPlugin extends GQuery {
+ e.css("overflow-y", true);
return overflow.contains("auto") || overflow.contains("scroll");
}
-
}
@SuppressWarnings("unused")
@@ -123,7 +122,6 @@ public class UiPlugin extends GQuery {
return ("absolute".equals(position) || "relative".equals(position) || "static"
.equals(position));
}
-
}
public static Class<UiPlugin> GQueryUi = UiPlugin.class;
@@ -176,5 +174,4 @@ public class UiPlugin extends GQuery {
protected void trigger(GwtEvent<?> e, Function callback, Element element) {
trigger(e, callback, element, eventBus);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java
index 2eaf38c2..352e0e04 100755
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Widgets.java
@@ -15,9 +15,6 @@
*/
package com.google.gwt.query.client.plugins;
-import java.util.ArrayList;
-import java.util.List;
-
import com.google.gwt.dom.client.Element;
import com.google.gwt.query.client.GQuery;
import com.google.gwt.query.client.plugins.widgets.ButtonWidgetFactory;
@@ -36,6 +33,9 @@ import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Widget;
+import java.util.ArrayList;
+import java.util.List;
+
/**
* Widgets plugin for Gwt Query. Be careful, this plugin is still experimental.
* The api can change in next releases.
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
index 4fc1cba7..394ec58f 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/Ajax.java
@@ -21,10 +21,10 @@ import com.google.gwt.core.client.ScriptInjector;
import com.google.gwt.dom.client.Element;
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.Response;
-import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQ;
import com.google.gwt.query.client.GQuery;
+import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.Promise;
import com.google.gwt.query.client.builders.JsonBuilder;
import com.google.gwt.query.client.js.JsUtils;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/AjaxTransportJs.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/AjaxTransportJs.java
index 8ab32ac6..07c204ea 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/AjaxTransportJs.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/ajax/AjaxTransportJs.java
@@ -62,5 +62,4 @@ public class AjaxTransportJs implements AjaxTransport {
public Promise getXhr(Settings settings) {
return new PromiseReqBuilder(settings);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Callbacks.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Callbacks.java
index 24654b53..ce0112e1 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Callbacks.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Callbacks.java
@@ -13,12 +13,12 @@
*/
package com.google.gwt.query.client.plugins.deferred;
+import com.google.gwt.query.client.Function;
+
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
-import com.google.gwt.query.client.Function;
-
/**
* Implementation of jQuery.Callbacks for gwtquery.
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Deferred.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Deferred.java
index 91c899a5..5cc99f03 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Deferred.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/Deferred.java
@@ -15,7 +15,9 @@
*/
package com.google.gwt.query.client.plugins.deferred;
-import static com.google.gwt.query.client.Promise.*;
+import static com.google.gwt.query.client.Promise.PENDING;
+import static com.google.gwt.query.client.Promise.REJECTED;
+import static com.google.gwt.query.client.Promise.RESOLVED;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQuery;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/PromiseReqBuilder.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/PromiseReqBuilder.java
index 9f72b1b5..14ff309b 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/PromiseReqBuilder.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/deferred/PromiseReqBuilder.java
@@ -36,8 +36,8 @@ import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.RequestPermissionException;
import com.google.gwt.http.client.Response;
-import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.Function;
+import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.js.JsCache;
import com.google.gwt.query.client.js.JsUtils;
import com.google.gwt.query.client.plugins.ajax.Ajax.Settings;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Fx.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Fx.java
index ddb865ab..3ece61d6 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Fx.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Fx.java
@@ -246,7 +246,6 @@ public class Fx {
}
return result;
}
-
}
public String cssprop;
@@ -288,5 +287,4 @@ public class Fx {
+ " value=" + value + " start=" + start + " end="
+ end + " unit=" + unit).replaceAll("\\.0([^\\d])", "$1");
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
index 0c9d109c..2c4c6f76 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java
@@ -365,5 +365,4 @@ public class PropertiesAnimation extends GQAnimation {
protected double interpolate(double progress) {
return easing.interpolate(progress);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java
index 693990d5..d5f15bbe 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java
@@ -28,12 +28,6 @@
*/
package com.google.gwt.query.client.plugins.effects;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map.Entry;
-
import com.google.gwt.core.client.Duration;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style;
@@ -49,6 +43,12 @@ import com.google.gwt.regexp.shared.RegExp;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Timer;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map.Entry;
+
/**
* Transitions and transformation plugin for gQuery.
*
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/TransitionsAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/TransitionsAnimation.java
index a671d92e..9cc24342 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/TransitionsAnimation.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/TransitionsAnimation.java
@@ -183,7 +183,6 @@ public class TransitionsAnimation extends PropertiesAnimation {
trsStart = "" + start;
g.css(key, start + unit);
}
-
} else {
trsStart = "";
trsEnd = val;
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java
index fbc25013..0b6478a5 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/EventsListener.java
@@ -13,6 +13,8 @@
*/
package com.google.gwt.query.client.plugins.events;
+import static com.google.gwt.query.client.GQuery.$;
+
import com.google.gwt.core.client.Duration;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.EventTarget;
@@ -31,8 +33,6 @@ import com.google.gwt.user.client.EventListener;
import java.util.ArrayList;
import java.util.List;
-import static com.google.gwt.query.client.GQuery.$;
-
/**
* This class implements an event queue instance for one Element. The queue instance is configured
* as the default event listener in GWT.
@@ -324,7 +324,6 @@ public class EventsListener implements EventListener {
if (newFunctions.length() > 0) {
bindFunctionBySelector.put(cssSelector, newFunctions);
}
-
}
}
@@ -370,7 +369,6 @@ public class EventsListener implements EventListener {
return Element.as(eventTarget);
}
-
}
public static final String EVENT_DATA = "___event_datas";
@@ -553,7 +551,6 @@ public class EventsListener implements EventListener {
die(b, nameSpace, eventName, originalEventName, cssSelector);
}
-
}
public void die(int eventbits, String nameSpace, String eventName, String originalEventName,
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/GqEvent.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/GqEvent.java
index 5c8f071a..ed4da4db 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/GqEvent.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/events/GqEvent.java
@@ -115,5 +115,4 @@ public class GqEvent extends Event {
return getClientY() + GQuery.document.getScrollTop();
}
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/ButtonWidgetFactory.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/ButtonWidgetFactory.java
index c1d5c32c..9abb5a96 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/ButtonWidgetFactory.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/ButtonWidgetFactory.java
@@ -17,8 +17,6 @@ package com.google.gwt.query.client.plugins.widgets;
import com.google.gwt.dom.client.ButtonElement;
import com.google.gwt.dom.client.Element;
-import com.google.gwt.query.client.plugins.widgets.WidgetFactory;
-import com.google.gwt.query.client.plugins.widgets.WidgetsUtils;
import com.google.gwt.user.client.ui.Button;
/**
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/HtmlPanelWidgetFactory.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/HtmlPanelWidgetFactory.java
index 4e3ad447..527b2de3 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/HtmlPanelWidgetFactory.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/HtmlPanelWidgetFactory.java
@@ -23,5 +23,4 @@ public class HtmlPanelWidgetFactory implements WidgetFactory<HTMLPanel> {
public HTMLPanel create(Element e) {
return new WidgetsHtmlPanel(e);
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/LabelWidgetFactory.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/LabelWidgetFactory.java
index 51a05174..b7c4bad9 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/LabelWidgetFactory.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/LabelWidgetFactory.java
@@ -26,5 +26,4 @@ public class LabelWidgetFactory implements WidgetFactory<Label> {
WidgetsUtils.replaceOrAppend(e, label);
return label;
}
-
}
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsHtmlPanel.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsHtmlPanel.java
index 657f1ff6..9aa350e8 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsHtmlPanel.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsHtmlPanel.java
@@ -110,7 +110,6 @@ public class WidgetsHtmlPanel extends HTMLPanel {
if (RootPanel.isInDetachList(w)) {
RootPanel.detachNow(w);
}
-
} else if (parent instanceof HTMLPanel) {
WidgetsUtils.doLogicalDetachFromHtmlPanel(w);
} else {
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsUtils.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsUtils.java
index 200cb8c9..b7da510a 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsUtils.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/widgets/WidgetsUtils.java
@@ -17,8 +17,6 @@ package com.google.gwt.query.client.plugins.widgets;
import static com.google.gwt.query.client.GQuery.$;
-import java.util.Iterator;
-
import com.google.gwt.dom.client.BodyElement;
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
@@ -35,6 +33,8 @@ import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.WidgetCollection;
+import java.util.Iterator;
+
public class WidgetsUtils {
static final String[] appendingTags = {
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/BrowserGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/BrowserGenerator.java
index 861f6c19..403fd60a 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/BrowserGenerator.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/BrowserGenerator.java
@@ -15,8 +15,6 @@
*/
package com.google.gwt.query.rebind;
-import java.io.PrintWriter;
-
import com.google.gwt.core.ext.BadPropertyValueException;
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
@@ -28,6 +26,8 @@ import com.google.gwt.core.ext.typeinfo.TypeOracle;
import com.google.gwt.user.rebind.ClassSourceFileComposerFactory;
import com.google.gwt.user.rebind.SourceWriter;
+import java.io.PrintWriter;
+
/**
* Creates an implementation for {@link Browser}
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java
index 4231fd2e..6c650c82 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java
@@ -15,16 +15,6 @@
*/
package com.google.gwt.query.rebind;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.net.HttpURLConnection;
-import java.net.URL;
-import java.util.zip.GZIPInputStream;
-import java.util.zip.InflaterInputStream;
-
-import org.apache.commons.io.output.ByteArrayOutputStream;
-
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
import com.google.gwt.core.ext.TreeLogger;
@@ -38,6 +28,16 @@ import com.google.gwt.query.client.builders.JsniBundle.MethodSource;
import com.google.gwt.user.rebind.ClassSourceFileComposerFactory;
import com.google.gwt.user.rebind.SourceWriter;
+import org.apache.commons.io.output.ByteArrayOutputStream;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.PrintWriter;
+import java.net.HttpURLConnection;
+import java.net.URL;
+import java.util.zip.GZIPInputStream;
+import java.util.zip.InflaterInputStream;
+
/**
* Generates an implementation of a user-defined interface <code>T</code> that
* extends {@link JsniBundle}.
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java
index 7151ef41..421bac35 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsonBuilderGenerator.java
@@ -15,14 +15,6 @@
*/
package com.google.gwt.query.rebind;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Set;
-
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
@@ -37,8 +29,8 @@ import com.google.gwt.core.ext.typeinfo.JParameterizedType;
import com.google.gwt.core.ext.typeinfo.JType;
import com.google.gwt.core.ext.typeinfo.TypeOracle;
import com.google.gwt.query.client.Function;
-import com.google.gwt.query.client.Properties;
import com.google.gwt.query.client.IsProperties;
+import com.google.gwt.query.client.Properties;
import com.google.gwt.query.client.builders.JsonBuilder;
import com.google.gwt.query.client.builders.JsonBuilderBase;
import com.google.gwt.query.client.builders.JsonFactory;
@@ -47,6 +39,14 @@ import com.google.gwt.query.client.js.JsUtils;
import com.google.gwt.user.rebind.ClassSourceFileComposerFactory;
import com.google.gwt.user.rebind.SourceWriter;
+import java.io.PrintWriter;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
/**
*/
public class JsonBuilderGenerator extends Generator {
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/SelectorGeneratorCssToXPath.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/SelectorGeneratorCssToXPath.java
index 45b1a848..740bf26a 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/SelectorGeneratorCssToXPath.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/SelectorGeneratorCssToXPath.java
@@ -15,15 +15,6 @@
*/
package com.google.gwt.query.rebind;
-import java.util.ArrayList;
-import java.util.regex.MatchResult;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import javax.xml.xpath.XPath;
-import javax.xml.xpath.XPathExpressionException;
-import javax.xml.xpath.XPathFactory;
-
import com.google.gwt.core.ext.TreeLogger;
import com.google.gwt.core.ext.UnableToCompleteException;
import com.google.gwt.core.ext.typeinfo.JMethod;
@@ -33,6 +24,15 @@ import com.google.gwt.query.client.impl.SelectorEngineCssToXPath.ReplaceCallback
import com.google.gwt.query.client.impl.SelectorEngineCssToXPath.Replacer;
import com.google.gwt.user.rebind.SourceWriter;
+import java.util.ArrayList;
+import java.util.regex.MatchResult;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+import javax.xml.xpath.XPath;
+import javax.xml.xpath.XPathExpressionException;
+import javax.xml.xpath.XPathFactory;
+
/**
* Compile time selector generator which translates selector into XPath at
* compile time. It Uses the SelectorEngineCssToXpath to produce the xpath
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/XmlBuilderGenerator.java b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/XmlBuilderGenerator.java
index e5d195b7..b35b1ab6 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/rebind/XmlBuilderGenerator.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/rebind/XmlBuilderGenerator.java
@@ -15,8 +15,6 @@
*/
package com.google.gwt.query.rebind;
-import java.io.PrintWriter;
-
import com.google.gwt.core.ext.Generator;
import com.google.gwt.core.ext.GeneratorContext;
import com.google.gwt.core.ext.TreeLogger;
@@ -33,6 +31,8 @@ import com.google.gwt.query.client.builders.XmlBuilder;
import com.google.gwt.user.rebind.ClassSourceFileComposerFactory;
import com.google.gwt.user.rebind.SourceWriter;
+import java.io.PrintWriter;
+
/**
*/
public class XmlBuilderGenerator extends Generator {
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/vm/AjaxTransportJre.java b/gwtquery-core/src/main/java/com/google/gwt/query/vm/AjaxTransportJre.java
index 9f496da3..6ef405aa 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/vm/AjaxTransportJre.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/vm/AjaxTransportJre.java
@@ -17,25 +17,25 @@ package com.google.gwt.query.vm;
// import org.apache.http.impl.client.HttpClientBuilder;
-import java.io.BufferedReader;
-import java.io.DataOutputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.HttpURLConnection;
-import java.net.URL;
-
import com.google.gwt.http.client.RequestException;
import com.google.gwt.http.client.Response;
-import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.Function;
import com.google.gwt.query.client.GQ;
import com.google.gwt.query.client.GQuery;
+import com.google.gwt.query.client.IsProperties;
import com.google.gwt.query.client.Promise;
import com.google.gwt.query.client.plugins.ajax.Ajax.AjaxTransport;
import com.google.gwt.query.client.plugins.ajax.Ajax.Settings;
import com.google.gwt.query.client.plugins.deferred.PromiseFunction;
import com.google.gwt.user.server.Base64Utils;
+import java.io.BufferedReader;
+import java.io.DataOutputStream;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.net.HttpURLConnection;
+import java.net.URL;
+
/**
*
*/
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/vm/ResponseJre.java b/gwtquery-core/src/main/java/com/google/gwt/query/vm/ResponseJre.java
index ea42a2d1..2d4556b1 100644
--- a/gwtquery-core/src/main/java/com/google/gwt/query/vm/ResponseJre.java
+++ b/gwtquery-core/src/main/java/com/google/gwt/query/vm/ResponseJre.java
@@ -15,12 +15,12 @@
*/
package com.google.gwt.query.vm;
-import java.util.List;
-import java.util.Map;
-
import com.google.gwt.http.client.Header;
import com.google.gwt.http.client.Response;
+import java.util.List;
+import java.util.Map;
+
/**
* Implementation of `Response` in the JVM
*/
diff --git a/gwtquery-core/src/main/java/com/google/web/bindery/requestfactory/shared/gquery/PromiseRF.java b/gwtquery-core/src/main/java/com/google/web/bindery/requestfactory/shared/gquery/PromiseRF.java
index 6951b005..83812146 100644
--- a/gwtquery-core/src/main/java/com/google/web/bindery/requestfactory/shared/gquery/PromiseRF.java
+++ b/gwtquery-core/src/main/java/com/google/web/bindery/requestfactory/shared/gquery/PromiseRF.java
@@ -13,19 +13,18 @@
*/
package com.google.web.bindery.requestfactory.shared.gquery;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Set;
-
-import javax.validation.ConstraintViolation;
-
-import com.google.gwt.query.client.plugins.deferred.Deferred;
import com.google.gwt.query.client.plugins.deferred.Deferred.DeferredPromiseImpl;
import com.google.web.bindery.requestfactory.shared.Receiver;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.ServerFailure;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Set;
+
+import javax.validation.ConstraintViolation;
+
/**
* Utility class used to create promises for RequestFactory services.
* <pre>