style: remove unused imports and standardized indentation

remove unused imports and standardized indentation
This commit is contained in:
Ignacio Domingo Martínez 2015-11-26 10:00:22 +01:00
parent c1628e398d
commit 749e545448
7 changed files with 7 additions and 11 deletions

View file

@ -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;

View file

@ -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() {

View file

@ -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<String, License> lookupLicense = new ConcurrentHashMap<String, License>();
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/",

View file

@ -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;

View file

@ -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;

View file

@ -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";

View file

@ -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";