-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
@CanIgnoreReturnValue
annotations (#868)
This cancels out the package-level `@CheckReturnValue` annotations introduced in ff12385 for selected methods. While there, add `@CheckReturnValue` to all remaining packages.
- Loading branch information
1 parent
d084f2d
commit 1803278
Showing
67 changed files
with
249 additions
and
19 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
caffeine/src/javaPoet/java/com/github/benmanes/caffeine/cache/local/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.local; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/javaPoet/java/com/github/benmanes/caffeine/cache/node/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.node; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/javaPoet/java/com/github/benmanes/caffeine/cache/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
caffeine/src/jmh/java/com/github/benmanes/caffeine/cache/impl/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.impl; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/jmh/java/com/github/benmanes/caffeine/cache/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/jmh/java/com/github/benmanes/caffeine/cache/sketch/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.sketch; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/jmh/java/com/github/benmanes/caffeine/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
caffeine/src/jmh/java/com/github/benmanes/caffeine/profiler/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.profiler; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/apache/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.apache; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/cache/buffer/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.buffer; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/cache/issues/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.issues; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/cache/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/cache/stats/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.stats; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/cache/testing/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.cache.testing; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/eclipse/acceptance/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.eclipse.acceptance; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/eclipse/mutable/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.eclipse.mutable; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/eclipse/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.eclipse; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/google/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.google; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/jsr166/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.jsr166; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/lincheck/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.lincheck; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
caffeine/src/test/java/com/github/benmanes/caffeine/testing/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.testing; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
4 changes: 4 additions & 0 deletions
4
...c/main/java/com/github/benmanes/caffeine/examples/coalescing/bulkloader/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@CheckReturnValue | ||
package com.github.benmanes.caffeine.examples.coalescing.bulkloader; | ||
|
||
import com.google.errorprone.annotations.CheckReturnValue; |
Oops, something went wrong.