Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package google-errorprone for 
openSUSE:Factory checked in at 2024-04-18 22:12:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-errorprone (Old)
 and      /work/SRC/openSUSE:Factory/.google-errorprone.new.26366 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "google-errorprone"

Thu Apr 18 22:12:09 2024 rev:4 rq:1168637 version:2.26.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/google-errorprone/google-errorprone-annotations.changes
  2023-05-04 17:11:38.920742303 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-errorprone.new.26366/google-errorprone-annotations.changes
       2024-04-18 22:13:14.114868650 +0200
@@ -1,0 +2,266 @@
+Mon Apr 15 05:13:37 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to version 2.26.1
+  * Changes of version 2.26.1:
+    + Fixes the module name: from 'com.google.errorprone.annotation'
+      to 'com.google.errorprone.annotations'. Amends the OSGi build
+      not to include 'Automatic-Module-Name' in the MANIFEST.MF for the
+      'annotations' project.
+  * Changes of version 2.26.0:
+    + The 'annotations' artifact now includes a module-info.java for
+      Java Platform Module System support.
+    + Disabled checks passed to -XepPatchChecks are now ignored,
+      instead of causing a crash.
+    + New checks:
+      - SystemConsoleNull: Null-checking System.console() is not a
+        reliable way to detect if the console is connected to a
+        terminal.
+      - EnumOrdinal: Discourage uses of Enum.ordinal()
+    + Closed issues:
+      - Add module-info.java #2649
+      - 2.19.x: Exception thrown when a disabled check is passed to
+        -XepPatchChecks #3908
+      - Ignore disabled checks passed to -XepPatchChecks #4028
+      - feat: add jpms definition for annotations #4311
+      - Add the 'compile' goal for 'compile-java9' #4314
+  * Changes of version 2.25.0:
+    + New checks:
+      - JUnitIncompatibleType: Detects incompatible types passed to
+        an assertion, similar to TruthIncompatibleType
+      - RedundantSetterCall: Detects fields set twice in the same
+        chained expression. Generalization of previous
+        ProtoRedundantSet check to also handle AutoValue.
+    + Closed issues:
+      - Crash in UnnecessaryStringBuilder #4195
+      - Fix typos #4224
+      - Add support for specifying badEnclosingTypes for BadImport
+        via flags #4228
+      - Some BugPattern docs are missing code examples #4248
+      - Remove incorrect statement from BugPattern index doc #4249
+      - Do not report NonFinalStaticField findings for fields
+        modified in @BeforeAll methods #4251
+  * Changes of version 2.24.1:
+    + Add an assertion to try to help debug #4225
+  * Changes of version 2.24.0:
+    + New checks:
+      - MultipleNullnessAnnotations: Discourage multiple nullness
+        annotations
+      - NullableTypeParameter: Discourage nullness annotations on
+        type parameters
+      - NullableWildcard: Discourage nullness annotations on
+        wildcards
+      - SuperCallToObjectMethod: Generalization of
+        SuperEqualsIsObjectEquals, now covers hashCode
+  * Changes of version 2.23.0:
+    + New checks: DuplicateDateFormatField, NonFinalStaticField,
+      StringCharset, StringFormatWithLiteral,
+      SuperEqualsIsObjectEquals
+    + Bug fixes and improvements: #3897, #4114, #4123
+  * Changes of version 2.22.0:
+    + New checks:
+      - ClosingStandardOutputStreams: Prevents accidentally closing
+        System.{out,err} with try-with-resources
+      - TruthContainsExactlyElementsInUsage: containsExactly is
+        preferred over containsExactlyElementsIn when creating new
+        iterables
+      - UnnecessaryAsync: detects unnecessary use of async
+        primitives in local (and hence single-threaded) scopes
+      - ReturnAtTheEndOfVoidFunction: detects unnecessary return
+        statements at the end of void functions
+      - MultimapKeys: Suggests using keySet() instead of iterating
+        over Multimap.keys(), which does not collapse duplicates
+    + Bug fixes and improvements:
+      - Don't complain about literal IP addresses in
+        AddressSelection
+      - Prevent SuggestedFixes#renameMethod from modifying return
+        type declaration
+      - Fix UnusedVariable false positives for private record
+        parameters
+      - When running in conservative mode, no longer assume that
+        implementations of Map.get, etc. return null
+      - CanIgnoreReturnValueSuggester: Support additional exempting
+        method annotations
+      - UnusedVariable: exclude junit5's @RegisterExtension
+      - Support running all available patch checks
+      - Upgrade java-diff-utils 4.0 -> 4.12
+      - Flag unused Refaster template parameters
+      - Support @SuppressWarnings("all")
+      - Prevent Refaster UMemberSelect from matching method
+        parameters
+      - MissingDefault : Don't require // fall out comments on
+        expression switches
+      - Skip UnnecessaryLambda findings for usages in enhanced for
+        loops
+      - Fix bug where nested MissingBraces violations' suggested
+        fixes result in broken code
+      - Add support for specifying exemptPrefixes/exemptNames for
+        UnusedVariable via flags
+      - UnusedMethod: Added exempting variable annotations
+  * Changes of version 2.21.1:
+    + Handle overlapping ranges in suppressedRegions
+    + Add AddressSelection to discourage APIs that convert a
+      hostname to a single address
+  * Changes of version 2.21.0:
+    + New Checkers:
+      - AttemptedNegativeZero: Prevents accidental use of -0, which
+        is the same as 0. The floating-point negative zero is -0.0.
+      - ICCProfileGetInstance: Warns on uses of
+        ICC_Profile.getInstance(String), due to JDK-8191622.
+      - MutableGuiceModule: Fields in Guice modules should be final.
+      - NullableOptional: Discourages @Nullable-annotated Optionals.
+      - OverridingMethodInconsistentArgumentNamesChecker: Arguments
+        of overriding method are inconsistent with overridden
+        method.
+    + Fixed issues:
+      - Avoid MemberName IOOBE on lambda parameters inside
+        overriding methods #3976
+      - Improve LockOnNonEnclosingClassLiteral documentation #3986
+      - Security scan reported high CVE for
+        com.google.guava:guava:31.1-jre #4001
+      - Upgrade guava to 32.0.1 #4002
+      - Proposal: checker to prevent other checkers from calling
+        javac methods that changed across JDKs #4026
+      - Add support in ASTHelpersSuggestions for getEnclosedElements
+        #4027
+  * Changes of version 2.20.0:
+    + This release is compatible with early-access builds of JDK 21.
+    + New Checkers: InlineTrivialConstant, UnnecessaryStringBuilder,
+      BanClassLoader, DereferenceWithNullBranch, DoNotUseRuleChain,
+      LockOnNonEnclosingClassLiteral, MissingRefasterAnnotation,
+      NamedLikeContextualKeyword, NonApiType
+    + Fixes issues:
+      - Introduce MissingRefasterAnnotation checker #2232
+      - Fix minor typo in URepeated #2243
+      - Drop unused constant Template#AUTOBOXING_DEFAULT #2997
+      - Introduce command-line flag -XepAllSuggestionsAsWarnings
+        #3301
+      - JDK21 compatibility #3843
+      - Add OSGi runtime metadata to error-prone's MANIFEST.MF files
+        #3903
+      - Use EISOP Checker Framework version 3.34.0-eisop1 #3918
+      - NotJavadoc pattern does not allow Javadoc on module
+        declarations #3923
+      - ErrorProneInjector incorrectly picks up the no-args
+        constructor #3931
+      - Several high CVEs related to dependency
+        com.google.protobuf:protobuf-java:3.19.2 #3945
+      - Upgrade protobuf-java to 3.19.6 #3946
+  * Changes of version 2.19.1:
+    + This release fixes a binary compatibility issue when running
+      on JDK 11
+  * Changes of version 2.19.0:
+    + New Checkers: NotJavadoc, StringCaseLocaleUsage,
+      UnnecessaryTestMethodPrefix
+    + Fixes issues:
+      - Exclude inner classes annotated with @Nested from
+        ClassCanBeStatic rule #956
+      - Optimize VisitorState#getSymbolFromName #3504
+      - ClassCanBeStatic: Exclude JUnit @Nested classes #3654
+      - BadImport: flag static import of newInstance methods #3703
+      - Support given for enforcing DirectInvocationOnMock: issue
+        3396 #3731
+      - Handle yield statement case in ASTHelpers#targetType #3737
+      - Should ASTHelpers.getSymbol(Tree) be annotated with
+        @Nullable? #3760
+      - Fix '@' character in javadoc code snippets #3779
+      - Replace guava cache with caffeine #3796
+      - Discourage APIs locale-dependent APIs like
+        String.to{Lower,Upper}Case #3809
+      - Introduce StringCaseLocaleUsage check #3813
+  * Changes of version 2.18.0:
+    + New Checkers: InjectOnBugCheckers, LabelledBreakTarget,
+      UnusedLabel, YodaCondition
+    + Fixes issues:
+      - @SuppressWarnings("InlineFormatString") doesn't work #1650
+      - Refaster: support method invocation type argument inlining
+        #2706
+      - java.lang.IllegalArgumentException: Cannot edit synthetic
+        AST nodes with specific record constructor #3404
+      - Rename class to match filename #3493
+      - Optimize VisitorState#getSymbolFromName #3504
+      - refactor: refactor bad smell UnusedLabel #3519
+      - LambdaFunctionalInterface crash with
+        IllegalArgumentException when processing an enum constructor
+        taking a lambda #3579
+      - Fix JDK 20-ea build compatibility #3610
+      - UngroupedOverloads: ignore generated constructors #3632
+      - [errorprone 2.17.0] NPE in
+        StatementSwitchToExpressionSwitch.analyzeSwitchTree #3638
+      - StatementSwitchToExpressionSwitch: handle empty statement
+        blocks #3645
+      - StatementSwitchToExpressionSwitch: only trigger on
+        compatible target versions #3646
+      - Fix Finalize bugpattern to match protected finalize() #3652
+      - Make MemoizeConstantVisitorStateLookups check suppressible
+        #3690
+  * Changes of version 2.17.0:
+    + New Checkers: AvoidObjectArrays, Finalize, IgnoredPureGetter,
+      ImpossibleNullComparison, MathAbsoluteNegative, NewFileSystem,
+      StatementSwitchToExpressionSwitch, UnqualifiedYield
+    + Fixed issues:
+      - InvalidParam warning on Javadoc for Java record components
+        #2321
+      - UnusedMethod flags @JsonValue methods as unused #3144
+      - UnusedMethod: Add more JPA lifecycle annotations or make
+        annotations configurable #3297
+      - UnusedMethod: Support additional exempting method
+        annotations #3428
+      - Have InvalidParam support records #3437
+      - Fix -XepDisableAllWarnings flag when passed on its own #3462
+      - ASTHelpersSuggestions does not flag call to packge() on
+        com.sun.tools.javac.code.Symbol.ClassSymbol #3482
+      - @SupressWarnings on record compact constructor causes crash
+        #3494
+  * Changes of version 2.16.0:
+    + New Checkers: ASTHelpersSuggestions,
+      CanIgnoreReturnValueSuggester, LenientFormatStringValidation,
+      UnnecessarilyUsedValue
+    + Fixed issues:
+      - Avoid using non-ASCII Unicode characters outside of comments
+        and literals #3092
+      - NullPointerException thrown during analysis #3220
+      - NPE analysing new style switch statement (2.14.0) #3225
+      - ImmutableChecker handles null types #3267
+      - Drop pre-JDK 11 logic from Refaster's Inliner class #3441
+  * Changes of version 2.15.0:
+    + New Checkers: BuilderReturnThis,
+      CanIgnoreReturnValueSuggester, CannotMockFinalClass,
+      CannotMockFinalMethod, DirectInvocationOnMock, ExtendsObject,
+      MockNotUsedInProduction, NoCanIgnoreReturnValueOnClasses,
+      NullArgumentForNonNullParameter, SelfAlwaysReturnsThis,
+      UnsafeWildcard, UnusedTypeParameter
+  * Changes of version 2.14.0:
+    + New checkers: BanJNDI,  EmptyTopLevelDeclaration,
+      ErroneousBitwiseExpression,
+      FuzzyEqualsShouldNotBeUsedInEqualsMethod, Interruption,
+      NullableOnContainingClass
+  * Changes of version 2.13.1:
+    + Fix a crash in UnnecessaryBoxedVariable
+    + Include the unicode character in the diagnostic message
+  * Changes of version 2.13.0:
+    + Handle all annotations with the simple name Generated in
+      -XepDisableWarningsInGeneratedCode
+    + Reconcile BugChecker#isSuppressed with suppression handling in
+      ErrorProneScanner
+    + Fix a bug in enclosingPackage
+    + Improve performance of fix application
+    + Implicitly treat @AutoBuilder setter methods as
+      @CanIgnoreReturnValue.
+    + Remove some obsolete checks
+      (PublicConstructorForAbstractClass, HashCodeToString)
+  * Changes of version 2.12.1:
+    + This release adds an infrastructure optimization to AppliedFix
+      source code processing.
+  * Changes of version 2.12.0:
+    + New checks: BoxedPrimitiveEquality, DoubleBraceInitialization,
+      IgnoredPureGetter, LockOnBoxedPrimitive, IncorrectMainMethod,
+      LongDoubleConversion, RobolectricShadowDirectlyOn,
+      StaticAssignmentOfThrowable, UnnecessaryLongToIntConversion,
+      Varifier
+
+-------------------------------------------------------------------
+Tue Sep 19 11:00:56 UTC 2023 - Fridrich Strba <fst...@suse.com>
+
+- Do not require maven-javadoc-plugin that we don't use
+
+-------------------------------------------------------------------
@@ -8 +274 @@
-Tue May 17 11:40:20 UTC 2022 - Fridrich Strba <fst...@suse.com>
+Mon Mar  7 14:17:02 UTC 2022 - Fridrich Strba <fst...@suse.com>
@@ -10,2 +276 @@
-- Initial packaging of org.google.error_prone:error_prone_annotations
-  artifact version 2.11.0
+- Initial packaging of some error_prone artifacts version 2.11.0
--- /work/SRC/openSUSE:Factory/google-errorprone/google-errorprone.changes      
2023-09-20 13:32:19.665390977 +0200
+++ 
/work/SRC/openSUSE:Factory/.google-errorprone.new.26366/google-errorprone.changes
   2024-04-18 22:13:14.146869827 +0200
