using formatter #3687
Annotations
13 warnings
|
Analyze (java)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: github/codeql-action/analyze@v3, github/codeql-action/init@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Analyze (java):
mug/src/test/java/com/google/mu/util/SubstringPatternTest.java#L2018
[InlineMeInliner] Migrate (via inlining) away from `Strings.repeat()`. NOTE: this is an unvalidated inlining! Reasoning: Java 11+ API only
|
|
Analyze (java):
mug/src/test/java/com/google/mu/util/SubstringPatternTest.java#L1950
[InlineMeInliner] Migrate (via inlining) away from `Strings.repeat()`. NOTE: this is an unvalidated inlining! Reasoning: Java 11+ API only
|
|
Analyze (java):
mug/src/test/java/com/google/mu/collect/MoreCollectionsTest.java#L193
[JdkObsolete] It is very rare for LinkedList to out-perform ArrayList or ArrayDeque. Avoid it unless you're willing to invest a lot of time into benchmarking. Caveat: LinkedList supports null elements, but ArrayDeque does not.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/graph/GraphWalker.java#L282
[UnusedVariable] The local variable 'n' is never read.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/concurrent/Utils.java#L22
[AnnotateFormatMethod] This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn't annotated. Doing so gives compile-time rather than run-time protection against malformed format strings.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/Ordinal.java#L91
[EnumOrdinal] You should almost never invoke the Enum.ordinal() method or depend on the enum values by index.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/Substring.java#L2806
[MissingOverride] isEmpty implements method in CharSequence; expected @OverRide
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/BiOptional.java#L237
[AnnotateFormatMethod] This method uses a pair of parameters as a format string and its arguments, but the enclosing method wasn't annotated. Doing so gives compile-time rather than run-time protection against malformed format strings.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/util/stream/MoreStreams.java#L305
[StreamToIterable] Using stream::iterator creates a one-shot Iterable, which may cause surprising failures.
|
|
Analyze (java):
mug/src/main/java/com/google/mu/collect/Chain.java#L134
[MissingOverride] getFirst implements method in List; expected @OverRide
|
|
Analyze (java)
Cannot build an overlay-base database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
|
|
Analyze (java)
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/
|