Some renames and fix constants.
diff --git a/src/main/java/org/junit/contrib/truth/Truth.java b/src/main/java/org/junit/contrib/truth/Truth.java
index eeabf99..62b22ba 100644
--- a/src/main/java/org/junit/contrib/truth/Truth.java
+++ b/src/main/java/org/junit/contrib/truth/Truth.java
@@ -19,20 +19,21 @@
import org.junit.internal.AssumptionViolatedException;
public class Truth {
- public static FailureStrategy THROW_ASSERTION_ERROR = new FailureStrategy() {
- @Override public void fail(String message) {
- throw new AssertionError(message);
- }
- };
+ public static final FailureStrategy THROW_ASSERTION_ERROR =
+ new FailureStrategy() {
+ @Override public void fail(String message) {
+ throw new AssertionError(message);
+ }
+ };
- public static FailureStrategy THROW_ASSUMPTION_VIOLATED_EXCEPTION = new FailureStrategy() {
- @Override public void fail(String message) {
- throw new AssumptionViolatedException(message);
- }
- };
+ public static final FailureStrategy THROW_ASSUMPTION_ERROR =
+ new FailureStrategy() {
+ @Override public void fail(String message) {
+ throw new AssumptionViolatedException(message);
+ }
+ };
- public static TestVerb ASSERT = new TestVerb(THROW_ASSERTION_ERROR);
+ public static final TestVerb ASSERT = new TestVerb(THROW_ASSERTION_ERROR);
- public static TestVerb ASSUME = new TestVerb(
- THROW_ASSUMPTION_VIOLATED_EXCEPTION);
+ public static final TestVerb ASSUME = new TestVerb(THROW_ASSUMPTION_ERROR);
}