[Git][java-team/intellij-annotations][master] 5 commits: Tighten the dependency on libjetbrains-annotations-java.

Markus Koschany gitlab at salsa.debian.org
Thu Sep 10 11:28:47 BST 2020



Markus Koschany pushed to branch master at Debian Java Maintainers / intellij-annotations


Commits:
f28ce983 by Markus Koschany at 2020-09-10T12:20:28+02:00
Tighten the dependency on libjetbrains-annotations-java.

Closes: #969405

- - - - -
6d9f3d78 by Markus Koschany at 2020-09-10T12:21:50+02:00
New upstream version 20.1.0
- - - - -
52dd46a4 by Markus Koschany at 2020-09-10T12:21:54+02:00
Update upstream source from tag 'upstream/20.1.0'

Update to upstream version '20.1.0'
with Debian dir 90161a966c094d2ee8c2ba6f34c83750b7ea3ec6
- - - - -
a796e98f by Markus Koschany at 2020-09-10T12:22:24+02:00
Bump the version in poms file

- - - - -
906d62ce by Markus Koschany at 2020-09-10T12:23:13+02:00
Update changelog

- - - - -


7 changed files:

- CHANGELOG.md
- README.md
- common/src/main/java/org/jetbrains/annotations/PropertyKey.java
- debian/changelog
- debian/control
- debian/libjetbrains-annotations-java.poms
- gradle.properties


Changes:

=====================================
CHANGELOG.md
=====================================
@@ -1,6 +1,10 @@
 Changelog
 ===
 
+Version 20.1.0
+---
+* Added `TYPE_USE` target for `PropertyKey` annotation.
+
 Version 20.0.0
 ---
 * Added new annotation: `@MustBeInvokedByOverriders`.


=====================================
README.md
=====================================
@@ -11,7 +11,7 @@ The annotations are published on [Maven Central](https://repo1.maven.org/maven2/
 using gradle write the following in the `build.gradle` file:
 ```
 dependencies {
-    compileOnly 'org.jetbrains:annotations:20.0.0'
+    compileOnly 'org.jetbrains:annotations:20.1.0'
 }
 
 ```
@@ -20,7 +20,7 @@ To add a dependency using Maven, write the following in `pom.xml`:
 <dependency>
   <groupId>org.jetbrains</groupId>
   <artifactId>annotations</artifactId>
-  <version>20.0.0</version>
+  <version>20.1.0</version>
 </dependency>
 ```
 


=====================================
common/src/main/java/org/jetbrains/annotations/PropertyKey.java
=====================================
@@ -19,15 +19,15 @@ package org.jetbrains.annotations;
 import java.lang.annotation.*;
 
 /**
- * Specifies that a method parameter accepts arguments which must be valid property
- * keys in a specific resource bundle. When a string literal which is not a property
- * key in the specified bundle is passed as a parameter, IntelliJ IDEA highlights
- * it as an error. The annotation is also used to provide completion in string literals
- * passed as parameters.
+ * Specifies that a method parameter, local variable, field or a method return value 
+ * must be a valid property key in a specific resource bundle. When a string literal 
+ * which is not a property key in the specified bundle is passed as a parameter, 
+ * static analyzers may highlight it as an error. The annotation is also could be used 
+ * by IDEs to provide completion in string literals passed as parameters.
  */
 @Documented
 @Retention(RetentionPolicy.CLASS)
- at Target({ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.FIELD})
+ at Target({ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.FIELD, ElementType.TYPE_USE})
 public @interface PropertyKey {
   /**
    * The full-qualified name of the resource bundle in which the property keys must


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+intellij-annotations (20.1.0-1) unstable; urgency=medium
+
+  * New upstream version 20.1.0.
+  * Tighten the dependency on libjetbrains-annotations-java. (Closes: #969405)
+
+ -- Markus Koschany <apo at debian.org>  Thu, 10 Sep 2020 12:22:50 +0200
+
 intellij-annotations (20.0.0-1) unstable; urgency=medium
 
   * New upstream version 20.0.0.


=====================================
debian/control
=====================================
@@ -22,7 +22,7 @@ Architecture: all
 Depends:
  ${java:Depends},
  ${misc:Depends},
- libjetbrains-annotations-java
+ libjetbrains-annotations-java (>= ${source:Version})
 Suggests:
  libjetbrains-annotations-java-doc
 Description: transitional package for libjetbrains-annotations-java
@@ -56,7 +56,7 @@ Architecture: all
 Section: oldlibs
 Depends:
  ${misc:Depends},
- libjetbrains-annotations-java-doc
+ libjetbrains-annotations-java-doc (>= ${source:Version})
 Recommends:
  ${java:Recommends}
 Description: transitional package for libjetbrains-annotations-java-doc


=====================================
debian/libjetbrains-annotations-java.poms
=====================================
@@ -1,2 +1,2 @@
-common/build/debian/common.pom --artifact=common/build/libs/common-20.0.0-SNAPSHOT.jar --java-lib --usj-name=org.jetbrains.annotations-common
-java8/build/debian/annotations.pom --artifact=java8/build/libs/annotations-20.0.0-SNAPSHOT.jar --java-lib --usj-name=org.jetbrains.annotations-java8
+common/build/debian/common.pom --artifact=common/build/libs/common-20.1.0-SNAPSHOT.jar --java-lib --usj-name=org.jetbrains.annotations-common
+java8/build/debian/annotations.pom --artifact=java8/build/libs/annotations-20.1.0-SNAPSHOT.jar --java-lib --usj-name=org.jetbrains.annotations-java8


=====================================
gradle.properties
=====================================
@@ -14,4 +14,4 @@
 # limitations under the License.
 #
 
-projectVersion=20.0.0
\ No newline at end of file
+projectVersion=20.1.0
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/java-team/intellij-annotations/-/compare/5e13c607ecd41b989b25104e9020f9f9af07e313...906d62cebd94c0befdf09aae89b8ba7ed246ade3

-- 
View it on GitLab: https://salsa.debian.org/java-team/intellij-annotations/-/compare/5e13c607ecd41b989b25104e9020f9f9af07e313...906d62cebd94c0befdf09aae89b8ba7ed246ade3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20200910/c9bd1a0d/attachment.html>


More information about the pkg-java-commits mailing list