Skip to content

Commit

Permalink
Fix Javadoc; remove compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kcooney committed Jan 12, 2011
1 parent d6ccf5b commit d494698
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/java/org/junit/runners/BlockJUnit4ClassRunner.java
Expand Up @@ -18,7 +18,6 @@
import org.junit.internal.runners.statements.InvokeMethod;
import org.junit.internal.runners.statements.RunAfters;
import org.junit.internal.runners.statements.RunBefores;
import org.junit.rules.MethodRule;
import org.junit.rules.RunRules;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
Expand Down Expand Up @@ -181,7 +180,7 @@ private boolean isTestRule(Class<?> type) {

@SuppressWarnings("deprecation")
private boolean isMethodRule(Class<?> type) {
return MethodRule.class.isAssignableFrom(type);
return org.junit.rules.MethodRule.class.isAssignableFrom(type);
}

/**
Expand Down Expand Up @@ -366,8 +365,7 @@ private List<org.junit.rules.MethodRule> getMethodRules(Object target) {
* Returns a {@link Statement}: apply all non-static {@link Value} fields
* annotated with {@link Rule}.
*
* @param statement
* the base statement
* @param statement The base statement
* @return a RunRules statement if any class-level {@link Rule}s are
* found, or the base statement
*/
Expand Down

0 comments on commit d494698

Please sign in to comment.