You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by mb...@apache.org on 2021/06/10 18:31:47 UTC
[db-jdo] branch master updated: JDO-709: remove @Converts annotation
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 bc09758 JDO-709: remove @Converts annotation
bc09758 is described below
commit bc09758c475f47da23ce6b5a0ea430ffd37d2a9f
Author: Michael Bouschen <mb...@apache.org>
AuthorDate: Thu Jun 10 20:31:36 2021 +0200
JDO-709: remove @Converts annotation
---
.../main/java/javax/jdo/annotations/Convert.java | 1 -
.../main/java/javax/jdo/annotations/Converts.java | 39 ----------------------
2 files changed, 40 deletions(-)
diff --git a/api/src/main/java/javax/jdo/annotations/Convert.java b/api/src/main/java/javax/jdo/annotations/Convert.java
index df01f5e..e975af2 100644
--- a/api/src/main/java/javax/jdo/annotations/Convert.java
+++ b/api/src/main/java/javax/jdo/annotations/Convert.java
@@ -40,7 +40,6 @@ import javax.jdo.AttributeConverter;
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
-@Repeatable(Converts.class)
public @interface Convert {
/**
diff --git a/api/src/main/java/javax/jdo/annotations/Converts.java b/api/src/main/java/javax/jdo/annotations/Converts.java
deleted file mode 100644
index ede1252..0000000
--- a/api/src/main/java/javax/jdo/annotations/Converts.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package javax.jdo.annotations;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * Container annotation to allow for multiple {@link Convert} annotations.
- *
- * @version 3.2
- * @since 3.2
- */
-@Retention(RetentionPolicy.RUNTIME)
-@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
-public @interface Converts {
-
- /**
- * The conversion specifications to be configured.
- * @return Array of converters
- */
- Convert[] value();
-}