From 749e54544804dffe6395cdd556d70fd856f423a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacio=20Domingo=20Mart=C3=ADnez?= Date: Thu, 26 Nov 2015 10:00:22 +0100 Subject: [PATCH] style: remove unused imports and standardized indentation remove unused imports and standardized indentation --- src/main/java/com/rometools/modules/base/GoogleBaseImpl.java | 2 +- .../com/rometools/modules/base/io/GoogleBaseGenerator.java | 2 +- src/main/java/com/rometools/modules/cc/types/License.java | 3 +-- src/main/java/com/rometools/modules/georss/GeoRSSModule.java | 3 +-- .../modules/opensearch/impl/OpenSearchModuleImpl.java | 3 +-- src/main/java/com/rometools/modules/sse/modules/Conflict.java | 3 +-- src/main/java/com/rometools/modules/sse/modules/SSEModule.java | 2 +- 7 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java b/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java index 5c5004f..e4ee8e9 100644 --- a/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java +++ b/src/main/java/com/rometools/modules/base/GoogleBaseImpl.java @@ -72,7 +72,7 @@ public class GoogleBaseImpl implements GoogleBase { */ private static final long serialVersionUID = 1L; - private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseImpl.class); + private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseImpl.class); /** boolean:listing_type */ private Boolean listingType; diff --git a/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java b/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java index 4795295..88bc878 100644 --- a/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java +++ b/src/main/java/com/rometools/modules/base/io/GoogleBaseGenerator.java @@ -75,7 +75,7 @@ import com.rometools.rome.io.ModuleGenerator; public class GoogleBaseGenerator implements ModuleGenerator { private static final Namespace NS = Namespace.getNamespace("g-core", GoogleBase.URI); - private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseGenerator.class); + private static final Logger LOG = LoggerFactory.getLogger(GoogleBaseGenerator.class); /** Creates a new instance of GoogleBaseGenerator */ public GoogleBaseGenerator() { diff --git a/src/main/java/com/rometools/modules/cc/types/License.java b/src/main/java/com/rometools/modules/cc/types/License.java index 216a5ce..f62b0af 100644 --- a/src/main/java/com/rometools/modules/cc/types/License.java +++ b/src/main/java/com/rometools/modules/cc/types/License.java @@ -48,7 +48,6 @@ import java.util.concurrent.ConcurrentHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.rometools.modules.base.GoogleBaseImpl; import com.rometools.rome.feed.impl.EqualsBean; import com.rometools.rome.feed.impl.ToStringBean; @@ -60,7 +59,7 @@ public class License { private static final String CC_START = "http://creativecommons.org/licenses/"; private static final Map lookupLicense = new ConcurrentHashMap(); - private static final Logger LOG = LoggerFactory.getLogger(License.class); + private static final Logger LOG = LoggerFactory.getLogger(License.class); public static final License NO_DERIVS = new License("http://creativecommons.org/licenses/nd/1.0/", new Behaviour[0], new Behaviour[] { Behaviour.DISTRIBUTION, Behaviour.REPRODUCTION }); public static final License NO_DERIVS_NONCOMMERCIAL = new License("http://creativecommons.org/licenses/nd-nc/1.0/", diff --git a/src/main/java/com/rometools/modules/georss/GeoRSSModule.java b/src/main/java/com/rometools/modules/georss/GeoRSSModule.java index 20a0fbd..16c936c 100644 --- a/src/main/java/com/rometools/modules/georss/GeoRSSModule.java +++ b/src/main/java/com/rometools/modules/georss/GeoRSSModule.java @@ -20,7 +20,6 @@ import org.jdom2.Namespace; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.rometools.modules.base.GoogleBaseImpl; import com.rometools.modules.georss.geometries.AbstractGeometry; import com.rometools.modules.georss.geometries.Point; import com.rometools.modules.georss.geometries.Position; @@ -38,7 +37,7 @@ public abstract class GeoRSSModule extends ModuleImpl implements Cloneable { private static final long serialVersionUID = 1L; - private static final Logger LOG = LoggerFactory.getLogger(GeoRSSModule.class); + private static final Logger LOG = LoggerFactory.getLogger(GeoRSSModule.class); protected AbstractGeometry geometry; diff --git a/src/main/java/com/rometools/modules/opensearch/impl/OpenSearchModuleImpl.java b/src/main/java/com/rometools/modules/opensearch/impl/OpenSearchModuleImpl.java index bba501c..6cfb81b 100644 --- a/src/main/java/com/rometools/modules/opensearch/impl/OpenSearchModuleImpl.java +++ b/src/main/java/com/rometools/modules/opensearch/impl/OpenSearchModuleImpl.java @@ -21,7 +21,6 @@ import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.rometools.modules.base.GoogleBaseImpl; import com.rometools.modules.opensearch.OpenSearchModule; import com.rometools.modules.opensearch.entity.OSQuery; import com.rometools.rome.feed.CopyFrom; @@ -33,7 +32,7 @@ import com.rometools.rome.feed.module.ModuleImpl; */ public class OpenSearchModuleImpl extends ModuleImpl implements OpenSearchModule, Serializable { private static final long serialVersionUID = 1L; - private static final Logger LOG = LoggerFactory.getLogger(OpenSearchModuleImpl.class); + private static final Logger LOG = LoggerFactory.getLogger(OpenSearchModuleImpl.class); private int totalResults = -1; private int startIndex = 1; private int itemsPerPage = -1; diff --git a/src/main/java/com/rometools/modules/sse/modules/Conflict.java b/src/main/java/com/rometools/modules/sse/modules/Conflict.java index 9a2e806..2ddd683 100644 --- a/src/main/java/com/rometools/modules/sse/modules/Conflict.java +++ b/src/main/java/com/rometools/modules/sse/modules/Conflict.java @@ -20,7 +20,6 @@ import java.util.Date; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.rometools.modules.base.GoogleBaseImpl; import com.rometools.rome.feed.CopyFrom; import com.rometools.rome.feed.rss.Item; @@ -30,7 +29,7 @@ import com.rometools.rome.feed.rss.Item; public class Conflict extends SSEModule { private static final long serialVersionUID = 1L; - private static final Logger LOG = LoggerFactory.getLogger(Conflict.class); + private static final Logger LOG = LoggerFactory.getLogger(Conflict.class); public static final String CONFLICTS_NAME = "conflicts"; diff --git a/src/main/java/com/rometools/modules/sse/modules/SSEModule.java b/src/main/java/com/rometools/modules/sse/modules/SSEModule.java index 75de724..c036692 100644 --- a/src/main/java/com/rometools/modules/sse/modules/SSEModule.java +++ b/src/main/java/com/rometools/modules/sse/modules/SSEModule.java @@ -32,7 +32,7 @@ import com.rometools.rome.feed.module.Module; public abstract class SSEModule implements Module { private static final long serialVersionUID = 1L; - private static final Logger LOG = LoggerFactory.getLogger(SSEModule.class); + private static final Logger LOG = LoggerFactory.getLogger(SSEModule.class); public static final String SSE_SCHEMA_URI = "http://www.microsoft.com/schemas/rss/sse";