@@ -1,0 +2,261 @@
+Mon Apr 15 05:13:37 UTC 2024 - Fridrich Strba <fst...@suse.com>
+
+- Upgrade to version 2.26.1
+  * Changes of version 2.26.1:
+    + Fixes the module name: from 'com.google.errorprone.annotation'
+      to 'com.google.errorprone.annotations'. Amends the OSGi build
+      not to include 'Automatic-Module-Name' in the MANIFEST.MF for the
+      'annotations' project.
+  * Changes of version 2.26.0:
+    + The 'annotations' artifact now includes a module-info.java for
+      Java Platform Module System support.
+    + Disabled checks passed to -XepPatchChecks are now ignored,
+      instead of causing a crash.
+    + New checks:
+      - SystemConsoleNull: Null-checking System.console() is not a
+        reliable way to detect if the console is connected to a
+        terminal.
+      - EnumOrdinal: Discourage uses of Enum.ordinal()
+    + Closed issues:
+      - Add module-info.java #2649
+      - 2.19.x: Exception thrown when a disabled check is passed to
+        -XepPatchChecks #3908
+      - Ignore disabled checks passed to -XepPatchChecks #4028
+      - feat: add jpms definition for annotations #4311
+      - Add the 'compile' goal for 'compile-java9' #4314
+  * Changes of version 2.25.0:
+    + New checks:
+      - JUnitIncompatibleType: Detects incompatible types passed to
+        an assertion, similar to TruthIncompatibleType
+      - RedundantSetterCall: Detects fields set twice in the same
+        chained expression. Generalization of previous
+        ProtoRedundantSet check to also handle AutoValue.
+    + Closed issues:
+      - Crash in UnnecessaryStringBuilder #4195
+      - Fix typos #4224
+      - Add support for specifying badEnclosingTypes for BadImport
+        via flags #4228
+      - Some BugPattern docs are missing code examples #4248
+      - Remove incorrect statement from BugPattern index doc #4249
+      - Do not report NonFinalStaticField findings for fields
+        modified in @BeforeAll methods #4251
+  * Changes of version 2.24.1:
+    + Add an assertion to try to help debug #4225
+  * Changes of version 2.24.0:
+    + New checks:
+      - MultipleNullnessAnnotations: Discourage multiple nullness
+        annotations
+      - NullableTypeParameter: Discourage nullness annotations on
+        type parameters
+      - NullableWildcard: Discourage nullness annotations on
+        wildcards
+      - SuperCallToObjectMethod: Generalization of
+        SuperEqualsIsObjectEquals, now covers hashCode
+  * Changes of version 2.23.0:
+    + New checks: DuplicateDateFormatField, NonFinalStaticField,
+      StringCharset, StringFormatWithLiteral,
+      SuperEqualsIsObjectEquals
+    + Bug fixes and improvements: #3897, #4114, #4123
+  * Changes of version 2.22.0:
+    + New checks:
+      - ClosingStandardOutputStreams: Prevents accidentally closing
+        System.{out,err} with try-with-resources
+      - TruthContainsExactlyElementsInUsage: containsExactly is
+        preferred over containsExactlyElementsIn when creating new
+        iterables
+      - UnnecessaryAsync: detects unnecessary use of async
+        primitives in local (and hence single-threaded) scopes
+      - ReturnAtTheEndOfVoidFunction: detects unnecessary return
+        statements at the end of void functions
+      - MultimapKeys: Suggests using keySet() instead of iterating
+        over Multimap.keys(), which does not collapse duplicates
+    + Bug fixes and improvements:
+      - Don't complain about literal IP addresses in
+        AddressSelection
+      - Prevent SuggestedFixes#renameMethod from modifying return
+        type declaration
+      - Fix UnusedVariable false positives for private record
+        parameters
+      - When running in conservative mode, no longer assume that
+        implementations of Map.get, etc. return null
+      - CanIgnoreReturnValueSuggester: Support additional exempting
+        method annotations
+      - UnusedVariable: exclude junit5's @RegisterExtension
+      - Support running all available patch checks
+      - Upgrade java-diff-utils 4.0 -> 4.12
+      - Flag unused Refaster template parameters
+      - Support @SuppressWarnings("all")
+      - Prevent Refaster UMemberSelect from matching method
+        parameters
+      - MissingDefault : Don't require // fall out comments on
+        expression switches
+      - Skip UnnecessaryLambda findings for usages in enhanced for
+        loops
+      - Fix bug where nested MissingBraces violations' suggested
+        fixes result in broken code
+      - Add support for specifying exemptPrefixes/exemptNames for
+        UnusedVariable via flags
+      - UnusedMethod: Added exempting variable annotations
+  * Changes of version 2.21.1:
+    + Handle overlapping ranges in suppressedRegions
+    + Add AddressSelection to discourage APIs that convert a
+      hostname to a single address
+  * Changes of version 2.21.0:
+    + New Checkers:
+      - AttemptedNegativeZero: Prevents accidental use of -0, which
+        is the same as 0. The floating-point negative zero is -0.0.
+      - ICCProfileGetInstance: Warns on uses of
+        ICC_Profile.getInstance(String), due to JDK-8191622.
+      - MutableGuiceModule: Fields in Guice modules should be final.
+      - NullableOptional: Discourages @Nullable-annotated Optionals.
+      - OverridingMethodInconsistentArgumentNamesChecker: Arguments
+        of overriding method are inconsistent with overridden
+        method.
+    + Fixed issues:
+      - Avoid MemberName IOOBE on lambda parameters inside
+        overriding methods #3976
+      - Improve LockOnNonEnclosingClassLiteral documentation #3986
+      - Security scan reported high CVE for
+        com.google.guava:guava:31.1-jre #4001
+      - Upgrade guava to 32.0.1 #4002
+      - Proposal: checker to prevent other checkers from calling
+        javac methods that changed across JDKs #4026
+      - Add support in ASTHelpersSuggestions for getEnclosedElements
+        #4027
+  * Changes of version 2.20.0:
+    + This release is compatible with early-access builds of JDK 21.
+    + New Checkers: InlineTrivialConstant, UnnecessaryStringBuilder,
+      BanClassLoader, DereferenceWithNullBranch, DoNotUseRuleChain,
+      LockOnNonEnclosingClassLiteral, MissingRefasterAnnotation,
+      NamedLikeContextualKeyword, NonApiType
+    + Fixes issues:
+      - Introduce MissingRefasterAnnotation checker #2232
+      - Fix minor typo in URepeated #2243
+      - Drop unused constant Template#AUTOBOXING_DEFAULT #2997
+      - Introduce command-line flag -XepAllSuggestionsAsWarnings
+        #3301
+      - JDK21 compatibility #3843
+      - Add OSGi runtime metadata to error-prone's MANIFEST.MF files
+        #3903
+      - Use EISOP Checker Framework version 3.34.0-eisop1 #3918
+      - NotJavadoc pattern does not allow Javadoc on module
+        declarations #3923
+      - ErrorProneInjector incorrectly picks up the no-args
+        constructor #3931
+      - Several high CVEs related to dependency
+        com.google.protobuf:protobuf-java:3.19.2 #3945
+      - Upgrade protobuf-java to 3.19.6 #3946
+  * Changes of version 2.19.1:
+    + This release fixes a binary compatibility issue when running
+      on JDK 11
+  * Changes of version 2.19.0:
+    + New Checkers: NotJavadoc, StringCaseLocaleUsage,
+      UnnecessaryTestMethodPrefix
+    + Fixes issues:
+      - Exclude inner classes annotated with @Nested from
+        ClassCanBeStatic rule #956
+      - Optimize VisitorState#getSymbolFromName #3504
+      - ClassCanBeStatic: Exclude JUnit @Nested classes #3654
+      - BadImport: flag static import of newInstance methods #3703
+      - Support given for enforcing DirectInvocationOnMock: issue
+        3396 #3731
+      - Handle yield statement case in ASTHelpers#targetType #3737
+      - Should ASTHelpers.getSymbol(Tree) be annotated with
+        @Nullable? #3760
+      - Fix '@' character in javadoc code snippets #3779
+      - Replace guava cache with caffeine #3796
+      - Discourage APIs locale-dependent APIs like
+        String.to{Lower,Upper}Case #3809
+      - Introduce StringCaseLocaleUsage check #3813
+  * Changes of version 2.18.0:
+    + New Checkers: InjectOnBugCheckers, LabelledBreakTarget,
+      UnusedLabel, YodaCondition
+    + Fixes issues:
+      - @SuppressWarnings("InlineFormatString") doesn't work #1650
+      - Refaster: support method invocation type argument inlining
+        #2706
+      - java.lang.IllegalArgumentException: Cannot edit synthetic
+        AST nodes with specific record constructor #3404
+      - Rename class to match filename #3493
+      - Optimize VisitorState#getSymbolFromName #3504
+      - refactor: refactor bad smell UnusedLabel #3519
+      - LambdaFunctionalInterface crash with
+        IllegalArgumentException when processing an enum constructor
+        taking a lambda #3579
+      - Fix JDK 20-ea build compatibility #3610
+      - UngroupedOverloads: ignore generated constructors #3632
+      - [errorprone 2.17.0] NPE in
+        StatementSwitchToExpressionSwitch.analyzeSwitchTree #3638
+      - StatementSwitchToExpressionSwitch: handle empty statement
+        blocks #3645
+      - StatementSwitchToExpressionSwitch: only trigger on
+        compatible target versions #3646
+      - Fix Finalize bugpattern to match protected finalize() #3652
+      - Make MemoizeConstantVisitorStateLookups check suppressible
+        #3690
+  * Changes of version 2.17.0:
+    + New Checkers: AvoidObjectArrays, Finalize, IgnoredPureGetter,
+      ImpossibleNullComparison, MathAbsoluteNegative, NewFileSystem,
+      StatementSwitchToExpressionSwitch, UnqualifiedYield
+    + Fixed issues:
+      - InvalidParam warning on Javadoc for Java record components
+        #2321
+      - UnusedMethod flags @JsonValue methods as unused #3144
+      - UnusedMethod: Add more JPA lifecycle annotations or make
+        annotations configurable #3297
+      - UnusedMethod: Support additional exempting method
+        annotations #3428
+      - Have InvalidParam support records #3437
+      - Fix -XepDisableAllWarnings flag when passed on its own #3462
+      - ASTHelpersSuggestions does not flag call to packge() on
+        com.sun.tools.javac.code.Symbol.ClassSymbol #3482
+      - @SupressWarnings on record compact constructor causes crash
+        #3494
+  * Changes of version 2.16.0:
+    + New Checkers: ASTHelpersSuggestions,
+      CanIgnoreReturnValueSuggester, LenientFormatStringValidation,
+      UnnecessarilyUsedValue
+    + Fixed issues:
+      - Avoid using non-ASCII Unicode characters outside of comments
+        and literals #3092
+      - NullPointerException thrown during analysis #3220
+      - NPE analysing new style switch statement (2.14.0) #3225
+      - ImmutableChecker handles null types #3267
+      - Drop pre-JDK 11 logic from Refaster's Inliner class #3441
+  * Changes of version 2.15.0:
+    + New Checkers: BuilderReturnThis,
+      CanIgnoreReturnValueSuggester, CannotMockFinalClass,
+      CannotMockFinalMethod, DirectInvocationOnMock, ExtendsObject,
+      MockNotUsedInProduction, NoCanIgnoreReturnValueOnClasses,
+      NullArgumentForNonNullParameter, SelfAlwaysReturnsThis,
+      UnsafeWildcard, UnusedTypeParameter
+  * Changes of version 2.14.0:
+    + New checkers: BanJNDI,  EmptyTopLevelDeclaration,
+      ErroneousBitwiseExpression,
+      FuzzyEqualsShouldNotBeUsedInEqualsMethod, Interruption,
+      NullableOnContainingClass
+  * Changes of version 2.13.1:
+    + Fix a crash in UnnecessaryBoxedVariable
+    + Include the unicode character in the diagnostic message
+  * Changes of version 2.13.0:
+    + Handle all annotations with the simple name Generated in
+      -XepDisableWarningsInGeneratedCode
+    + Reconcile BugChecker#isSuppressed with suppression handling in
+      ErrorProneScanner
+    + Fix a bug in enclosingPackage
+    + Improve performance of fix application
+    + Implicitly treat @AutoBuilder setter methods as
+      @CanIgnoreReturnValue.
+    + Remove some obsolete checks
+      (PublicConstructorForAbstractClass, HashCodeToString)
+  * Changes of version 2.12.1:
+    + This release adds an infrastructure optimization to AppliedFix
+      source code processing.
+  * Changes of version 2.12.0:
+    + New checks: BoxedPrimitiveEquality, DoubleBraceInitialization,
+      IgnoredPureGetter, LockOnBoxedPrimitive, IncorrectMainMethod,
+      LongDoubleConversion, RobolectricShadowDirectlyOn,
+      StaticAssignmentOfThrowable, UnnecessaryLongToIntConversion,
+      Varifier
+
+-------------------------------------------------------------------
@@ -4,0 +266,6 @@
+
+-------------------------------------------------------------------
+Thu May  4 11:40:47 UTC 2023 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Add _multibuild to define 2nd spec file as additional flavor.
+  Eliminates the need for source package links in OBS.

