Skip to content

Commit f3fb364

Browse files
author
Vincent Potucek
committed
PoC: Add rewrite support
1 parent 5c23347 commit f3fb364

File tree

32 files changed

+77
-100
lines changed

32 files changed

+77
-100
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
- name: 'Test'
5656
shell: bash
5757
run: ./mvnw -B -P!standard-with-extra-repos -Dtoolchain.skip verify -U -Dmaven.javadoc.skip=true -Dsurefire.toolchain.version=${{ matrix.java }} -f $ROOT_POM
58+
- name: 'Rewrite'
59+
shell: bash
60+
run: ./mvnw -B -P!standard-with-extra-repos -Dtoolchain.skip rewrite:dryRun -U -Dmaven.javadoc.skip=true -Dsurefire.toolchain.version=${{ matrix.java }} -f $ROOT_POM
5861
- name: 'Print Surefire reports'
5962
# Note: Normally a step won't run if the job has failed, but this causes it to
6063
if: ${{ failure() }}

android/guava-testlib/src/com/google/common/escape/testing/package-info.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@
2222
*/
2323
@CheckReturnValue
2424
package com.google.common.escape.testing;
25-
26-
import com.google.errorprone.annotations.CheckReturnValue;

android/guava-testlib/src/com/google/common/testing/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,3 @@
2121
@CheckReturnValue
2222
@NullMarked
2323
package com.google.common.testing;
24-
25-
import com.google.errorprone.annotations.CheckReturnValue;
26-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/base/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,3 @@
5959
@CheckReturnValue
6060
@NullMarked
6161
package com.google.common.base;
62-
63-
import com.google.errorprone.annotations.CheckReturnValue;
64-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/cache/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,3 @@
3131
@CheckReturnValue
3232
@NullMarked
3333
package com.google.common.cache;
34-
35-
import com.google.errorprone.annotations.CheckReturnValue;
36-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/collect/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,3 @@
122122
@CheckReturnValue
123123
@NullMarked
124124
package com.google.common.collect;
125-
126-
import com.google.errorprone.annotations.CheckReturnValue;
127-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/escape/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,3 @@
2727
@CheckReturnValue
2828
@NullMarked
2929
package com.google.common.escape;
30-
31-
import com.google.errorprone.annotations.CheckReturnValue;
32-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/eventbus/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@
2222
@CheckReturnValue
2323
@NullMarked
2424
package com.google.common.eventbus;
25-
26-
import com.google.errorprone.annotations.CheckReturnValue;
27-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/graph/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,3 @@
2424
@CheckReturnValue
2525
@NullMarked
2626
package com.google.common.graph;
27-
28-
import com.google.errorprone.annotations.CheckReturnValue;
29-
import org.jspecify.annotations.NullMarked;

android/guava/src/com/google/common/hash/package-info.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,3 @@
2222
@CheckReturnValue
2323
@NullMarked
2424
package com.google.common.hash;
25-
26-
import com.google.errorprone.annotations.CheckReturnValue;
27-
import org.jspecify.annotations.NullMarked;

0 commit comments

Comments
 (0)