Bug 561712 - Add constructors to Status and MultiStatus to accept
Class<?> as identifier

Use CreatePatchTest.class to fix the ambiguous null.

Change-Id: I214fb46b69dfc35bc84f8f6979dccee66293ef05
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
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 ddf327f..89d8197 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.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.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 @@
 				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));
 				}
 			}