Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-04-04 07:04:39 +0000
committerAlexander Kurtakov2020-04-04 07:04:39 +0000
commit559aae6dc64f5c2e636de4bcf21f0c477f1ee193 (patch)
tree35986f102b2ac00a285ae7bd7a49d6d9f87c00ef /tests
parent7a6fa7b6e4ca947c326edb5db1edce45a2cf3691 (diff)
downloadeclipse.platform.team-559aae6dc64f5c2e636de4bcf21f0c477f1ee193.tar.gz
eclipse.platform.team-559aae6dc64f5c2e636de4bcf21f0c477f1ee193.tar.xz
eclipse.platform.team-559aae6dc64f5c2e636de4bcf21f0c477f1ee193.zip
Class<?> as identifier Use CreatePatchTest.class to fix the ambiguous null. Change-Id: I214fb46b69dfc35bc84f8f6979dccee66293ef05 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
index ddf327f22..89d81974e 100644
--- a/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
+++ b/tests/org.eclipse.team.tests.cvs.core/src/org/eclipse/team/tests/ccvs/ui/CreatePatchTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2013 IBM Corporation and others.
+ * Copyright (c) 2009, 2020 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -22,8 +22,6 @@ import java.io.InputStreamReader;
import java.io.PrintStream;
import java.net.URL;
-import junit.framework.Test;
-
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
@@ -57,6 +55,8 @@ import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PlatformUI;
+import junit.framework.Test;
+
public class CreatePatchTest extends EclipseTest {
public static final String PATCHDATA = "patchdata";
@@ -308,8 +308,7 @@ public class CreatePatchTest extends EclipseTest {
try {
return serverResp.readLine();
} catch (IOException e) {
- throw new CVSException(new Status(IStatus.ERROR, null,
- null, e));
+ throw new CVSException(new Status(IStatus.ERROR, CreatePatchTest.class, null, e));
}
}

Back to the top