Skip to content

Commit

Permalink
Cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bancika committed Aug 27, 2022
1 parent 66e668a commit f549871
Show file tree
Hide file tree
Showing 321 changed files with 779 additions and 1,169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,15 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.announcements;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;
import java.util.UUID;

import org.diylc.appframework.miscutils.ConfigurationManager;
import org.diylc.plugins.cloud.model.IServiceAPI;

import com.diyfever.httpproxy.PhpFlatProxy;
import org.diylc.appframework.miscutils.ConfigurationManager;
import org.diylc.plugins.cloud.model.IServiceAPI;
import com.diyfever.httpproxy.PhpFlatProxy;
import com.diyfever.httpproxy.ProxyFactory;

public class AnnouncementProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.announcements;

import java.util.List;

import com.diyfever.httpproxy.ParamName;

public interface IAnnouncementService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ DIY Layout Creator (DIYLC).
import java.io.Serializable;
import java.util.List;
import java.util.Set;

import org.diylc.core.IDIYComponent;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Objects;
import java.util.Set;
import java.util.stream.Collectors;

import org.apache.log4j.Logger;
import org.diylc.core.IDIYComponent;

Expand Down
3 changes: 1 addition & 2 deletions diylc/diylc-core/src/org/diylc/common/BuildingBlock.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.common;

import java.util.Collection;

import java.util.Collection;
import org.diylc.core.IDIYComponent;

