Skip to content

Commit

Permalink
drive by tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyweston committed Sep 16, 2018
1 parent 0ea47da commit dc7c7f9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package com.google.code.tempusfugit.concurrency.annotations;
* ensure immutability.
* <p/>
*/
public abstract aspect DeclareImmutableError {
aspect DeclareImmutableError {

pointcut testCase() : within(TestCase+);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
Type lock();
String details() default "";

public static enum Type {
enum Type {
/** An intrinsic lock */
THIS,
/** An inner class disambiguation from {@link GuardedBy.Type#THIS} monitor, qualify with @{link GuardedBy#details} */
Expand All @@ -56,6 +56,6 @@ public static enum Type {
/** A static field, qualify with {@link GuardedBy#details}*/
STATIC_FIELD,
/** The lock object is returned by calling the method, qualify with {@link GuardedBy#details} */
METHOD;
METHOD
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
@Target(METHOD)
@Retention(RUNTIME)
public @interface Repeating {
public abstract int repetition() default 100;
int repetition() default 100;
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static <T> Condition assertion(T actual, Matcher<T> matcher) {
}

public static <T> SelfDescribingCondition assertion(Callable<T, RuntimeException> actual, Matcher<T> matcher) {
return new SelfDescribingMatcherCondition(actual, matcher);
return new SelfDescribingMatcherCondition<T>(actual, matcher);
}

}

0 comments on commit dc7c7f9

Please sign in to comment.