From ea80d1aa27f92ce103c43c0bf70a829d6e31111d Mon Sep 17 00:00:00 2001 From: David Saff Date: Tue, 8 Dec 2009 10:13:21 -0500 Subject: [PATCH] Fix documentation reference to CategoryType --- build.xml | 2 +- src/main/java/junit/runner/Version.java | 2 +- .../java/org/junit/experimental/categories/Categories.java | 6 +++--- .../java/org/junit/experimental/categories/Category.java | 7 +++---- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/build.xml b/build.xml index 5c91915fde59..fe56d623445b 100644 --- a/build.xml +++ b/build.xml @@ -5,7 +5,7 @@ - + diff --git a/src/main/java/junit/runner/Version.java b/src/main/java/junit/runner/Version.java index 8f6156321467..6da23799da5b 100644 --- a/src/main/java/junit/runner/Version.java +++ b/src/main/java/junit/runner/Version.java @@ -9,7 +9,7 @@ private Version() { } public static String id() { - return "4.8"; + return "4.8.1"; } public static void main(String[] args) { diff --git a/src/main/java/org/junit/experimental/categories/Categories.java b/src/main/java/org/junit/experimental/categories/Categories.java index 51941d6f560e..d8ec1d1370d0 100644 --- a/src/main/java/org/junit/experimental/categories/Categories.java +++ b/src/main/java/org/junit/experimental/categories/Categories.java @@ -24,10 +24,10 @@ * Example: * *
- * public interface FastTests extends CategoryType {
+ * public interface FastTests {
  * }
- * 
- * public interface SlowTests extends CategoryType {
+ * 	
+ * public interface SlowTests {
  * }
  * 
  * public static class A {
diff --git a/src/main/java/org/junit/experimental/categories/Category.java b/src/main/java/org/junit/experimental/categories/Category.java
index a8cff0ff65ff..cf60000ef427 100644
--- a/src/main/java/org/junit/experimental/categories/Category.java
+++ b/src/main/java/org/junit/experimental/categories/Category.java
@@ -5,15 +5,14 @@
 
 /**
  * Marks a test class or test method as belonging to one or more categories of tests.
- * The value is an array of interface classes that extend the {@link CategoryType}
- * superinterface.
+ * The value is an array of arbitrary classes.
  * 
  * This annotation is only interpreted by the Categories runner (at present).
  * 
  * For example:
 
-	public interface FastTests extends CategoryType {}
-	public interface SlowTests extends CategoryType {}
+	public interface FastTests {}
+	public interface SlowTests {}
 
 	public static class A {
 		@Test