db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject [db-jdo] branch master updated: JDO-709: remove ElementType.TYPE from @Target
Date Thu, 10 Jun 2021 19:09:10 GMT
This is an automated email from the ASF dual-hosted git repository.

mbo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/db-jdo.git


The following commit(s) were added to refs/heads/master by this push:
     new bddffab  JDO-709: remove ElementType.TYPE from @Target
bddffab is described below

commit bddffaba0384d1393b9091461ad9eaba0d9848b8
Author: Michael Bouschen <mbo@apache.org>
AuthorDate: Thu Jun 10 21:09:00 2021 +0200

    JDO-709: remove ElementType.TYPE from @Target
---
 api/src/main/java/javax/jdo/annotations/Convert.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/api/src/main/java/javax/jdo/annotations/Convert.java b/api/src/main/java/javax/jdo/annotations/Convert.java
index e975af2..94e0047 100644
--- a/api/src/main/java/javax/jdo/annotations/Convert.java
+++ b/api/src/main/java/javax/jdo/annotations/Convert.java
@@ -17,7 +17,6 @@
 package javax.jdo.annotations;
 
 import java.lang.annotation.ElementType;
-import java.lang.annotation.Repeatable;
 import java.lang.annotation.Retention;
 import java.lang.annotation.RetentionPolicy;
 import java.lang.annotation.Target;
@@ -39,7 +38,7 @@ import javax.jdo.AttributeConverter;
  * @since 3.2
  */
 @Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
+@Target({ElementType.METHOD, ElementType.FIELD})
 public @interface Convert {
 
 	/**

Mime
View raw message