Old:
----
  error-prone-2.11.0.tar.xz

New:
----
  error-prone-2.26.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ google-errorprone-annotations.spec ++++++
--- /var/tmp/diff_new_pack.NewxB2/_old  2024-04-18 22:13:14.674889242 +0200
+++ /var/tmp/diff_new_pack.NewxB2/_new  2024-04-18 22:13:14.678889389 +0200
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package google-errorprone-annotations
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %global artifactId error_prone_annotations
 %global group_name google-errorprone
 Name:           %{group_name}-annotations
-Version:        2.11.0
+Version:        2.26.1
 Release:        0
 Summary:        error-prone annotations
 License:        Apache-2.0
@@ -30,7 +30,8 @@
 Source1:        %{name}-build.xml
 BuildRequires:  ant
 BuildRequires:  fdupes
-BuildRequires:  javapackages-local
+BuildRequires:  java-devel >= 9
+BuildRequires:  javapackages-local >= 6
 BuildArch:      noarch
 
 %description
@@ -49,14 +50,10 @@
 %prep
 %setup -q -n %{source_name}-%{version}
 cp %{SOURCE1} annotations/build.xml
-%pom_remove_parent annotations
-%pom_xpath_inject pom:project "
-    <groupId>com.google.errorprone</groupId>
-    <version>2.11.0</version>" annotations
 
 %build
 pushd annotations
