aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Sewe2012-10-18 17:35:13 (EDT)
committerAndreas Sewe2012-10-30 11:03:29 (EDT)
commit62866cdd4ceadf95d4b6c78154cb8b03389c2f36 (patch)
treec673828e6990e987f10cec7e8d4123d1c90306a8
parent3115715065990febb17d62d627441ef668fc752e (diff)
downloadorg.eclipse.recommenders-62866cdd4ceadf95d4b6c78154cb8b03389c2f36.zip
org.eclipse.recommenders-62866cdd4ceadf95d4b6c78154cb8b03389c2f36.tar.gz
org.eclipse.recommenders-62866cdd4ceadf95d4b6c78154cb8b03389c2f36.tar.bz2
[misc] Removed unused imports (unless used by code commented out).refs/changes/01/8301/3
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp.overrides/src/org/eclipse/recommenders/internal/completion/rcp/overrides/OverridesSessionProcessor.java2
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/HippieCompletionSessionProcessor.java4
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/Subwords2SessionProcessor.java5
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsCompletionProposalComputer.java1
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsSessionProcessor.java1
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/ProposalProcessorManager.java1
-rw-r--r--plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/internal/completion/rcp/BaseRecommendersCompletionContext.java1
-rw-r--r--plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/SelfCallsProvider.java4
-rw-r--r--plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/StaticHooksFinder.java3
-rw-r--r--plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/ui/SubscriptionManager.java2
-rw-r--r--plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/wiring/ExtdocModule.java1
-rw-r--r--plugins/org.eclipse.recommenders.jayes.serialization/src/org/eclipse/recommenders/commons/bayesnet/BayesianNetwork.java1
-rw-r--r--plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/ModelRepository.java2
-rw-r--r--plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/UpdateModelIndexJob.java1
-rw-r--r--plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/ui/PreferencePage.java1
-rw-r--r--plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/index/IndexCommands.java1
-rw-r--r--plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/utils/Artifacts.java6
-rw-r--r--plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/local/StringCompareSearchEngine.java4
-rw-r--r--plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/rcp/LoginBox.java1
-rw-r--r--tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/calls/QueryTest.xtend3
-rw-r--r--tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend3
-rw-r--r--tests/org.eclipse.recommenders.tests.rcp/manual/org/eclipse/recommenders/tests/rcp/repo/CallModelReadabilityTests.java2
-rw-r--r--tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaElementSelectionTest.xtend2
-rw-r--r--tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaSelectionLocationTest.xtend1
-rw-r--r--tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/utils/BindingsResolverTest.xtend2
-rw-r--r--tests/org.eclipse.recommenders.tests.util/src/org/eclipse/recommenders/utils/gson/GsonUtilTest.java2
26 files changed, 1 insertions, 56 deletions
diff --git a/plugins/org.eclipse.recommenders.completion.rcp.overrides/src/org/eclipse/recommenders/internal/completion/rcp/overrides/OverridesSessionProcessor.java b/plugins/org.eclipse.recommenders.completion.rcp.overrides/src/org/eclipse/recommenders/internal/completion/rcp/overrides/OverridesSessionProcessor.java
index b8f5989..5ec4f84 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp.overrides/src/org/eclipse/recommenders/internal/completion/rcp/overrides/OverridesSessionProcessor.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp.overrides/src/org/eclipse/recommenders/internal/completion/rcp/overrides/OverridesSessionProcessor.java
@@ -17,10 +17,8 @@ import java.util.List;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.core.CompletionProposal;
-import org.eclipse.jface.viewers.StyledString;
import org.eclipse.recommenders.completion.rcp.IProcessableProposal;
import org.eclipse.recommenders.completion.rcp.IRecommendersCompletionContext;
-import org.eclipse.recommenders.completion.rcp.ProposalProcessor;
import org.eclipse.recommenders.completion.rcp.ProposalProcessorManager;
import org.eclipse.recommenders.completion.rcp.SessionProcessor;
import org.eclipse.recommenders.internal.completion.rcp.SimpleProposalProcessor;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/HippieCompletionSessionProcessor.java b/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/HippieCompletionSessionProcessor.java
index 42284ba..78a407a 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/HippieCompletionSessionProcessor.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/HippieCompletionSessionProcessor.java
@@ -10,14 +10,10 @@
*/
package org.eclipse.recommenders.internal.completion.rcp.sandbox;
-import java.util.concurrent.atomic.AtomicInteger;
-
import org.eclipse.jdt.core.CompletionProposal;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
-import org.eclipse.jface.viewers.StyledString;
import org.eclipse.recommenders.completion.rcp.IProcessableProposal;
import org.eclipse.recommenders.completion.rcp.IRecommendersCompletionContext;
-import org.eclipse.recommenders.completion.rcp.ProposalProcessor;
import org.eclipse.recommenders.completion.rcp.ProposalProcessorManager;
import org.eclipse.recommenders.completion.rcp.SessionProcessor;
import org.eclipse.recommenders.internal.completion.rcp.SimpleProposalProcessor;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/Subwords2SessionProcessor.java b/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/Subwords2SessionProcessor.java
index 125c6d5..02f4835 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/Subwords2SessionProcessor.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp.sandbox/src/org/eclipse/recommenders/internal/completion/rcp/sandbox/Subwords2SessionProcessor.java
@@ -15,19 +15,14 @@ import static org.apache.commons.lang3.StringUtils.containsIgnoreCase;
import static org.eclipse.jdt.core.Signature.getReturnType;
import static org.eclipse.recommenders.internal.completion.rcp.ProcessableCompletionProposalComputer.NULL_PROPOSAL;
-import java.util.concurrent.atomic.AtomicInteger;
-
-import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.StringUtils;
import org.eclipse.jdt.core.CompletionProposal;
import org.eclipse.jdt.internal.compiler.ast.ASTNode;
import org.eclipse.jdt.internal.compiler.ast.Assignment;
import org.eclipse.jdt.internal.compiler.ast.LocalDeclaration;
import org.eclipse.jdt.internal.compiler.ast.SingleNameReference;
-import org.eclipse.jface.viewers.StyledString;
import org.eclipse.recommenders.completion.rcp.IProcessableProposal;
import org.eclipse.recommenders.completion.rcp.IRecommendersCompletionContext;
-import org.eclipse.recommenders.completion.rcp.ProposalProcessor;
import org.eclipse.recommenders.completion.rcp.ProposalProcessorManager;
import org.eclipse.recommenders.completion.rcp.SessionProcessor;
import org.eclipse.recommenders.internal.completion.rcp.SimpleProposalProcessor;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsCompletionProposalComputer.java b/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsCompletionProposalComputer.java
index 3bb7e92..b39e2fe 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsCompletionProposalComputer.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsCompletionProposalComputer.java
@@ -22,7 +22,6 @@ import java.util.Set;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jdt.core.CompletionContext;
import org.eclipse.jdt.core.ICompilationUnit;
-import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.ui.PreferenceConstants;
import org.eclipse.jdt.ui.text.java.ContentAssistInvocationContext;
import org.eclipse.jdt.ui.text.java.IJavaCompletionProposal;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsSessionProcessor.java b/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsSessionProcessor.java
index 0a6b761..336b0a4 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsSessionProcessor.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp.subwords/src/org/eclipse/recommenders/internal/completion/rcp/subwords/SubwordsSessionProcessor.java
@@ -17,7 +17,6 @@ import static org.eclipse.recommenders.internal.completion.rcp.subwords.Subwords
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
-import java.util.concurrent.atomic.AtomicInteger;
import javax.inject.Inject;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/ProposalProcessorManager.java b/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/ProposalProcessorManager.java
index a91f454..4b52234 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/ProposalProcessorManager.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/completion/rcp/ProposalProcessorManager.java
@@ -11,7 +11,6 @@
package org.eclipse.recommenders.completion.rcp;
import java.util.Set;
-import java.util.concurrent.atomic.AtomicInteger;
import org.eclipse.jface.viewers.StyledString;
import org.eclipse.jface.viewers.StyledString.Styler;
diff --git a/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/internal/completion/rcp/BaseRecommendersCompletionContext.java b/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/internal/completion/rcp/BaseRecommendersCompletionContext.java
index 624c6c4..865012f 100644
--- a/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/internal/completion/rcp/BaseRecommendersCompletionContext.java
+++ b/plugins/org.eclipse.recommenders.completion.rcp/src/org/eclipse/recommenders/internal/completion/rcp/BaseRecommendersCompletionContext.java
@@ -48,7 +48,6 @@ import org.eclipse.jdt.internal.compiler.ast.MessageSend;
import org.eclipse.jdt.internal.compiler.ast.ThisReference;
import org.eclipse.jdt.internal.compiler.lookup.Binding;
import org.eclipse.jdt.internal.compiler.lookup.MethodBinding;
-import org.eclipse.jdt.internal.compiler.lookup.MethodScope;
import org.eclipse.jdt.internal.compiler.lookup.MissingTypeBinding;
import org.eclipse.jdt.internal.compiler.lookup.Scope;
import org.eclipse.jdt.internal.compiler.lookup.TypeBinding;
diff --git a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/SelfCallsProvider.java b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/SelfCallsProvider.java
index 546173c..0c991e6 100644
--- a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/SelfCallsProvider.java
+++ b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/SelfCallsProvider.java
@@ -14,7 +14,6 @@ import static java.lang.String.format;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.createLabel;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.renderMethodDirectivesBlock;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.setInfoBackgroundColor;
-import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.setInfoForegroundColor;
import static org.eclipse.recommenders.utils.TreeBag.newTreeBag;
import java.util.concurrent.ExecutionException;
@@ -24,12 +23,10 @@ import javax.inject.Inject;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
import org.eclipse.jdt.core.ITypeRoot;
-import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.recommenders.extdoc.ClassSelfcallDirectives;
import org.eclipse.recommenders.extdoc.MethodSelfcallDirectives;
import org.eclipse.recommenders.extdoc.rcp.providers.ExtdocProvider;
import org.eclipse.recommenders.extdoc.rcp.providers.JavaSelectionSubscriber;
-import org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils;
import org.eclipse.recommenders.internal.extdoc.rcp.wiring.ManualModelStoreWiring.ClassSelfcallsModelStore;
import org.eclipse.recommenders.internal.extdoc.rcp.wiring.ManualModelStoreWiring.MethodSelfcallsModelStore;
import org.eclipse.recommenders.rcp.events.JavaSelectionEvent;
@@ -40,7 +37,6 @@ import org.eclipse.recommenders.utils.rcp.JdtUtils;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
import com.google.common.base.Optional;
import com.google.common.eventbus.EventBus;
diff --git a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/StaticHooksFinder.java b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/StaticHooksFinder.java
index 878db2e..1d7f551 100644
--- a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/StaticHooksFinder.java
+++ b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/providers/StaticHooksFinder.java
@@ -15,13 +15,11 @@ import static com.google.common.base.Optional.of;
import static org.eclipse.jdt.ui.JavaElementLabels.M_APP_RETURNTYPE;
import static org.eclipse.jdt.ui.JavaElementLabels.M_PARAMETER_TYPES;
import static org.eclipse.jdt.ui.JavaElementLabels.getElementLabel;
-import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.createColor;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.createComposite;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.createLabel;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.setInfoBackgroundColor;
import static org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils.setInfoForegroundColor;
import static org.eclipse.recommenders.rcp.events.JavaSelectionEvent.JavaSelectionLocation.METHOD_DECLARATION;
-import static org.eclipse.swt.SWT.COLOR_INFO_FOREGROUND;
import java.util.Comparator;
import java.util.List;
@@ -41,7 +39,6 @@ import org.eclipse.jdt.ui.JavaElementLabels;
import org.eclipse.jface.resource.JFaceResources;
import org.eclipse.recommenders.extdoc.rcp.providers.ExtdocProvider;
import org.eclipse.recommenders.extdoc.rcp.providers.JavaSelectionSubscriber;
-import org.eclipse.recommenders.internal.extdoc.rcp.ui.ExtdocUtils;
import org.eclipse.recommenders.rcp.RecommendersPlugin;
import org.eclipse.recommenders.rcp.events.JavaSelectionEvent;
import org.eclipse.recommenders.utils.IOUtils;
diff --git a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/ui/SubscriptionManager.java b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/ui/SubscriptionManager.java
index 458b599..8911f29 100644
--- a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/ui/SubscriptionManager.java
+++ b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/ui/SubscriptionManager.java
@@ -25,11 +25,9 @@ import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.recommenders.extdoc.rcp.providers.ExtdocProvider;
-import org.eclipse.recommenders.extdoc.rcp.providers.ExtdocProvider.Status;
import org.eclipse.recommenders.extdoc.rcp.providers.JavaSelectionSubscriber;
import org.eclipse.recommenders.rcp.events.JavaSelectionEvent;
import org.eclipse.recommenders.rcp.events.JavaSelectionEvent.JavaSelectionLocation;
-import org.eclipse.recommenders.utils.Checks;
import org.eclipse.recommenders.utils.Tuple;
import org.eclipse.swt.widgets.Composite;
diff --git a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/wiring/ExtdocModule.java b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/wiring/ExtdocModule.java
index 206467d..110488f 100644
--- a/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/wiring/ExtdocModule.java
+++ b/plugins/org.eclipse.recommenders.extdoc.rcp/src/org/eclipse/recommenders/internal/extdoc/rcp/wiring/ExtdocModule.java
@@ -36,7 +36,6 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
import com.google.common.base.Optional;
import com.google.common.collect.Lists;
-import com.google.common.eventbus.EventBus;
import com.google.inject.AbstractModule;
import com.google.inject.BindingAnnotation;
import com.google.inject.Provides;
diff --git a/plugins/org.eclipse.recommenders.jayes.serialization/src/org/eclipse/recommenders/commons/bayesnet/BayesianNetwork.java b/plugins/org.eclipse.recommenders.jayes.serialization/src/org/eclipse/recommenders/commons/bayesnet/BayesianNetwork.java
index 147ee73..726b7ac 100644
--- a/plugins/org.eclipse.recommenders.jayes.serialization/src/org/eclipse/recommenders/commons/bayesnet/BayesianNetwork.java
+++ b/plugins/org.eclipse.recommenders.jayes.serialization/src/org/eclipse/recommenders/commons/bayesnet/BayesianNetwork.java
@@ -10,7 +10,6 @@
*/
package org.eclipse.recommenders.commons.bayesnet;
-import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
diff --git a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/ModelRepository.java b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/ModelRepository.java
index 120c8cb..5922c1d 100644
--- a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/ModelRepository.java
+++ b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/ModelRepository.java
@@ -16,7 +16,6 @@ import static org.apache.commons.lang3.StringUtils.isEmpty;
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
import java.io.File;
-import java.io.IOException;
import java.net.URI;
import java.nio.charset.Charset;
import java.util.ArrayList;
@@ -70,7 +69,6 @@ import com.google.common.base.Optional;
import com.google.common.collect.Lists;
import com.google.common.io.Files;
import com.ning.http.client.AsyncHttpClient;
-import com.ning.http.client.AsyncHttpClient.BoundRequestBuilder;
import com.ning.http.client.Response;
@Singleton
diff --git a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/UpdateModelIndexJob.java b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/UpdateModelIndexJob.java
index 2b53936..c0d8fc6 100644
--- a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/UpdateModelIndexJob.java
+++ b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/repo/UpdateModelIndexJob.java
@@ -14,7 +14,6 @@ import static org.apache.commons.io.FileUtils.cleanDirectory;
import static org.eclipse.recommenders.internal.rcp.repo.ModelRepositoryIndex.INDEX_ARTIFACT;
import java.io.File;
-import java.io.StringWriter;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.IStatus;
diff --git a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/ui/PreferencePage.java b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/ui/PreferencePage.java
index 506791d..486371f 100644
--- a/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/ui/PreferencePage.java
+++ b/plugins/org.eclipse.recommenders.rcp/src/org/eclipse/recommenders/internal/rcp/ui/PreferencePage.java
@@ -24,7 +24,6 @@ import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
diff --git a/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/index/IndexCommands.java b/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/index/IndexCommands.java
index 9f1626a..71fee27 100644
--- a/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/index/IndexCommands.java
+++ b/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/index/IndexCommands.java
@@ -15,7 +15,6 @@ import static org.eclipse.recommenders.utils.Checks.ensureExists;
import java.io.File;
import org.apache.felix.service.command.Descriptor;
-import org.apache.felix.service.command.Parameter;
import org.eclipse.recommenders.rdk.utils.Commands.CommandProvider;
import org.eclipse.recommenders.utils.annotations.Provisional;
diff --git a/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/utils/Artifacts.java b/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/utils/Artifacts.java
index 64f76ac..6834c6c 100644
--- a/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/utils/Artifacts.java
+++ b/plugins/org.eclipse.recommenders.rdk/src/org/eclipse/recommenders/rdk/utils/Artifacts.java
@@ -21,8 +21,6 @@ import static org.apache.commons.lang3.StringUtils.split;
import java.io.File;
import java.io.IOException;
-import java.util.Collection;
-import java.util.List;
import java.util.jar.JarFile;
import javax.xml.parsers.DocumentBuilder;
@@ -34,10 +32,6 @@ import javax.xml.xpath.XPathExpression;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
-import org.apache.commons.io.FileUtils;
-import org.apache.commons.io.filefilter.DirectoryFileFilter;
-import org.apache.commons.io.filefilter.IOFileFilter;
-import org.apache.commons.io.filefilter.SuffixFileFilter;
import org.eclipse.recommenders.utils.annotations.Provisional;
import org.sonatype.aether.artifact.Artifact;
import org.sonatype.aether.util.artifact.DefaultArtifact;
diff --git a/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/local/StringCompareSearchEngine.java b/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/local/StringCompareSearchEngine.java
index 071530f..aa6e364 100644
--- a/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/local/StringCompareSearchEngine.java
+++ b/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/local/StringCompareSearchEngine.java
@@ -13,16 +13,12 @@ package org.eclipse.recommenders.snipmatch.local;
import java.io.File;
import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Type;
import java.util.ArrayList;
-import java.util.LinkedList;
import java.util.List;
-import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-import org.eclipse.jface.operation.IRunnableWithProgress;
import org.eclipse.recommenders.snipmatch.core.ArgumentMatchNode;
import org.eclipse.recommenders.snipmatch.core.Effect;
import org.eclipse.recommenders.snipmatch.core.EffectMatchNode;
diff --git a/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/rcp/LoginBox.java b/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/rcp/LoginBox.java
index 7db915f..72bf67c 100644
--- a/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/rcp/LoginBox.java
+++ b/plugins/org.eclipse.recommenders.snipmatch.rcp/src/org/eclipse/recommenders/snipmatch/rcp/LoginBox.java
@@ -13,7 +13,6 @@ import java.net.URL;
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
import org.eclipse.core.runtime.preferences.InstanceScope;
import org.eclipse.recommenders.snipmatch.search.ClientSwitcher;
-import org.eclipse.recommenders.snipmatch.search.SearchClient;
import org.eclipse.recommenders.snipmatch.web.ILoginListener;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
diff --git a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/calls/QueryTest.xtend b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/calls/QueryTest.xtend
index 7fd2a41..8a80692 100644
--- a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/calls/QueryTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/calls/QueryTest.xtend
@@ -8,9 +8,8 @@ import org.eclipse.recommenders.tests.CodeBuilder
import org.junit.Test
import static junit.framework.Assert.*
-import org.eclipse.recommenders.utils.names.IMethodName
import java.util.Set
-import com.google.common.collect.Sets
+
class QueryTest {
diff --git a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
index 0df922e..62a5baa 100644
--- a/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.completion.rcp/src/org/eclipse/recommenders/tests/completion/rcp/chain/ChainCompletionScenariosTest.xtend
@@ -3,10 +3,7 @@ package org.eclipse.recommenders.tests.completion.rcp.chain
import java.util.List
import org.apache.commons.lang3.StringUtils
import org.eclipse.core.resources.ResourcesPlugin
-import org.eclipse.recommenders.internal.completion.rcp.chain.ChainCompletionProposal
-import org.eclipse.recommenders.internal.completion.rcp.chain.ChainCompletionProposalComputer
import org.eclipse.recommenders.tests.CodeBuilder
-import org.eclipse.recommenders.tests.completion.rcp.JavaContentAssistContextMock
import org.eclipse.recommenders.tests.completion.rcp.RecommendersCompletionContextFactoryMock
import org.eclipse.recommenders.tests.jdt.JavaProjectFixture
import org.junit.Before
diff --git a/tests/org.eclipse.recommenders.tests.rcp/manual/org/eclipse/recommenders/tests/rcp/repo/CallModelReadabilityTests.java b/tests/org.eclipse.recommenders.tests.rcp/manual/org/eclipse/recommenders/tests/rcp/repo/CallModelReadabilityTests.java
index 855010a..e021ba9 100644
--- a/tests/org.eclipse.recommenders.tests.rcp/manual/org/eclipse/recommenders/tests/rcp/repo/CallModelReadabilityTests.java
+++ b/tests/org.eclipse.recommenders.tests.rcp/manual/org/eclipse/recommenders/tests/rcp/repo/CallModelReadabilityTests.java
@@ -7,7 +7,6 @@ import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
-import java.util.zip.ZipException;
import java.util.zip.ZipFile;
import org.apache.commons.io.FileUtils;
@@ -16,7 +15,6 @@ import org.apache.commons.io.filefilter.DirectoryFileFilter;
import org.apache.commons.io.filefilter.SuffixFileFilter;
import org.eclipse.recommenders.commons.bayesnet.BayesianNetwork;
import org.eclipse.recommenders.internal.completion.rcp.calls.net.BayesNetWrapper;
-import org.eclipse.recommenders.jayes.BayesNet;
import org.eclipse.recommenders.utils.names.VmTypeName;
import org.junit.Test;
diff --git a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaElementSelectionTest.xtend b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaElementSelectionTest.xtend
index defe09b..f72f202 100644
--- a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaElementSelectionTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaElementSelectionTest.xtend
@@ -13,8 +13,6 @@ import org.junit.Test
import static junit.framework.Assert.*
import static org.eclipse.recommenders.tests.XtendUtils.*
import static org.mockito.Mockito.*
-import org.eclipse.jdt.core.ITypeRoot
-import org.eclipse.jdt.core.JavaModelException
class JavaElementSelectionTest {
diff --git a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaSelectionLocationTest.xtend b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaSelectionLocationTest.xtend
index 117d1b7..0873c3b 100644
--- a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaSelectionLocationTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/providers/JavaSelectionLocationTest.xtend
@@ -7,7 +7,6 @@ import static junit.framework.Assert.*
import static org.eclipse.recommenders.tests.jdt.AstUtils.*
import static org.eclipse.recommenders.tests.XtendUtils.*
import static org.eclipse.recommenders.rcp.events.JavaSelectionEvent$JavaSelectionLocation.*
-import org.eclipse.recommenders.rcp.events.JavaSelectionEvent$JavaSelectionLocation
import static org.eclipse.recommenders.internal.rcp.providers.JavaSelectionUtils.*
class JavaSelectionLocationTest {
diff --git a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/utils/BindingsResolverTest.xtend b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/utils/BindingsResolverTest.xtend
index 3a941f3..d70e1ff 100644
--- a/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/utils/BindingsResolverTest.xtend
+++ b/tests/org.eclipse.recommenders.tests.rcp/src/org/eclipse/recommenders/tests/rcp/utils/BindingsResolverTest.xtend
@@ -1,8 +1,6 @@
package org.eclipse.recommenders.tests.rcp.utils
import org.eclipse.core.resources.ResourcesPlugin
-import org.eclipse.core.runtime.NullProgressMonitor
-import org.eclipse.jdt.core.dom.AST
import org.eclipse.jdt.core.dom.ITypeBinding
import org.eclipse.jdt.core.dom.SimpleName
import org.eclipse.recommenders.tests.jdt.JavaProjectFixture
diff --git a/tests/org.eclipse.recommenders.tests.util/src/org/eclipse/recommenders/utils/gson/GsonUtilTest.java b/tests/org.eclipse.recommenders.tests.util/src/org/eclipse/recommenders/utils/gson/GsonUtilTest.java
index 913a756..a0ec610 100644
--- a/tests/org.eclipse.recommenders.tests.util/src/org/eclipse/recommenders/utils/gson/GsonUtilTest.java
+++ b/tests/org.eclipse.recommenders.tests.util/src/org/eclipse/recommenders/utils/gson/GsonUtilTest.java
@@ -11,8 +11,6 @@
package org.eclipse.recommenders.utils.gson;
import static org.junit.Assert.*;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
import java.io.ByteArrayInputStream;
import java.io.File;