public class BuildingBlock {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DIY Layout Creator (DIYLC).

import java.util.List;
import java.util.Map;

import org.diylc.core.IDIYComponent;

public class BuildingBlockPackage {
Expand Down
2 changes: 0 additions & 2 deletions diylc/diylc-core/src/org/diylc/common/ComponentType.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
package org.diylc.common;

import java.io.Serializable;

import javax.swing.Icon;

import org.diylc.core.CreationMethod;
import org.diylc.core.IDIYComponent;
import org.diylc.core.annotations.BomPolicy;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.common;

import java.awt.geom.Point2D;

import org.diylc.core.IDIYComponent;

public class DefaultTransformer implements IComponentTransformer {
Expand Down
5 changes: 2 additions & 3 deletions diylc/diylc-core/src/org/diylc/common/EventType.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.common;

import java.awt.Rectangle;
import java.awt.geom.Point2D;

import java.awt.Rectangle;
import java.awt.geom.Point2D;
import org.diylc.core.Project;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.common;

import java.awt.geom.Point2D;

import org.diylc.core.IDIYComponent;

public interface IComponentTransformer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.common;

import java.util.List;

import org.diylc.netlist.Netlist;
import org.diylc.netlist.Node;
import org.diylc.netlist.Summary;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.common;

import java.util.List;

import org.diylc.netlist.INetlistParser;
import org.diylc.netlist.Netlist;

Expand Down
1 change: 0 additions & 1 deletion diylc/diylc-core/src/org/diylc/common/IPlugInPort.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ DIY Layout Creator (DIYLC).
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.diylc.appframework.simplemq.IMessageListener;
import org.diylc.appframework.simplemq.MessageDispatcher;
import org.diylc.appframework.update.Version;
Expand Down
1 change: 0 additions & 1 deletion diylc/diylc-core/src/org/diylc/common/IProjectEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.common;

import java.util.Set;

import org.diylc.core.IDIYComponent;
import org.diylc.core.Project;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ DIY Layout Creator (DIYLC).
import java.awt.geom.Rectangle2D;
import java.util.Collection;
import java.util.List;

import org.diylc.clipboard.ComponentTransferable;
import org.diylc.core.ExpansionMode;
import org.diylc.core.IDIYComponent;
import org.diylc.core.measures.Size;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DIY Layout Creator (DIYLC).

import java.io.IOException;
import java.util.List;

import org.diylc.core.Template;

public interface IVariantProcessor {
Expand Down
5 changes: 2 additions & 3 deletions diylc/diylc-core/src/org/diylc/common/PropertyWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.common;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.diylc.core.IPropertyValidator;

/**
Expand Down
1 change: 0 additions & 1 deletion diylc/diylc-core/src/org/diylc/common/VariantPackage.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DIY Layout Creator (DIYLC).

import java.util.List;
import java.util.Map;

import org.diylc.core.Template;

public class VariantPackage {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ DIY Layout Creator (DIYLC).
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.Arrays;

import org.diylc.core.IDIYComponent;
import org.diylc.core.Project;
import org.diylc.core.annotations.EditableProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import java.awt.geom.Path2D;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;

import org.apache.log4j.Logger;
import org.diylc.appframework.miscutils.ConfigurationManager;
import org.diylc.common.IPlugInPort;
Expand All @@ -39,7 +38,6 @@
import org.diylc.core.measures.Size;
import org.diylc.core.measures.SizeUnit;
import org.diylc.utils.Constants;

import com.thoughtworks.xstream.annotations.XStreamOmitField;

public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComponent<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ DIY Layout Creator (DIYLC).
package org.diylc.components.transform;

import java.awt.geom.Point2D;

import org.diylc.common.IComponentTransformer;
import org.diylc.core.IDIYComponent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DIY Layout Creator (DIYLC).

import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;

import org.diylc.common.IComponentTransformer;
import org.diylc.core.IDIYComponent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ DIY Layout Creator (DIYLC).
import java.awt.Point;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;

import org.diylc.common.IComponentTransformer;
import org.diylc.core.IDIYComponent;

Expand Down
1 change: 0 additions & 1 deletion diylc/diylc-core/src/org/diylc/core/IDIYComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ DIY Layout Creator (DIYLC).
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.io.Serializable;

import org.diylc.core.annotations.ComponentDescriptor;
import org.diylc.core.annotations.EditableProperty;

Expand Down
7 changes: 3 additions & 4 deletions diylc/diylc-core/src/org/diylc/core/IView.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core;

import java.io.File;
import java.util.List;
import java.util.Set;

import java.io.File;
import java.util.List;
import java.util.Set;
import org.diylc.common.PropertyWrapper;


Expand Down
27 changes: 13 additions & 14 deletions diylc/diylc-core/src/org/diylc/core/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,21 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core;

import java.awt.Font;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.diylc.appframework.update.VersionNumber;
import org.diylc.core.annotations.EditableProperty;
import org.diylc.core.annotations.MultiLineText;
import java.awt.Font;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.diylc.appframework.update.VersionNumber;
import org.diylc.core.annotations.EditableProperty;
import org.diylc.core.annotations.MultiLineText;
import org.diylc.core.annotations.PositiveMeasureValidator;
import org.diylc.core.annotations.PositiveNonZeroMeasureValidator;
import org.diylc.core.measures.Size;
import org.diylc.core.measures.Size;
import org.diylc.core.measures.SizeUnit;

/**
Expand Down
2 changes: 1 addition & 1 deletion diylc/diylc-core/src/org/diylc/core/Theme.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core;

import java.awt.Color;
import java.awt.Color;
import java.io.Serializable;

public class Theme implements Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.diylc.common.DefaultTransformer;
import org.diylc.common.IComponentTransformer;
import org.diylc.core.CreationMethod;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.diylc.common.DefaultTransformer;
import org.diylc.common.IComponentTransformer;
import org.diylc.core.CreationMethod;
import org.diylc.core.IDIYComponent;

/**
Expand Down
4 changes: 2 additions & 2 deletions diylc/diylc-core/src/org/diylc/core/annotations/Defaults.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.util.Collections;
import java.util.HashMap;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public final class Defaults {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import org.diylc.core.AllowAllValidator;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import org.diylc.core.AllowAllValidator;
import org.diylc.core.IPropertyValidator;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.util.List;

import java.util.List;
import org.diylc.core.IDIYComponent;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
Expand Down
11 changes: 5 additions & 6 deletions diylc/diylc-core/src/org/diylc/core/images/IconLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.images;

import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.Icon;
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import javax.swing.Icon;
import javax.swing.ImageIcon;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ DIY Layout Creator (DIYLC).
*/
package org.diylc.core.measures;

import java.io.Serializable;
import java.text.DecimalFormat;
import java.io.Serializable;
import java.text.DecimalFormat;
import java.text.Format;

/***
Expand Down
Loading

0 comments on commit f549871

Please sign in to comment.