-%{ant} jar javadoc
+%{ant} -Dproject.version=%{version} jar javadoc
 popd
 
 %install
@@ -65,7 +62,7 @@
 install -p -m 0644 annotations/target/%{artifactId}-%{version}.jar 
%{buildroot}%{_javadir}/%{group_name}/annotations.jar
 # pom
 install -d -m 755 %{buildroot}%{_mavenpomdir}/%{group_name}
-install -pm 644 annotations/pom.xml 
%{buildroot}%{_mavenpomdir}/%{group_name}/annotations.pom
+%{mvn_install_pom} annotations/pom.xml 
%{buildroot}%{_mavenpomdir}/%{group_name}/annotations.pom
 %add_maven_depmap %{group_name}/annotations.pom %{group_name}/annotations.jar
 # javadoc
 install -d -m 755 %{buildroot}%{_javadocdir}/%{name}

++++++ google-errorprone.spec ++++++
--- /var/tmp/diff_new_pack.NewxB2/_old  2024-04-18 22:13:14.702890271 +0200
+++ /var/tmp/diff_new_pack.NewxB2/_new  2024-04-18 22:13:14.702890271 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package google-errorprone
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %global source_name error-prone
 Name:           google-errorprone
-Version:        2.11.0
+Version:        2.26.1
 Release:        0
 Summary:        Google Error Prone
 License:        Apache-2.0
