Permalink
Browse files

Fixed Javadoc to reflect rename from ClearSystemProperty

  • Loading branch information...
1 parent e8ffa86 commit db01010e5602c96f407ae8fc108098fa7d030493 @marcphilipp committed Oct 19, 2011
@@ -5,7 +5,7 @@
import org.junit.rules.ExternalResource;
/**
- * The {@code ClearSystemProperty} rule clears a set of system properties to a
+ * The {@code ClearSystemProperties} rule clears a set of system properties to a
* test. After the test the original values are restored.
*
* Let's assume the system property {@code MyProperty} has the value
@@ -14,8 +14,8 @@
* <pre>
* public void MyTest {
* &#064;Rule
- * public final ClearSystemProperty myPropertyIsCleared
- * = new ClearSystemProperty("MyProperty");
+ * public final TestRule myPropertyIsCleared
+ * = new ClearSystemProperties("MyProperty");
*
* &#064;Test
* public void overrideProperty() {
@@ -27,11 +27,11 @@
* The test succeeds and after the test, the system property {@code MyProperty}
* has the value {@code MyValue}.
*
- * The {@code ClearSystemProperty} rule accepts a list of properties:
+ * The {@code ClearSystemProperties} rule accepts a list of properties:
*
* <pre>
* &#064;Rule
- * public final ClearSystemProperty myPropertyIsCleared = new ClearSystemProperty(
+ * public final TestRule myPropertyIsCleared = new ClearSystemProperties(
* &quot;first&quot;, &quot;second&quot;, &quot;third&quot;);
* </pre>
*/

0 comments on commit db01010

Please sign in to comment.