diff --git a/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/NodeLabelAndSizeUtilities.java b/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/NodeLabelAndSizeUtilities.java index 9b0f4c38ef..512d5bad21 100644 --- a/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/NodeLabelAndSizeUtilities.java +++ b/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/NodeLabelAndSizeUtilities.java @@ -23,8 +23,6 @@ import org.eclipse.elk.core.options.SizeConstraint; import org.eclipse.elk.core.options.SizeOptions; import org.eclipse.elk.core.util.ElkUtil; -import org.eclipse.elk.core.util.adapters.GraphAdapters.LabelAdapter; -import org.eclipse.elk.core.util.adapters.GraphAdapters.PortAdapter; /** * Various little methods that didn't quite fit into any of the other classes. diff --git a/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/PortLabelPlacementCalculator.java b/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/PortLabelPlacementCalculator.java index 6b1015636b..b6f9237df5 100644 --- a/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/PortLabelPlacementCalculator.java +++ b/plugins/org.eclipse.elk.alg.common/src/org/eclipse/elk/alg/common/nodespacing/internal/algorithm/PortLabelPlacementCalculator.java @@ -27,7 +27,6 @@ import org.eclipse.elk.core.options.PortLabelPlacement; import org.eclipse.elk.core.options.PortSide; import org.eclipse.elk.core.options.SizeConstraint; -import org.eclipse.elk.core.options.SizeOptions; /** * Knows how to place port labels. diff --git a/plugins/org.eclipse.elk.alg.force/src/org/eclipse/elk/alg/force/graph/FNode.java b/plugins/org.eclipse.elk.alg.force/src/org/eclipse/elk/alg/force/graph/FNode.java index 27fecfe588..f669191b7d 100644 --- a/plugins/org.eclipse.elk.alg.force/src/org/eclipse/elk/alg/force/graph/FNode.java +++ b/plugins/org.eclipse.elk.alg.force/src/org/eclipse/elk/alg/force/graph/FNode.java @@ -12,8 +12,6 @@ import java.util.ArrayList; import java.util.List; -import org.eclipse.elk.core.math.KVector; - /** * A node in the force graph. * diff --git a/plugins/org.eclipse.elk.alg.graphviz.dot/src-gen/org/eclipse/elk/alg/graphviz/dot/services/GraphvizDotGrammarAccess.java b/plugins/org.eclipse.elk.alg.graphviz.dot/src-gen/org/eclipse/elk/alg/graphviz/dot/services/GraphvizDotGrammarAccess.java index 97e69e0e36..0abc74e00a 100644 --- a/plugins/org.eclipse.elk.alg.graphviz.dot/src-gen/org/eclipse/elk/alg/graphviz/dot/services/GraphvizDotGrammarAccess.java +++ b/plugins/org.eclipse.elk.alg.graphviz.dot/src-gen/org/eclipse/elk/alg/graphviz/dot/services/GraphvizDotGrammarAccess.java @@ -25,7 +25,6 @@ import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.TerminalRule; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; import org.eclipse.xtext.service.GrammarProvider; diff --git a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/InteractiveLayeredGraphVisitor.java b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/InteractiveLayeredGraphVisitor.java index 4b4c772f81..457645012c 100644 --- a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/InteractiveLayeredGraphVisitor.java +++ b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/InteractiveLayeredGraphVisitor.java @@ -19,7 +19,6 @@ import org.eclipse.elk.alg.layered.options.LayeredOptions; import org.eclipse.elk.alg.layered.options.LayeringStrategy; import org.eclipse.elk.alg.layered.options.OrderingStrategy; -import org.eclipse.elk.core.UnsupportedGraphException; import org.eclipse.elk.core.math.KVector; import org.eclipse.elk.core.options.CoreOptions; import org.eclipse.elk.core.options.Direction; diff --git a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/compaction/oned/OneDimensionalCompactor.java b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/compaction/oned/OneDimensionalCompactor.java index 759b0d981c..644c0cef2b 100644 --- a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/compaction/oned/OneDimensionalCompactor.java +++ b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/compaction/oned/OneDimensionalCompactor.java @@ -9,11 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.alg.layered.compaction.oned; -// elkjs-exclude-start -import java.io.FileWriter; -import java.io.IOException; -import java.io.PrintWriter; -// elkjs-exclude-end import java.util.List; import java.util.Map; diff --git a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/p2layers/InteractiveLayerer.java b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/p2layers/InteractiveLayerer.java index 59c5148581..f1998cc89b 100644 --- a/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/p2layers/InteractiveLayerer.java +++ b/plugins/org.eclipse.elk.alg.layered/src/org/eclipse/elk/alg/layered/p2layers/InteractiveLayerer.java @@ -9,12 +9,9 @@ *******************************************************************************/ package org.eclipse.elk.alg.layered.p2layers; -import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.List; import java.util.ListIterator; -import java.util.Set; - import org.eclipse.elk.alg.layered.LayeredPhases; import org.eclipse.elk.alg.layered.graph.LEdge; import org.eclipse.elk.alg.layered.graph.LGraph; diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/CompactionProcessor.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/CompactionProcessor.java index 2dc5052db3..df86ae32b4 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/CompactionProcessor.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/CompactionProcessor.java @@ -10,7 +10,6 @@ package org.eclipse.elk.alg.mrtree.intermediate; import java.util.ArrayList; -import java.util.Comparator; import java.util.HashMap; import java.util.Iterator; import java.util.List; @@ -20,10 +19,8 @@ import java.util.stream.Collectors; import org.eclipse.elk.alg.mrtree.TreeUtil; -import org.eclipse.elk.alg.mrtree.graph.TEdge; import org.eclipse.elk.alg.mrtree.graph.TGraph; import org.eclipse.elk.alg.mrtree.graph.TNode; -import org.eclipse.elk.alg.mrtree.options.CompactionMode; import org.eclipse.elk.alg.mrtree.options.EdgeRoutingMode; import org.eclipse.elk.alg.mrtree.options.InternalProperties; import org.eclipse.elk.alg.mrtree.options.MrTreeOptions; diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/LevelCoordinatesProcessor.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/LevelCoordinatesProcessor.java index 70b66fce85..6b547aae84 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/LevelCoordinatesProcessor.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/intermediate/LevelCoordinatesProcessor.java @@ -9,26 +9,15 @@ package org.eclipse.elk.alg.mrtree.intermediate; import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.Iterator; -import java.util.LinkedList; import java.util.List; -import java.util.Map; -import java.util.stream.Collectors; - import org.eclipse.elk.alg.mrtree.graph.TGraph; import org.eclipse.elk.alg.mrtree.graph.TNode; import org.eclipse.elk.alg.mrtree.options.InternalProperties; import org.eclipse.elk.alg.mrtree.options.MrTreeOptions; import org.eclipse.elk.core.alg.ILayoutProcessor; -import org.eclipse.elk.core.options.Direction; import org.eclipse.elk.core.util.IElkProgressMonitor; import org.eclipse.elk.core.util.Pair; -import com.google.common.collect.Iterables; -import com.google.common.collect.Lists; - /** * A processor that computes the start and end coordinates for each levels nodes. * The used coordinates depend on the layout direction of the graph. diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p2order/NodeOrderer.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p2order/NodeOrderer.java index ba7d0fe942..710c3f1229 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p2order/NodeOrderer.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p2order/NodeOrderer.java @@ -9,17 +9,13 @@ *******************************************************************************/ package org.eclipse.elk.alg.mrtree.p2order; -import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.ListIterator; import java.util.stream.Collectors; -import java.util.stream.Stream; - import org.eclipse.elk.alg.mrtree.TreeLayoutPhases; -import org.eclipse.elk.alg.mrtree.TreeUtil; import org.eclipse.elk.alg.mrtree.graph.TEdge; import org.eclipse.elk.alg.mrtree.graph.TGraph; import org.eclipse.elk.alg.mrtree.graph.TNode; @@ -27,7 +23,6 @@ import org.eclipse.elk.alg.mrtree.options.InternalProperties; import org.eclipse.elk.alg.mrtree.options.MrTreeOptions; import org.eclipse.elk.alg.mrtree.options.OrderWeighting; -import org.eclipse.elk.alg.mrtree.p2order.OrderBalance.SortTEdgeTargetProperty; import org.eclipse.elk.core.alg.ILayoutPhase; import org.eclipse.elk.core.alg.LayoutProcessorConfiguration; import org.eclipse.elk.core.util.IElkProgressMonitor; diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p3place/NodePlacer.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p3place/NodePlacer.java index 14d014c054..eadbff9de1 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p3place/NodePlacer.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p3place/NodePlacer.java @@ -9,13 +9,9 @@ *******************************************************************************/ package org.eclipse.elk.alg.mrtree.p3place; -import java.util.ArrayList; import java.util.LinkedList; -import java.util.List; - import org.eclipse.elk.alg.mrtree.TreeLayoutPhases; import org.eclipse.elk.alg.mrtree.TreeUtil; -import org.eclipse.elk.alg.mrtree.graph.TEdge; import org.eclipse.elk.alg.mrtree.graph.TGraph; import org.eclipse.elk.alg.mrtree.graph.TNode; import org.eclipse.elk.alg.mrtree.intermediate.IntermediateProcessorStrategy; @@ -23,11 +19,8 @@ import org.eclipse.elk.alg.mrtree.options.MrTreeOptions; import org.eclipse.elk.core.alg.ILayoutPhase; import org.eclipse.elk.core.alg.LayoutProcessorConfiguration; -import org.eclipse.elk.core.math.KVector; import org.eclipse.elk.core.options.Direction; import org.eclipse.elk.core.util.IElkProgressMonitor; -import org.eclipse.elk.core.util.Pair; - import com.google.common.collect.Iterables; /** diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/EdgeRouter.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/EdgeRouter.java index 63da4cf065..02d593fa24 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/EdgeRouter.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/EdgeRouter.java @@ -11,7 +11,6 @@ import java.util.ArrayList; import java.util.HashMap; -import java.util.LinkedList; import java.util.List; import java.util.stream.Collectors; @@ -32,7 +31,6 @@ import org.eclipse.elk.core.util.IElkProgressMonitor; import org.eclipse.elk.core.util.Pair; import org.eclipse.elk.core.util.Triple; -import org.eclipse.elk.graph.ElkNode; /** * This class implements a dull edge routing by setting just source and target of a edge in mode MiddleToMiddle diff --git a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/MultiLevelEdgeNodeNodeGap.java b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/MultiLevelEdgeNodeNodeGap.java index 819172df52..0c3a3fe20b 100644 --- a/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/MultiLevelEdgeNodeNodeGap.java +++ b/plugins/org.eclipse.elk.alg.mrtree/src/org/eclipse/elk/alg/mrtree/p4route/MultiLevelEdgeNodeNodeGap.java @@ -10,7 +10,6 @@ import java.util.LinkedList; -import org.eclipse.elk.alg.mrtree.TreeUtil; import org.eclipse.elk.alg.mrtree.graph.TEdge; import org.eclipse.elk.alg.mrtree.graph.TGraph; import org.eclipse.elk.alg.mrtree.graph.TNode; @@ -18,7 +17,6 @@ import org.eclipse.elk.alg.mrtree.options.MrTreeOptions; import org.eclipse.elk.core.math.KVector; import org.eclipse.elk.core.options.Direction; -import org.eclipse.elk.core.util.Pair; import org.eclipse.elk.core.util.Triple; /** diff --git a/plugins/org.eclipse.elk.alg.radial/src/org/eclipse/elk/alg/radial/intermediate/compaction/AbstractRadiusExtensionCompaction.java b/plugins/org.eclipse.elk.alg.radial/src/org/eclipse/elk/alg/radial/intermediate/compaction/AbstractRadiusExtensionCompaction.java index 6723ec5cf5..dc1dc54fa7 100644 --- a/plugins/org.eclipse.elk.alg.radial/src/org/eclipse/elk/alg/radial/intermediate/compaction/AbstractRadiusExtensionCompaction.java +++ b/plugins/org.eclipse.elk.alg.radial/src/org/eclipse/elk/alg/radial/intermediate/compaction/AbstractRadiusExtensionCompaction.java @@ -11,10 +11,7 @@ import java.util.List; -import org.eclipse.elk.graph.ElkConnectableShape; -import org.eclipse.elk.graph.ElkEdge; import org.eclipse.elk.graph.ElkNode; -import org.eclipse.elk.graph.util.ElkGraphUtil; /** * The class provides basic logic for extending or compacting radii, like overlap calculation. diff --git a/plugins/org.eclipse.elk.alg.rectpacking/src/org/eclipse/elk/alg/rectpacking/util/DrawingData.java b/plugins/org.eclipse.elk.alg.rectpacking/src/org/eclipse/elk/alg/rectpacking/util/DrawingData.java index a97da22f72..69a500a1ee 100644 --- a/plugins/org.eclipse.elk.alg.rectpacking/src/org/eclipse/elk/alg/rectpacking/util/DrawingData.java +++ b/plugins/org.eclipse.elk.alg.rectpacking/src/org/eclipse/elk/alg/rectpacking/util/DrawingData.java @@ -9,8 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.alg.rectpacking.util; -import org.eclipse.elk.core.math.ElkPadding; - /** * Class that offers instances to save information about a possible drawing. Can be used to return multiple values that * are calculated for a possible drawing in a method for example. diff --git a/plugins/org.eclipse.elk.core.debug.grandom/src-gen/org/eclipse/elk/core/debug/grandom/services/GRandomGrammarAccess.java b/plugins/org.eclipse.elk.core.debug.grandom/src-gen/org/eclipse/elk/core/debug/grandom/services/GRandomGrammarAccess.java index 6bb310c63b..9438413b63 100644 --- a/plugins/org.eclipse.elk.core.debug.grandom/src-gen/org/eclipse/elk/core/debug/grandom/services/GRandomGrammarAccess.java +++ b/plugins/org.eclipse.elk.core.debug.grandom/src-gen/org/eclipse/elk/core/debug/grandom/services/GRandomGrammarAccess.java @@ -26,7 +26,6 @@ import org.eclipse.xtext.TerminalRule; import org.eclipse.xtext.UnorderedGroup; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; import org.eclipse.xtext.service.GrammarProvider; diff --git a/plugins/org.eclipse.elk.core.debug/src/org/eclipse/elk/core/debug/model/ExecutionInfoContentProvider.java b/plugins/org.eclipse.elk.core.debug/src/org/eclipse/elk/core/debug/model/ExecutionInfoContentProvider.java index 0617233d2b..cbacf49573 100644 --- a/plugins/org.eclipse.elk.core.debug/src/org/eclipse/elk/core/debug/model/ExecutionInfoContentProvider.java +++ b/plugins/org.eclipse.elk.core.debug/src/org/eclipse/elk/core/debug/model/ExecutionInfoContentProvider.java @@ -12,7 +12,6 @@ import java.util.List; import java.util.function.Predicate; -import org.eclipse.elk.core.debug.model.ExecutionInfo; import org.eclipse.jface.viewers.ITreeContentProvider; /** diff --git a/plugins/org.eclipse.elk.core.meta/src-gen/org/eclipse/elk/core/meta/services/MetaDataGrammarAccess.java b/plugins/org.eclipse.elk.core.meta/src-gen/org/eclipse/elk/core/meta/services/MetaDataGrammarAccess.java index ededd0e483..4ca24288f5 100644 --- a/plugins/org.eclipse.elk.core.meta/src-gen/org/eclipse/elk/core/meta/services/MetaDataGrammarAccess.java +++ b/plugins/org.eclipse.elk.core.meta/src-gen/org/eclipse/elk/core/meta/services/MetaDataGrammarAccess.java @@ -26,7 +26,6 @@ import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.TerminalRule; import org.eclipse.xtext.UnorderedGroup; -import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; import org.eclipse.xtext.service.GrammarProvider; import org.eclipse.xtext.xbase.services.XbaseGrammarAccess; diff --git a/plugins/org.eclipse.elk.core.service/src/org/eclipse/elk/core/service/ElkServicePlugin.java b/plugins/org.eclipse.elk.core.service/src/org/eclipse/elk/core/service/ElkServicePlugin.java index 6bf338ef8f..afe972f1b7 100644 --- a/plugins/org.eclipse.elk.core.service/src/org/eclipse/elk/core/service/ElkServicePlugin.java +++ b/plugins/org.eclipse.elk.core.service/src/org/eclipse/elk/core/service/ElkServicePlugin.java @@ -17,9 +17,6 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Plugin; import org.eclipse.core.runtime.preferences.InstanceScope; import org.eclipse.elk.core.data.ILayoutMetaDataProvider; @@ -29,7 +26,6 @@ import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.ui.IWorkbenchPart; import org.eclipse.ui.preferences.ScopedPreferenceStore; -import org.eclipse.ui.statushandlers.StatusManager; import org.osgi.framework.Bundle; import org.osgi.framework.BundleContext; diff --git a/plugins/org.eclipse.elk.core/src/org/eclipse/elk/core/util/ElkUtil.java b/plugins/org.eclipse.elk.core/src/org/eclipse/elk/core/util/ElkUtil.java index 9269afa115..df7136d9a1 100644 --- a/plugins/org.eclipse.elk.core/src/org/eclipse/elk/core/util/ElkUtil.java +++ b/plugins/org.eclipse.elk.core/src/org/eclipse/elk/core/util/ElkUtil.java @@ -20,7 +20,6 @@ import java.util.regex.Pattern; import org.eclipse.elk.core.math.ElkMargin; -import org.eclipse.elk.core.math.ElkPadding; import org.eclipse.elk.core.math.ElkRectangle; import org.eclipse.elk.core.math.KVector; import org.eclipse.elk.core.math.KVectorChain; diff --git a/test/org.eclipse.elk.alg.common.test/src/org/eclipse/elk/alg/common/RectilinearConvexHullTest.java b/test/org.eclipse.elk.alg.common.test/src/org/eclipse/elk/alg/common/RectilinearConvexHullTest.java index 8c46f4a493..18a62c6d32 100644 --- a/test/org.eclipse.elk.alg.common.test/src/org/eclipse/elk/alg/common/RectilinearConvexHullTest.java +++ b/test/org.eclipse.elk.alg.common.test/src/org/eclipse/elk/alg/common/RectilinearConvexHullTest.java @@ -18,8 +18,6 @@ import javax.swing.JFrame; import javax.swing.JPanel; -import org.eclipse.elk.alg.common.Point; -import org.eclipse.elk.alg.common.RectilinearConvexHull; import org.eclipse.elk.core.math.ElkRectangle; import org.eclipse.elk.core.math.KVector; import org.junit.Assert; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/GeneralLayerUnzipperTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/GeneralLayerUnzipperTest.java index 7531066abc..15f893c65a 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/GeneralLayerUnzipperTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/GeneralLayerUnzipperTest.java @@ -10,8 +10,6 @@ package org.eclipse.elk.alg.layered.intermediate; import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - import org.eclipse.elk.alg.layered.LayeredLayoutProvider; import org.eclipse.elk.alg.layered.options.LayerUnzippingStrategy; import org.eclipse.elk.alg.layered.options.LayeredOptions; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/BetweenLayerEdgeTwoNodeCrossingsCounterTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/BetweenLayerEdgeTwoNodeCrossingsCounterTest.java index f8c51b386e..967d16c081 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/BetweenLayerEdgeTwoNodeCrossingsCounterTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/BetweenLayerEdgeTwoNodeCrossingsCounterTest.java @@ -17,7 +17,6 @@ import org.eclipse.elk.alg.layered.graph.LNode; import org.eclipse.elk.alg.layered.graph.LPort; import org.eclipse.elk.alg.layered.graph.Layer; -import org.eclipse.elk.alg.layered.intermediate.greedyswitch.BetweenLayerEdgeTwoNodeCrossingsCounter; import org.eclipse.elk.core.options.PortSide; import org.junit.Ignore; import org.junit.Test; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/NorthSouthEdgeNeighbouringNodeCrossingsCounterTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/NorthSouthEdgeNeighbouringNodeCrossingsCounterTest.java index 51f587b493..d643b386d7 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/NorthSouthEdgeNeighbouringNodeCrossingsCounterTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/NorthSouthEdgeNeighbouringNodeCrossingsCounterTest.java @@ -14,7 +14,6 @@ import org.eclipse.elk.alg.layered.graph.LNode; import org.eclipse.elk.alg.layered.graph.LPort; -import org.eclipse.elk.alg.layered.intermediate.greedyswitch.NorthSouthEdgeNeighbouringNodeCrossingsCounter; import org.eclipse.elk.alg.layered.options.InternalProperties; import org.eclipse.elk.alg.layered.options.LayeredOptions; import org.eclipse.elk.alg.test.PlainJavaInitialization; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/SwitchDeciderTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/SwitchDeciderTest.java index ffc7115b03..0b3eae29e5 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/SwitchDeciderTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/intermediate/greedyswitch/SwitchDeciderTest.java @@ -21,8 +21,6 @@ import org.eclipse.elk.alg.layered.graph.LNode; import org.eclipse.elk.alg.layered.graph.LPort; import org.eclipse.elk.alg.layered.graph.Layer; -import org.eclipse.elk.alg.layered.intermediate.greedyswitch.CrossingMatrixFiller; -import org.eclipse.elk.alg.layered.intermediate.greedyswitch.SwitchDecider; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.SwitchDecider.CrossingCountSide; import org.eclipse.elk.alg.layered.p3order.GraphInfoHolder; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue143And318Test.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue143And318Test.java index dda85ba549..a934d26c75 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue143And318Test.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue143And318Test.java @@ -12,7 +12,6 @@ import static org.junit.Assert.assertNotEquals; import java.awt.geom.Line2D; -import java.awt.geom.Line2D.Double; import java.util.ArrayList; import java.util.List; @@ -26,7 +25,6 @@ import org.eclipse.elk.core.math.KVector; import org.eclipse.elk.core.math.KVectorChain; import org.eclipse.elk.core.util.ElkUtil; -import org.eclipse.elk.graph.ElkBendPoint; import org.eclipse.elk.graph.ElkEdge; import org.eclipse.elk.graph.ElkEdgeSection; import org.eclipse.elk.graph.ElkNode; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue405Test.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue405Test.java index 3b0046b09b..fee5fac87a 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue405Test.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue405Test.java @@ -9,8 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.alg.layered.issues; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.Collection; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue701Test.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue701Test.java index 26c8416d5f..8a1f6b72d2 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue701Test.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue701Test.java @@ -10,7 +10,6 @@ package org.eclipse.elk.alg.layered.issues; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.util.ArrayList; @@ -32,7 +31,6 @@ import org.eclipse.elk.graph.ElkLabel; import org.eclipse.elk.graph.ElkNode; import org.eclipse.elk.graph.ElkPort; -import org.eclipse.elk.graph.util.ElkGraphUtil; import org.junit.Test; import org.junit.runner.RunWith; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue734Test.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue734Test.java index 09a5360f9e..22c522cf2f 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue734Test.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/issues/Issue734Test.java @@ -18,10 +18,8 @@ import org.eclipse.elk.alg.layered.options.LayeredOptions; import org.eclipse.elk.alg.test.framework.LayoutTestRunner; import org.eclipse.elk.alg.test.framework.annotations.Algorithm; -import org.eclipse.elk.alg.test.framework.annotations.DefaultConfiguration; import org.eclipse.elk.alg.test.framework.annotations.GraphResourceProvider; import org.eclipse.elk.alg.test.framework.io.AbstractResourcePath; -import org.eclipse.elk.alg.test.framework.io.FileNameFilter; import org.eclipse.elk.alg.test.framework.io.ModelResourcePath; import org.eclipse.elk.core.util.ElkUtil; import org.eclipse.elk.graph.ElkEdge; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/AbstractBarycenterPortDistributorTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/AbstractBarycenterPortDistributorTest.java index 8ab9d2ebb7..13f9db6977 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/AbstractBarycenterPortDistributorTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/AbstractBarycenterPortDistributorTest.java @@ -20,10 +20,7 @@ import org.eclipse.elk.alg.layered.graph.LPort; import org.eclipse.elk.alg.layered.graph.Layer; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.TestGraphCreator; -import org.eclipse.elk.alg.layered.p3order.GraphInfoHolder; -import org.eclipse.elk.alg.layered.p3order.ISweepPortDistributor; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; -import org.eclipse.elk.alg.layered.p3order.LayerTotalPortDistributor; import org.eclipse.elk.alg.layered.p3order.counting.IInitializable; import org.eclipse.elk.core.data.LayoutMetaDataService; import org.eclipse.elk.core.options.PortSide; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/GreedyPortDistributorTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/GreedyPortDistributorTest.java index 9d7c55bb0b..e80423511b 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/GreedyPortDistributorTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/GreedyPortDistributorTest.java @@ -23,7 +23,6 @@ import org.eclipse.elk.alg.layered.graph.LPort; import org.eclipse.elk.alg.layered.graph.Layer; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.TestGraphCreator; -import org.eclipse.elk.alg.layered.p3order.GreedyPortDistributor; import org.eclipse.elk.alg.layered.p3order.counting.IInitializable; import org.eclipse.elk.core.options.PortSide; import org.junit.Test; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepCrossingMinimizerTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepCrossingMinimizerTest.java index 2f38d81713..d8cfa70930 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepCrossingMinimizerTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepCrossingMinimizerTest.java @@ -26,8 +26,6 @@ import org.eclipse.elk.alg.layered.intermediate.greedyswitch.TestGraphCreator; import org.eclipse.elk.alg.layered.options.InternalProperties; import org.eclipse.elk.alg.layered.options.LayeredOptions; -import org.eclipse.elk.alg.layered.p3order.GraphInfoHolder; -import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; import org.eclipse.elk.alg.test.PlainJavaInitialization; import org.eclipse.elk.core.options.PortConstraints; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepHierarchicalTwoSidedGreedySwitchTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepHierarchicalTwoSidedGreedySwitchTest.java index b9e6594445..2f6c84a4c4 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepHierarchicalTwoSidedGreedySwitchTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepHierarchicalTwoSidedGreedySwitchTest.java @@ -20,7 +20,6 @@ import org.eclipse.elk.alg.layered.graph.Layer; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.TestGraphCreator; import org.eclipse.elk.alg.layered.options.LayeredOptions; -import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; import org.eclipse.elk.core.data.LayoutMetaDataService; import org.eclipse.elk.core.options.PortSide; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepTypeDeciderTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepTypeDeciderTest.java index c3676b4a69..db16266633 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepTypeDeciderTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/LayerSweepTypeDeciderTest.java @@ -19,9 +19,7 @@ import org.eclipse.elk.alg.layered.graph.Layer; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.TestGraphCreator; import org.eclipse.elk.alg.layered.options.LayeredOptions; -import org.eclipse.elk.alg.layered.p3order.GraphInfoHolder; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; -import org.eclipse.elk.alg.layered.p3order.LayerSweepTypeDecider; import org.eclipse.elk.alg.layered.p3order.counting.IInitializable; import org.eclipse.elk.core.data.LayoutMetaDataService; import org.eclipse.elk.core.options.PortSide; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/BinaryIndexedTreeTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/BinaryIndexedTreeTest.java index 3595cdd597..464a6be270 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/BinaryIndexedTreeTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/BinaryIndexedTreeTest.java @@ -12,7 +12,6 @@ import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; -import org.eclipse.elk.alg.layered.p3order.counting.BinaryIndexedTree; import org.junit.Test; // CHECKSTYLEOFF MagicNumber diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/CrossingsCounterTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/CrossingsCounterTest.java index 50102e4050..a918bf0789 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/CrossingsCounterTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/CrossingsCounterTest.java @@ -22,7 +22,6 @@ import org.eclipse.elk.alg.layered.intermediate.greedyswitch.InLayerEdgeTestGraphCreator; import org.eclipse.elk.alg.layered.p3order.GraphInfoHolder; import org.eclipse.elk.alg.layered.p3order.LayerSweepCrossingMinimizer.CrossMinType; -import org.eclipse.elk.alg.layered.p3order.counting.CrossingsCounter; import org.eclipse.elk.core.options.PortSide; import org.junit.Ignore; import org.junit.Test; diff --git a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/NorthSouthEdgeAllCrossingsCounterTest.java b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/NorthSouthEdgeAllCrossingsCounterTest.java index c3bf39ad73..322fbd40f0 100644 --- a/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/NorthSouthEdgeAllCrossingsCounterTest.java +++ b/test/org.eclipse.elk.alg.layered.test/src/org/eclipse/elk/alg/layered/p3order/counting/NorthSouthEdgeAllCrossingsCounterTest.java @@ -16,7 +16,6 @@ import org.eclipse.elk.alg.layered.graph.LPort; import org.eclipse.elk.alg.layered.graph.Layer; import org.eclipse.elk.alg.layered.intermediate.greedyswitch.NorthSouthEdgeTestGraphCreator; -import org.eclipse.elk.alg.layered.p3order.counting.CrossingsCounter; import org.eclipse.elk.core.data.LayoutMetaDataService; import org.eclipse.elk.core.options.PortSide; import org.junit.Before; diff --git a/test/org.eclipse.elk.alg.spore.test/src/org/eclipse/elk/alg/spore/test/UtilsTest.java b/test/org.eclipse.elk.alg.spore.test/src/org/eclipse/elk/alg/spore/test/UtilsTest.java index 550e709754..1260f5874e 100644 --- a/test/org.eclipse.elk.alg.spore.test/src/org/eclipse/elk/alg/spore/test/UtilsTest.java +++ b/test/org.eclipse.elk.alg.spore.test/src/org/eclipse/elk/alg/spore/test/UtilsTest.java @@ -11,8 +11,6 @@ import static org.junit.Assert.assertTrue; -import java.io.File; -import java.util.Arrays; import java.util.List; import org.eclipse.elk.alg.common.compaction.oned.CompareFuzzy; @@ -21,7 +19,6 @@ import org.eclipse.elk.core.math.ElkMath; import org.eclipse.elk.core.math.ElkRectangle; import org.eclipse.elk.core.math.KVector; -import org.eclipse.elk.core.util.ElkUtil; import org.eclipse.elk.core.util.Pair; import org.junit.Before; import org.junit.Test; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/LayoutConfiguratorTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/LayoutConfiguratorTest.java index ae8088fecd..109b54fdf2 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/LayoutConfiguratorTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/LayoutConfiguratorTest.java @@ -11,7 +11,6 @@ import static org.junit.Assert.assertEquals; -import org.eclipse.elk.core.LayoutConfigurator; import org.eclipse.elk.core.options.CoreOptions; import org.eclipse.elk.core.util.ElkUtil; import org.eclipse.elk.graph.ElkGraphElement; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/RecursiveGraphLayoutEngineTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/RecursiveGraphLayoutEngineTest.java index 56dfb22792..a908bbabab 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/RecursiveGraphLayoutEngineTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/RecursiveGraphLayoutEngineTest.java @@ -12,8 +12,6 @@ import static org.junit.Assert.*; import org.eclipse.elk.alg.test.PlainJavaInitialization; -import org.eclipse.elk.core.RecursiveGraphLayoutEngine; -import org.eclipse.elk.core.UnsupportedConfigurationException; import org.eclipse.elk.core.data.LayoutAlgorithmData; import org.eclipse.elk.core.data.LayoutMetaDataService; import org.eclipse.elk.core.options.CoreOptions; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/AlgorithmAssemblerTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/AlgorithmAssemblerTest.java index 32033cbab4..e13418928f 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/AlgorithmAssemblerTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/AlgorithmAssemblerTest.java @@ -16,10 +16,6 @@ import java.util.List; -import org.eclipse.elk.core.alg.AlgorithmAssembler; -import org.eclipse.elk.core.alg.ILayoutPhase; -import org.eclipse.elk.core.alg.ILayoutProcessor; -import org.eclipse.elk.core.alg.LayoutProcessorConfiguration; import org.junit.Test; public class AlgorithmAssemblerTest { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/LayoutProcessorConfigurationTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/LayoutProcessorConfigurationTest.java index ca9adcb634..fe05c0dbcc 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/LayoutProcessorConfigurationTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/LayoutProcessorConfigurationTest.java @@ -11,7 +11,6 @@ import static org.junit.Assert.assertEquals; -import org.eclipse.elk.core.alg.LayoutProcessorConfiguration; import org.junit.Ignore; import org.junit.Test; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestPhases.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestPhases.java index c48c4f04b7..8c0bef7c11 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestPhases.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestPhases.java @@ -9,9 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.core.alg; -import org.eclipse.elk.core.alg.ILayoutPhase; -import org.eclipse.elk.core.alg.ILayoutPhaseFactory; -import org.eclipse.elk.core.alg.LayoutProcessorConfiguration; import org.eclipse.elk.core.util.IElkProgressMonitor; /** diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestProcessors.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestProcessors.java index 60645fbd70..9ee44713a9 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestProcessors.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/alg/TestProcessors.java @@ -9,8 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.core.alg; -import org.eclipse.elk.core.alg.ILayoutProcessor; -import org.eclipse.elk.core.alg.ILayoutProcessorFactory; import org.eclipse.elk.core.util.IElkProgressMonitor; public enum TestProcessors implements ILayoutProcessorFactory { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/BezierSplineTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/BezierSplineTest.java index 0edbe46229..a4911a6462 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/BezierSplineTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/BezierSplineTest.java @@ -2,8 +2,6 @@ import static org.junit.Assert.assertEquals; -import org.eclipse.elk.core.math.BezierSpline; -import org.eclipse.elk.core.math.KVector; import org.junit.Test; public class BezierSplineTest { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/CubicSplineInterpolatorTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/CubicSplineInterpolatorTest.java index b09a70fb49..953dd7bd88 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/CubicSplineInterpolatorTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/CubicSplineInterpolatorTest.java @@ -3,9 +3,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import org.eclipse.elk.core.math.BezierSpline; -import org.eclipse.elk.core.math.CubicSplineInterpolator; -import org.eclipse.elk.core.math.KVector; import org.junit.Test; public class CubicSplineInterpolatorTest { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/ElkMathTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/ElkMathTest.java index fd0d1ed376..168936ba4d 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/ElkMathTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/ElkMathTest.java @@ -9,11 +9,6 @@ *******************************************************************************/ package org.eclipse.elk.core.math; -import org.eclipse.elk.core.math.ElkMath; -import org.eclipse.elk.core.math.ElkRectangle; -import org.eclipse.elk.core.math.KVector; -import org.eclipse.elk.core.math.KVectorChain; - import static org.junit.Assert.*; import org.junit.Test; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorChainTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorChainTest.java index 2e5539cb21..710a190f8d 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorChainTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorChainTest.java @@ -3,8 +3,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import org.eclipse.elk.core.math.KVector; -import org.eclipse.elk.core.math.KVectorChain; import org.junit.Test; public class KVectorChainTest { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorTest.java index bea9b78ef6..f47f4931c2 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/math/KVectorTest.java @@ -4,7 +4,6 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -import org.eclipse.elk.core.math.KVector; import org.junit.Test; public class KVectorTest { diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/GraphValidatorTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/GraphValidatorTest.java index 16d1408806..197b91ab13 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/GraphValidatorTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/GraphValidatorTest.java @@ -23,9 +23,6 @@ import org.eclipse.elk.core.util.AlgorithmFactory; import org.eclipse.elk.core.util.ElkUtil; import org.eclipse.elk.core.util.IElkProgressMonitor; -import org.eclipse.elk.core.validation.GraphIssue; -import org.eclipse.elk.core.validation.GraphValidator; -import org.eclipse.elk.core.validation.IValidatingGraphElementVisitor; import org.eclipse.elk.graph.ElkGraphElement; import org.eclipse.elk.graph.ElkNode; import org.eclipse.elk.graph.util.ElkGraphUtil; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/LayoutOptionValidatorTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/LayoutOptionValidatorTest.java index e66536c71c..4de53a7249 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/LayoutOptionValidatorTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/core/validation/LayoutOptionValidatorTest.java @@ -15,7 +15,6 @@ import org.eclipse.elk.core.data.LayoutOptionData; import org.eclipse.elk.core.options.CoreOptions; import org.eclipse.elk.core.util.ElkUtil; -import org.eclipse.elk.core.validation.LayoutOptionValidator; import org.eclipse.elk.graph.ElkNode; import org.eclipse.elk.graph.util.ElkGraphUtil; import org.junit.Test; diff --git a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/graph/properties/PropertyTest.java b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/graph/properties/PropertyTest.java index 9415578e90..5e057165ed 100644 --- a/test/org.eclipse.elk.core.test/src/org/eclipse/elk/graph/properties/PropertyTest.java +++ b/test/org.eclipse.elk.core.test/src/org/eclipse/elk/graph/properties/PropertyTest.java @@ -22,8 +22,6 @@ import org.eclipse.elk.core.math.KVectorChain; import org.eclipse.elk.core.options.PortSide; import org.eclipse.elk.core.options.SizeConstraint; -import org.eclipse.elk.graph.properties.IProperty; -import org.eclipse.elk.graph.properties.Property; import org.junit.BeforeClass; import org.junit.Test; diff --git a/test/org.eclipse.elk.graph.test/src/org/eclipse/elk/graph/util/ElkGraphUtilTest.java b/test/org.eclipse.elk.graph.test/src/org/eclipse/elk/graph/util/ElkGraphUtilTest.java index 5190595f3f..f429fea600 100644 --- a/test/org.eclipse.elk.graph.test/src/org/eclipse/elk/graph/util/ElkGraphUtilTest.java +++ b/test/org.eclipse.elk.graph.test/src/org/eclipse/elk/graph/util/ElkGraphUtilTest.java @@ -15,7 +15,6 @@ import org.eclipse.elk.graph.ElkEdge; import org.eclipse.elk.graph.ElkNode; import org.eclipse.elk.graph.ElkPort; -import org.eclipse.elk.graph.util.ElkGraphUtil; import org.junit.Test; /**