@@ -27,6 +27,7 @@
 Source0:        %{source_name}-%{version}.tar.xz
 BuildRequires:  fdupes
 BuildRequires:  maven-local
+BuildRequires:  mvn(biz.aQute.bnd:bnd-maven-plugin)
 BuildRequires:  mvn(com.google.auto.service:auto-service)
 BuildRequires:  mvn(com.google.auto.service:auto-service-annotations)
 BuildRequires:  mvn(com.google.code.gson:gson)
@@ -98,7 +99,7 @@
 %{mvn_file} ":error_prone_{*}" %{name}/@1
 
 %build
-%{mvn_build} -f
+%{mvn_build} -f -- -Dsource=8
 
 %install
 %mvn_install

++++++ _service ++++++
--- /var/tmp/diff_new_pack.NewxB2/_old  2024-04-18 22:13:14.754892183 +0200
+++ /var/tmp/diff_new_pack.NewxB2/_new  2024-04-18 22:13:14.758892331 +0200
@@ -2,7 +2,7 @@
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param 
name="url">https://github.com/google/error-prone.git</param>
-               <param name="revision">v2.11.0</param>
+               <param name="revision">v2.26.1</param>
                <param name="match-tag">v*</param>
                <param name="versionformat">@PARENT_TAG@</param>
                <param name="versionrewrite-pattern">v(.*)</param>

