From 8dfabce0fefe10d4c8b67f44eeca00f6ab6a3070 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sun, 11 Feb 2024 16:27:52 +0100 Subject: [PATCH] Post-rebase tweaks --- .../guidelines/bugpatterns/ErrorProneRuntimeClasspath.java | 5 +++-- .../bugpatterns/ExhaustiveRefasterTypeMigration.java | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ErrorProneRuntimeClasspath.java b/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ErrorProneRuntimeClasspath.java index ae384cfb46..1a13aba94f 100644 --- a/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ErrorProneRuntimeClasspath.java +++ b/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ErrorProneRuntimeClasspath.java @@ -50,8 +50,9 @@ @AutoService(BugChecker.class) @BugPattern( summary = - "Prefer `Class#getCanonicalName()` over an equivalent string literal if and only if the " - + "type will be on the runtime classpath", + """ + Prefer `Class#getCanonicalName()` over an equivalent string literal if and only if the \ + type will be on the runtime classpath""", link = BUG_PATTERNS_BASE_URL + "ErrorProneRuntimeClasspath", linkType = CUSTOM, severity = SUGGESTION, diff --git a/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ExhaustiveRefasterTypeMigration.java b/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ExhaustiveRefasterTypeMigration.java index b5c5c0d7a4..9874b0f4d8 100644 --- a/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ExhaustiveRefasterTypeMigration.java +++ b/error-prone-guidelines/src/main/java/tech/picnic/errorprone/guidelines/bugpatterns/ExhaustiveRefasterTypeMigration.java @@ -72,8 +72,9 @@ @AutoService(BugChecker.class) @BugPattern( summary = - "The set of unmigrated methods listed by the `@TypeMigration` annotation must be minimal " - + "yet exhaustive", + """ + The set of unmigrated methods listed by the `@TypeMigration` annotation must be minimal \ + yet exhaustive""", link = BUG_PATTERNS_BASE_URL + "ExhaustiveRefasterTypeMigration", linkType = CUSTOM, severity = WARNING,