CVS: junit/src/org/junit/experimental/imposterization ThrownMatcher.java, 1.1, 1.2

David Saff <[email protected]> Mon, 09 Jul 2007 11:49:23 -0700
Newsgroups gmane.comp.java.junit.devel
Message-ID <[email protected]>
Update of /cvsroot/junit/junit/src/org/junit/experimental/imposterization
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv28163/src/org/junit/experimental/imposterization

Modified Files:
	ThrownMatcher.java 
Log Message:
No tests rely on hamcrest-all

Index: ThrownMatcher.java
===================================================================
RCS file: /cvsroot/junit/junit/src/org/junit/experimental/imposterization/ThrownMatcher.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ThrownMatcher.java	2 Jul 2007 18:11:02 -0000	1.1
+++ ThrownMatcher.java	9 Jul 2007 18:49:21 -0000	1.2
@@ -3,8 +3,8 @@
  */
 package org.junit.experimental.imposterization;
 
+import static org.hamcrest.CoreMatchers.is;
 import org.hamcrest.Matcher;
-import org.hamcrest.Matchers;
 import org.jmock.api.Invocation;
 import org.jmock.api.Invokable;
 import org.junit.Assert;
@@ -47,7 +47,7 @@
 	}
 
 	public static ThrownMatcher assertReturnsNormally() {
-		return assertThrownException(Matchers.is(((Object) null)));
+		return assertThrownException(is(((Object) null)));
 	}
 
 	public static ThrownMatcher assertThrownException(Matcher<?> theMatcher) {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/