From cfd1a3ffb2119c48fdba28683047ecdcf8b65409 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Fri, 2 Jan 2015 16:27:44 +0100 Subject: [PATCH] Make checkstyle run when validating sources --- gwtquery-core/pom.xml | 13 ++++++++++++- .../java/com/google/gwt/query/client/GQuery.java | 2 -- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gwtquery-core/pom.xml b/gwtquery-core/pom.xml index 65aaf451..0a56bc8c 100644 --- a/gwtquery-core/pom.xml +++ b/gwtquery-core/pom.xml @@ -148,10 +148,21 @@ org.apache.maven.plugins maven-checkstyle-plugin - 2.13 src/main/code-style/gwt-checkstyle.xml + + + checkstyle + validate + + check + + + true + + + diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java index eea88ce4..418bfdb0 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/GQuery.java @@ -13,8 +13,6 @@ */ package com.google.gwt.query.client; -import static com.google.gwt.query.client.GQuery.$; -import static com.google.gwt.query.client.GQuery.document; import static com.google.gwt.query.client.plugins.QueuePlugin.Queue; import com.google.gwt.core.client.GWT; -- 2.39.5