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 2023/04/01 14:37:12 UTC

[db-jdo] branch main updated: JDO-823: Type parameter names should comply with naming convention

This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/main by this push:
     new f5df438a JDO-823: Type parameter names should comply with naming convention
f5df438a is described below

commit f5df438aff502923a81f60525f304c036bdb4394
Author: Michael Bouschen <Mi...@akquinet.de>
AuthorDate: Sat Apr 1 16:36:59 2023 +0200

    JDO-823: Type parameter names should comply with naming convention
---
 api/src/main/java/javax/jdo/identity/SingleFieldIdentity.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/api/src/main/java/javax/jdo/identity/SingleFieldIdentity.java b/api/src/main/java/javax/jdo/identity/SingleFieldIdentity.java
index cd76844e..f2993b45 100644
--- a/api/src/main/java/javax/jdo/identity/SingleFieldIdentity.java
+++ b/api/src/main/java/javax/jdo/identity/SingleFieldIdentity.java
@@ -36,10 +36,11 @@ import javax.jdo.spi.I18NHelper;
  * this case, the application can use a standard JDO class instead of creating a new user-defined
  * class for the purpose.
  *
+ * @param <S> the type of the SingleFieldIdentity subclass
  * @version 2.0
  */
-public abstract class SingleFieldIdentity<SUBCLASS extends SingleFieldIdentity<SUBCLASS>>
-    implements Externalizable, Comparable<SUBCLASS> {
+public abstract class SingleFieldIdentity<S extends SingleFieldIdentity<S>>
+    implements Externalizable, Comparable<S> {
 
   private static final long serialVersionUID = 1L;