Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-03-16 07:15:27 +0000
committerAlexander Kurtakov2018-03-16 14:53:17 +0000
commit7f24b625fecc009bb47d24bf877d55ad868914b0 (patch)
treea13363d6265756b5fc4221b5cb2bc77b14bbf7b5 /org.eclipse.m2e.tests.common
parent2929cbe556350a7728d81c63b429caa6b79b2829 (diff)
downloadm2e-core-7f24b625fecc009bb47d24bf877d55ad868914b0.tar.gz
m2e-core-7f24b625fecc009bb47d24bf877d55ad868914b0.tar.xz
m2e-core-7f24b625fecc009bb47d24bf877d55ad868914b0.zip
Remove unneeded suppress warnings.
And some generification where spotted. Change-Id: Ia21fc7aff3b0ffe9de561cd541f02e8dda1f4b8e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.m2e.tests.common')
-rw-r--r--org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/AbstractMavenProjectTestCase.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/AbstractMavenProjectTestCase.java b/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/AbstractMavenProjectTestCase.java
index 6454b4ba..5d8dc703 100644
--- a/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/AbstractMavenProjectTestCase.java
+++ b/org.eclipse.m2e.tests.common/src/org/eclipse/m2e/tests/common/AbstractMavenProjectTestCase.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008-2010 Sonatype, Inc.
+ * Copyright (c) 2008-2018 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -107,7 +107,6 @@ public abstract class AbstractMavenProjectTestCase extends TestCase {
private String oldUserSettingsFile;
- @SuppressWarnings("unchecked")
protected void setUp() throws Exception {
System.out.println("TEST-SETUP: " + getName());
@@ -322,7 +321,7 @@ public abstract class AbstractMavenProjectTestCase extends TestCase {
/**
* Import a test project into the Eclipse workspace
*
- * @param pomLocation - a relative location of the pom file for the project to import
+ * @param pomLocation - a relative location of the pom file for the project to import
* @param configuration - a resolver configuration to be used to configure imported project
* @return created project
*/
@@ -334,9 +333,9 @@ public abstract class AbstractMavenProjectTestCase extends TestCase {
/**
* Import a test project into the Eclipse workspace
*
- * @param pomLocation - a relative location of the pom file for the project to import
+ * @param pomLocation - a relative location of the pom file for the project to import
* @param configuration - a resolver configuration to be used to configure imported project
- * @param listener - listener which will get notified of the raw project creation
+ * @param listener - listener which will get notified of the raw project creation
* @return created project
*/
protected IProject importProject(String pomLocation, ResolverConfiguration configuration,
@@ -349,8 +348,8 @@ public abstract class AbstractMavenProjectTestCase extends TestCase {
/**
* Import test projects into the Eclipse workspace
*
- * @param basedir - a base directory for all projects to import
- * @param pomNames - a relative locations of the pom files for the projects to import
+ * @param basedir - a base directory for all projects to import
+ * @param pomNames - a relative locations of the pom files for the projects to import
* @param configuration - a resolver configuration to be used to configure imported projects
* @return created projects
*/
@@ -362,8 +361,8 @@ public abstract class AbstractMavenProjectTestCase extends TestCase {
/**
* Import test projects into the Eclipse workspace
*
- * @param basedir - a base directory for all projects to import
- * @param pomNames - a relative locations of the pom files for the projects to import
+ * @param basedir - a base directory for all projects to import
+ * @param pomNames - a relative locations of the pom files for the projects to import
* @param configuration - a resolver configuration to be used to configure imported projects
* @return created projects
*/

Back to the top