Skip to content

Commit

Permalink
Apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Ao-senXiong committed May 1, 2024
1 parent f739848 commit 7fd8c4c
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/pico/typecheck/PICOAnnotationMirrorHolder.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package pico.typecheck;

import org.checkerframework.checker.initialization.qual.Initialized;
import org.checkerframework.framework.source.SourceChecker;
import org.checkerframework.javacutil.AnnotationBuilder;

Expand Down Expand Up @@ -33,6 +32,5 @@ public static void init(SourceChecker checker) {
AnnotationBuilder.fromClass(elements, ReceiverDependantMutable.class);
IMMUTABLE = AnnotationBuilder.fromClass(elements, Immutable.class);
BOTTOM = AnnotationBuilder.fromClass(elements, Bottom.class);

}
}
1 change: 1 addition & 0 deletions testinput/typecheck/AssignableExample.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package typecheck;

// @skip-test wait for discuss on error reporting line number
import java.util.Date;

Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/CompatabilityBEI1.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import qual.Immutable;
import qual.Mutable;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

@Mutable
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/CompatibilityBEI2.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import qual.Immutable;
import qual.Mutable;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

@Mutable
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/DateCell.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package typecheck;

// @skip-test wait for discussion

import java.util.Date;
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/GenericInterfaces.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import qual.Immutable;
import qual.Mutable;
import qual.Readonly;

// @skip-test wait for discussion

interface MIt<E extends @Readonly Object> {
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/ImmutableClass1.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import qual.PolyMutable;
import qual.Readonly;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

@Immutable
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/ImmutableConstructor.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import qual.Mutable;
import qual.Readonly;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

@Immutable
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/InvalidAssignability.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import qual.Assignable;
import qual.Immutable;

// @skip-test wait for discuss on error reporting line number

public class InvalidAssignability {
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/InvalidBound.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import qual.PolyMutable;
import qual.Readonly;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

// :: error: (class.bound.invalid)
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/ReadonlyConstructor.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package typecheck;

import qual.Readonly;

// @skip-test wait for discuss on error reporting line number

public class ReadonlyConstructor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import qual.Mutable;
import qual.Readonly;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

@ReceiverDependantMutable
Expand Down
1 change: 1 addition & 0 deletions testinput/typecheck/ReceiverTypeOutsideConstructor.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import qual.Immutable;
import qual.Mutable;
import qual.ReceiverDependantMutable;

// @skip-test wait for discuss on error reporting line number

// Immutable class
Expand Down

0 comments on commit 7fd8c4c

Please sign in to comment.