Skip to content

Commit

Permalink
Re-enable errorprone
Browse files Browse the repository at this point in the history
  • Loading branch information
fluentfuture committed Feb 15, 2025
1 parent 71acf4f commit d654a49
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Add the following to pom.xml:
<dependency>
<groupId>com.google.mug</groupId>
<artifactId>mug</artifactId>
<version>8.3</version>
<version>8.4</version>
</dependency>
```

Expand All @@ -48,7 +48,7 @@ Add `mug-errorprone` to your annotationProcessorPaths:
<path>
<groupId>com.google.mug</groupId>
<artifactId>mug-errorprone</artifactId>
<version>8.3</version>
<version>8.4</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -63,7 +63,7 @@ Protobuf utils ([javadoc](https://google.github.io/mug/apidocs/com/google/mu/pro
<dependency>
<groupId>com.google.mug</groupId>
<artifactId>mug-protobuf</artifactId>
<version>8.3</version>
<version>8.4</version>
</dependency>
```

Expand All @@ -72,17 +72,17 @@ Guava add-ons (with [`SafeSql`](https://google.github.io/mug/apidocs/com/google/
<dependency>
<groupId>com.google.mug</groupId>
<artifactId>mug-guava</artifactId>
<version>8.3</version>
<version>8.4</version>
</dependency>
```

### Gradle

Add to build.gradle:
```
implementation 'com.google.mug:mug:8.3'
implementation 'com.google.mug:mug-guava:8.3'
implementation 'com.google.mug:mug-protobuf:8.3'
implementation 'com.google.mug:mug:8.4'
implementation 'com.google.mug:mug-guava:8.4'
implementation 'com.google.mug:mug-protobuf:8.4'
```


Expand Down
4 changes: 2 additions & 2 deletions mug-guava/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<artifactId>error_prone_core</artifactId>
<version>2.23.0</version>
</path>
<!--path>
<path>
<groupId>${project.groupId}</groupId>
<artifactId>mug-errorprone</artifactId>
<version>${project.version}</version>
</path-->
</path>
<!-- Other annotation processors go here.
If 'annotationProcessorPaths' is set, processors will no longer be
discovered on the regular -classpath; see also 'Using Error Prone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void conditionalOperator_evaluateToFalse() {
}

@Test
@SuppressWarnings("StringFormatArgsCheck")
public void conditionalOperator_nonBooleanArg_disallowed() {
IllegalArgumentException thrown =
assertThrows(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void conditionalOperator_evaluateToFalse() {
}

@Test
@SuppressWarnings("StringFormatArgsCheck")
public void conditionalOperator_nonBooleanArg_disallowed() {
IllegalArgumentException thrown =
assertThrows(
Expand Down

0 comments on commit d654a49

Please # to comment.