++++++ error-prone-2.11.0.tar.xz -> error-prone-2.26.1.tar.xz ++++++
++++ 225730 lines of diff (skipped)

++++++ google-errorprone-annotations-build.xml ++++++
--- /var/tmp/diff_new_pack.NewxB2/_old  2024-04-18 22:13:15.618923954 +0200
+++ /var/tmp/diff_new_pack.NewxB2/_new  2024-04-18 22:13:15.622924102 +0200
@@ -8,9 +8,10 @@
 
   <property name="project.groupId" value="com.google.errorprone"/>
   <property name="project.artifactId" value="error_prone_annotations"/>
-  <property name="project.version" value="2.11.0"/>
+  <!-- <property name="project.version" value="2.26.1"/> -->
 
-  <property name="compiler.source" value="1.8"/>
+  <property name="compiler.release" value="8"/>
+  <property name="compiler.source" value="1.${compiler.release}"/>
   <property name="compiler.target" value="${compiler.source}"/>
 
   <property name="build.finalName" 
value="${project.artifactId}-${project.version}"/>
@@ -41,6 +42,7 @@
            encoding="UTF-8"
            optimize="false"
            deprecation="true"
+           release="${compiler.release}"
            target="${compiler.target}"
            verbose="false"
            fork="false"
@@ -48,6 +50,23 @@
       <src>
         <pathelement location="${build.srcDir}"/>
       </src>
