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

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new bd39bef254 Improved: Fix Javadoc warnings (OFBIZ-12742)
bd39bef254 is described below

commit bd39bef2549605ecb040615903f25b45dd10d15c
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Mar 14 10:43:20 2025 +0100

    Improved: Fix Javadoc warnings (OFBIZ-12742)
    
    Previously:
    <<Slightly improves AbstractCache class. But I don't understand yet why it 
still
    claims that:
    
    AbstractCache.java:23: warning: no comment
    public abstract class AbstractCache {
                    ^
    AbstractCache.java:27: warning: no comment
        protected AbstractCache(String id) {
    >>
    
    This commit does not work (@inheritdoc should be used from "extenders") but
    makes things more clear.
---
 .../src/main/java/org/apache/ofbiz/entity/cache/AbstractCache.java   | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/framework/entity/src/main/java/org/apache/ofbiz/entity/cache/AbstractCache.java
 
b/framework/entity/src/main/java/org/apache/ofbiz/entity/cache/AbstractCache.java
index ecb3158aa4..e6bf75582d 100644
--- 
a/framework/entity/src/main/java/org/apache/ofbiz/entity/cache/AbstractCache.java
+++ 
b/framework/entity/src/main/java/org/apache/ofbiz/entity/cache/AbstractCache.java
@@ -22,8 +22,9 @@ import org.apache.ofbiz.base.util.cache.UtilCache;
 import org.apache.ofbiz.entity.Delegator;
 import org.apache.ofbiz.entity.DelegatorFactory;
 
-/**
- * EntityCache cache created in function of a delegator and an id
+/** Abstract Cache class. This class create an EntityCache in function of a 
delegator and an id
+ * @param <K> the type parameter
+ * @param <V> the type parameter
  */
 public abstract class AbstractCache<K, V> {
 

Reply via email to