Skip to content

Commit

Permalink
Update urls
Browse files Browse the repository at this point in the history
  • Loading branch information
japborst committed Sep 20, 2022
1 parent f51f542 commit 07a0034
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ $ mvn clean install
[WARNING] Example.java:[9,34] [tech.picnic.errorprone.refastertemplates.BigDecimalTemplates.BigDecimalZero]
Did you mean 'return BigDecimal.ZERO;'?
[WARNING] Example.java:[13,35] [IdentityConversion] This method invocation appears redundant; remove it or suppress this warning and add a comment explaining its purpose
(see https://error-prone.picnic.tech/bug_patterns/IdentityConversion)
(see https://error-prone.picnic.tech/bugpatterns/IdentityConversion)
Did you mean 'return set;' or '@SuppressWarnings("IdentityConversion") public ImmutableSet<Integer> getSet() {'?
[INFO] 2 warnings
[INFO] -------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "`JsonCreator.Mode` should be set for single-argument creators",
link = "https://error-prone.picnic.tech/bug_patterns/AmbiguousJsonCreator",
link = "https://error-prone.picnic.tech/bugpatterns/AmbiguousJsonCreator",
linkType = CUSTOM,
severity = WARNING,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Prefer `.isNull()` over `.isEqualTo(null)`",
link = "https://error-prone.picnic.tech/bug_patterns/AssertJIsNull",
link = "https://error-prone.picnic.tech/bugpatterns/AssertJIsNull",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Omit `@Autowired` on a class' sole constructor, as it is redundant",
link = "https://error-prone.picnic.tech/bug_patterns/AutowiredConstructor",
link = "https://error-prone.picnic.tech/bugpatterns/AutowiredConstructor",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Omit redundant syntax from annotation declarations",
link = "https://error-prone.picnic.tech/bug_patterns/CanonicalAnnotationSyntax",
link = "https://error-prone.picnic.tech/bugpatterns/CanonicalAnnotationSyntax",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@BugPattern(
summary =
"Avoid `Collectors.to{List,Map,Set}` in favour of alternatives that emphasize (im)mutability",
link = "https://error-prone.picnic.tech/bug_patterns/CollectorMutability",
link = "https://error-prone.picnic.tech/bugpatterns/CollectorMutability",
linkType = CUSTOM,
severity = WARNING,
tags = FRAGILE_CODE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Empty method can likely be deleted",
link = "https://error-prone.picnic.tech/bug_patterns/EmptyMethod",
link = "https://error-prone.picnic.tech/bugpatterns/EmptyMethod",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Test code should follow the Google Java style",
link = "https://error-prone.picnic.tech/bug_patterns/ErrorProneTestHelperSourceFormat",
link = "https://error-prone.picnic.tech/bugpatterns/ErrorProneTestHelperSourceFormat",
linkType = CUSTOM,
severity = SUGGESTION,
tags = STYLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Make sure `Ordering#explicit` lists all of an enum's values",
link = "https://error-prone.picnic.tech/bug_patterns/ExplicitEnumOrdering",
link = "https://error-prone.picnic.tech/bugpatterns/ExplicitEnumOrdering",
linkType = CUSTOM,
severity = WARNING,
tags = FRAGILE_CODE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
summary =
"`Flux#flatMap` and `Flux#flatMapSequential` have subtle semantics; "
+ "please use `Flux#concatMap` or explicitly specify the desired amount of concurrency",
link = "https://error-prone.picnic.tech/bug_patterns/FluxFlatMapUsage",
link = "https://error-prone.picnic.tech/bugpatterns/FluxFlatMapUsage",
linkType = CUSTOM,
severity = ERROR,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Defer string concatenation to the invoked method",
link = "https://error-prone.picnic.tech/bug_patterns/FormatStringConcatenation",
link = "https://error-prone.picnic.tech/bugpatterns/FormatStringConcatenation",
linkType = CUSTOM,
severity = WARNING,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Avoid or clarify identity conversions",
link = "https://error-prone.picnic.tech/bug_patterns/IdentityConversion",
link = "https://error-prone.picnic.tech/bugpatterns/IdentityConversion",
linkType = CUSTOM,
severity = WARNING,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
summary =
"`SortedSet` properties of a `@Value.Immutable` or `@Value.Modifiable` type must be "
+ "annotated with `@Value.NaturalOrder` or `@Value.ReverseOrder`",
link = "https://error-prone.picnic.tech/bug_patterns/ImmutablesSortedSetComparator",
link = "https://error-prone.picnic.tech/bugpatterns/ImmutablesSortedSetComparator",
linkType = CUSTOM,
severity = ERROR,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "JUnit method declaration can likely be improved",
link = "https://error-prone.picnic.tech/bug_patterns/JUnitMethodDeclaration",
link = "https://error-prone.picnic.tech/bugpatterns/JUnitMethodDeclaration",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Where possible, sort annotation array attributes lexicographically",
link = "https://error-prone.picnic.tech/bug_patterns/LexicographicalAnnotationAttributeListing",
link = "https://error-prone.picnic.tech/bugpatterns/LexicographicalAnnotationAttributeListing",
linkType = CUSTOM,
severity = SUGGESTION,
tags = STYLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Sort annotations lexicographically where possible",
link = "https://error-prone.picnic.tech/bug_patterns/LexicographicalAnnotationListing",
link = "https://error-prone.picnic.tech/bugpatterns/LexicographicalAnnotationListing",
linkType = CUSTOM,
severity = SUGGESTION,
tags = STYLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Prefer method references over lambda expressions",
link = "https://error-prone.picnic.tech/bug_patterns/MethodReferenceUsage",
link = "https://error-prone.picnic.tech/bugpatterns/MethodReferenceUsage",
linkType = CUSTOM,
severity = SUGGESTION,
tags = STYLE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "The Refaster template contains a method without any Refaster annotations",
link = "https://error-prone.picnic.tech/bug_patterns/MissingRefasterAnnotation",
link = "https://error-prone.picnic.tech/bugpatterns/MissingRefasterAnnotation",
linkType = CUSTOM,
severity = WARNING,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Don't unnecessarily use Mockito's `eq(...)`",
link = "https://error-prone.picnic.tech/bug_patterns/MockitoStubbing",
link = "https://error-prone.picnic.tech/bugpatterns/MockitoStubbing",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@BugPattern(
summary =
"Avoid nesting `Optional`s inside `Optional`s; the resultant code is hard to reason about",
link = "https://error-prone.picnic.tech/bug_patterns/NestedOptionals",
link = "https://error-prone.picnic.tech/bugpatterns/NestedOptionals",
linkType = CUSTOM,
severity = WARNING,
tags = FRAGILE_CODE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Avoid vacuous operations on known non-empty `Mono`s",
link = "https://error-prone.picnic.tech/bug_patterns/NonEmptyMono",
link = "https://error-prone.picnic.tech/bugpatterns/NonEmptyMono",
linkType = CUSTOM,
severity = WARNING,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
summary =
"Ensure invocations of `Comparator#comparing{,Double,Int,Long}` match the return type"
+ " of the provided function",
link = "https://error-prone.picnic.tech/bug_patterns/PrimitiveComparison",
link = "https://error-prone.picnic.tech/bugpatterns/PrimitiveComparison",
linkType = CUSTOM,
severity = WARNING,
tags = PERFORMANCE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Avoid redundant string conversions when possible",
link = "https://error-prone.picnic.tech/bug_patterns/RedundantStringConversion",
link = "https://error-prone.picnic.tech/bugpatterns/RedundantStringConversion",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "`Refaster#anyOf` should be passed at least two parameters",
link = "https://error-prone.picnic.tech/bug_patterns/RefasterAnyOfUsage",
link = "https://error-prone.picnic.tech/bugpatterns/RefasterAnyOfUsage",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Make sure all `@RequestMapping` method parameters are annotated",
link = "https://error-prone.picnic.tech/bug_patterns/RequestMappingAnnotation",
link = "https://error-prone.picnic.tech/bugpatterns/RequestMappingAnnotation",
linkType = CUSTOM,
severity = WARNING,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "`@RequestParam` does not support `ImmutableCollection` and `ImmutableMap` subtypes",
link = "https://error-prone.picnic.tech/bug_patterns/RequestParamType",
link = "https://error-prone.picnic.tech/bugpatterns/RequestParamType",
linkType = CUSTOM,
severity = ERROR,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Scheduled operation must start a new New Relic transaction",
link = "https://error-prone.picnic.tech/bug_patterns/ScheduledTransactionTrace",
link = "https://error-prone.picnic.tech/bugpatterns/ScheduledTransactionTrace",
linkType = CUSTOM,
severity = ERROR,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Make sure SLF4J log statements contain proper placeholders with matching arguments",
link = "https://error-prone.picnic.tech/bug_patterns/Slf4jLogStatement",
link = "https://error-prone.picnic.tech/bugpatterns/Slf4jLogStatement",
linkType = CUSTOM,
severity = WARNING,
tags = LIKELY_ERROR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@BugPattern(
summary =
"Prefer the conciseness of `@{Get,Put,Post,Delete,Patch}Mapping` over `@RequestMapping`",
link = "https://error-prone.picnic.tech/bug_patterns/SpringMvcAnnotation",
link = "https://error-prone.picnic.tech/bugpatterns/SpringMvcAnnotation",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Identifier should be statically imported",
link = "https://error-prone.picnic.tech/bug_patterns/StaticImport",
link = "https://error-prone.picnic.tech/bugpatterns/StaticImport",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@BugPattern(
summary =
"Derive the current time from an existing `Clock` Spring bean, and don't rely on a `Clock`'s time zone",
link = "https://error-prone.picnic.tech/bug_patterns/TimeZoneUsage",
link = "https://error-prone.picnic.tech/bugpatterns/TimeZoneUsage",
linkType = CUSTOM,
severity = WARNING,
tags = FRAGILE_CODE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@AutoService(BugChecker.class)
@BugPattern(
summary = "Write idiomatic code when possible",
link = "https://error-prone.picnic.tech/bug_patterns/AmbiguousJsonCreator",
link = "https://error-prone.picnic.tech/bugpatterns/AmbiguousJsonCreator",
linkType = CUSTOM,
severity = SUGGESTION,
tags = SIMPLIFICATION)
Expand Down

0 comments on commit 07a0034

Please sign in to comment.