+      <exclude name="**/module-info.java"/>
+    </javac>
+    <javac destdir="${build.outputDir}"
+           nowarn="false"
+           debug="true"
+           encoding="UTF-8"
+           optimize="false"
+           deprecation="true"
+           release="9"
+           target="9"
+           verbose="false"
+           fork="false"
+           source="9">
+      <src>
+        <pathelement location="${build.srcDir}"/>
+      </src>
+      <include name="**/module-info.java"/>
     </javac>
     <copy todir="${build.outputDir}">
       <fileset dir="${build.resourceDir}">
@@ -98,7 +117,20 @@
          basedir="${build.outputDir}"
          excludes="**/package.html">
       <manifest>
-               <attribute name="Automatic-Module-Name" 
value="com.google.errorprone.annotations"/>
+               <attribute name="Bundle-Description" value="Error Prone is a 
static analysis tool for Java that catches common programming mistakes at 
compile-time."/>
+               <attribute name="Bundle-DocURL" 
value="https://errorprone.info/error_prone_annotations"/>
+               <attribute name="Bundle-License" value="&quot;Apache 
2.0&quot;;link=&quot;http://www.apache.org/licenses/LICENSE-2.0.txt&quot;"/>
+               <attribute name="Bundle-ManifestVersion" value="2"/>
+               <attribute name="Bundle-Name" value="error-prone annotations"/>
+               <attribute name="Bundle-SymbolicName" 
value="com.google.errorprone.annotations"/>
+               <attribute name="Bundle-Version" value="${project.version}"/>
+               <attribute name="Export-Package" 
value="com.google.errorprone.annotations.concurrent;version=&quot;${project.version}&quot;,com.google.errorprone.annotations;uses:=&quot;javax.lang.model.element&quot;;version=&quot;${project.version}&quot;"/>
+               <attribute name="Import-Package" 
value="javax.lang.model.element"/>
+               <attribute name="JavaPackages-ArtifactId" 
value="${project.artifactId}"/>
+               <attribute name="JavaPackages-GroupId" 
value="${project.groupId}"/>
+               <attribute name="JavaPackages-Version" 
value="${project.version}"/>
+               <attribute name="Multi-Release" value="true"/>
+               <attribute name="Require-Capability" 
value="osgi.ee;filter:=&quot;(&amp;(osgi.ee=JavaSE)(version=${compiler.target}))&quot;"/>
       </manifest>
     </jar>
   </target>

Reply via email to