Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-04-17 10:55:16 +0000
committerAlexander Kurtakov2019-04-17 11:24:36 +0000
commitca7a24d40322f481ddee4bef4a5bdf5bdc317730 (patch)
tree913c0d3d664494f904325ac4e9e01ffb718a6f87 /tests
parent13e262c90c87ff0d0261ab9706b151e915cb0b11 (diff)
downloadeclipse.platform.team-ca7a24d40322f481ddee4bef4a5bdf5bdc317730.tar.gz
eclipse.platform.team-ca7a24d40322f481ddee4bef4a5bdf5bdc317730.tar.xz
eclipse.platform.team-ca7a24d40322f481ddee4bef4a5bdf5bdc317730.zip
Remove useless non-javadoc/@see comments. (take 4)I20190417-1800
Put @Override instead where needed. Change-Id: I3798bfbb5fd3c05c16531f7fac7885d2f6eb65b7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java15
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java15
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java10
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java7
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/regression/PessimisticRepositoryProvider.java3
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/IsModifiedTests.java6
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/WatchEditTest.java19
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSWorkspaceSubscriberTest.java2
8 files changed, 12 insertions, 65 deletions
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java
index 7f17558c3..d1efd473f 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderBic.java
@@ -25,34 +25,19 @@ public class RepositoryProviderBic extends RepositoryProvider {
private IMoveDeleteHook mdh;
private IFileModificationValidator mv;
- /*
- * @see RepositoryProvider#configureProject()
- */
public void configureProject() throws CoreException {
}
- /*
- * @see RepositoryProvider#getID()
- */
public String getID() {
return NATURE_ID;
}
- /*
- * @see IProjectNature#deconfigure()
- */
public void deconfigure() throws CoreException {
}
- /*
- * @see RepositoryProvider#getFileModificationValidator()
- */
public IFileModificationValidator getFileModificationValidator() {
return mv;
}
- /*
- * @see RepositoryProvider#getMoveDeleteHook()
- */
public IMoveDeleteHook getMoveDeleteHook() {
return mdh;
}
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java
index 444055285..baf35a567 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderNaish.java
@@ -23,21 +23,12 @@ public class RepositoryProviderNaish extends RepositoryProvider {
final public static String NATURE_ID = "org.eclipse.team.tests.core.naish-provider";
private IMoveDeleteHook mdh;
private IFileModificationValidator mv;
- /*
- * @see RepositoryProvider#configureProject()
- */
public void configureProject() throws CoreException {
}
- /*
- * @see RepositoryProvider#getID()
- */
public String getID() {
return NATURE_ID;
}
- /*
- * @see IProjectNature#deconfigure()
- */
public void deconfigure() throws CoreException {
}
@@ -48,16 +39,10 @@ public class RepositoryProviderNaish extends RepositoryProvider {
public void setMoveDeleteHook(IMoveDeleteHook mdh) {
this.mdh = mdh;
}
- /*
- * @see RepositoryProvider#getFileModificationValidator()
- */
public IFileModificationValidator getFileModificationValidator() {
return mv;
}
- /*
- * @see RepositoryProvider#getMoveDeleteHook()
- */
public IMoveDeleteHook getMoveDeleteHook() {
return mdh;
}
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java
index a549e1b10..d0b0b1dd5 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderOtherSport.java
@@ -20,21 +20,13 @@ public class RepositoryProviderOtherSport extends RepositoryProvider {
final public static String NATURE_ID = "org.eclipse.team.tests.core.other";
- /*
- * @see RepositoryProvider#configureProject()
- */
public void configureProject() throws CoreException {
}
- /*
- * @see RepositoryProvider#getID()
- */
public String getID() {
return NATURE_ID;
}
- /*
- * @see IProjectNature#deconfigure()
- */
+
public void deconfigure() throws CoreException {
}
}
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java
index dd8fa7a42..27475f496 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java
@@ -21,9 +21,7 @@ import org.eclipse.team.core.*;
public class RepositoryProviderTypeBic extends RepositoryProviderType {
File createdFile;
- /**
- * @see org.eclipse.team.core.RepositoryProviderType#getProjectSetCapability()
- */
+
public ProjectSetCapability getProjectSetCapability() {
return new ProjectSetCapability() {
public IProject[] addToWorkspace(String[] referenceStrings,
@@ -40,9 +38,6 @@ public class RepositoryProviderTypeBic extends RepositoryProviderType {
};
}
- /**
- * @return File
- */
public File getCreatedFile() {
return createdFile;
}
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/regression/PessimisticRepositoryProvider.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/regression/PessimisticRepositoryProvider.java
index cf1f8bf60..c2ebc1646 100644
--- a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/regression/PessimisticRepositoryProvider.java
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/regression/PessimisticRepositoryProvider.java
@@ -49,9 +49,6 @@ public class PessimisticRepositoryProvider extends RepositoryProvider implements
public boolean canHandleLinkedResourceURI() {
return true;
}
- /*
- * @see IRepositoryProvider#getFileModificationValidator()
- */
public IFileModificationValidator getFileModificationValidator() {
return soleInstance;
}
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/IsModifiedTests.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/IsModifiedTests.java
index 799187e35..1f76bd56c 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/IsModifiedTests.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/IsModifiedTests.java
@@ -145,9 +145,6 @@ public class IsModifiedTests extends EclipseTest {
}
}
- /**
- * @see junit.framework.TestCase#setUp()
- */
@Override
protected void setUp() throws Exception {
super.setUp();
@@ -156,9 +153,6 @@ public class IsModifiedTests extends EclipseTest {
ResourceStateChangeListeners.getListener().addResourceStateChangeListener(listener);
}
- /**
- * @see junit.framework.TestCase#tearDown()
- */
@Override
protected void tearDown() throws Exception {
previouslyModified.clear();
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/WatchEditTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/WatchEditTest.java
index 7e448d3d1..342597b44 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/WatchEditTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/provider/WatchEditTest.java
@@ -15,10 +15,9 @@ package org.eclipse.team.tests.ccvs.core.provider;
import java.io.IOException;
-import junit.framework.Test;
-import junit.framework.TestSuite;
-
-import org.eclipse.core.resources.*;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.team.core.TeamException;
import org.eclipse.team.internal.ccvs.core.CVSProviderPlugin;
@@ -26,6 +25,9 @@ import org.eclipse.team.internal.ccvs.core.CVSTag;
import org.eclipse.team.tests.ccvs.core.CVSTestSetup;
import org.eclipse.team.tests.ccvs.core.EclipseTest;
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
/**
* Test the cvs watch/edit functionality
*/
@@ -51,6 +53,7 @@ public class WatchEditTest extends EclipseTest {
//return new CVSTestSetup(new WatchEditTest("testReadOnly"));
}
+ @Override
protected boolean isFailOnSyncInfoMismatch() {
// See bug 198382
return CVSTestSetup.FAIL_ON_BAD_DIFF ;
@@ -116,17 +119,13 @@ public class WatchEditTest extends EclipseTest {
assertEquals(project, copy);
}
- /**
- * @see junit.framework.TestCase#setUp()
- */
+ @Override
protected void setUp() throws Exception {
super.setUp();
setReadOnly(true);
}
- /**
- * @see junit.framework.TestCase#tearDown()
- */
+ @Override
protected void tearDown() throws Exception {
super.tearDown();
setReadOnly(false);
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSWorkspaceSubscriberTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSWorkspaceSubscriberTest.java
index a526c63ea..bd0c14a73 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSWorkspaceSubscriberTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/core/subscriber/CVSWorkspaceSubscriberTest.java
@@ -1194,7 +1194,7 @@ public class CVSWorkspaceSubscriberTest extends CVSSyncSubscriberTest {
}
/*
- * @see https://bugs.eclipse.org/bugs/show_bug.cgi?id=40221
+ * Test https://bugs.eclipse.org/bugs/show_bug.cgi?id=40221
*/
public void testConflictingFolderDeletion() throws CoreException {
// Create a test project (which commits it as well)

Back to the top