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 10b8acd Improved: removes useless "@deprecated No replacement" comments in Java code 10b8acd is described below commit 10b8acd5d155f62af93f62d508c8e5bfd4f24465 Author: Jacques Le Roux <[hidden email]> AuthorDate: Wed May 27 09:26:43 2020 +0200 Improved: removes useless "@deprecated No replacement" comments in Java code This follows a discussion on dev ML 5 days ago. Those comments are useless because they are all related to Minilang and Minilang is deprecated as a whole. --- .../org/apache/ofbiz/minilang/method/MethodOperation.java | 4 +--- .../src/main/java/org/apache/ofbiz/security/Security.java | 12 ------------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/method/MethodOperation.java b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/method/MethodOperation.java index d92ddea..8c27a38 100644 --- a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/method/MethodOperation.java +++ b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/method/MethodOperation.java @@ -47,9 +47,7 @@ public abstract class MethodOperation extends MiniLangElement { * @throws MiniLangException */ public abstract boolean exec(MethodContext methodContext) throws MiniLangException; - /** Create a string representation of the operation, using the current context. - * @deprecated No replacement. - */ + /** Create a string representation of the operation, using the current context.*/ @Deprecated public String expandedString(MethodContext methodContext) { return FlexibleStringExpander.expandString(toString(), methodContext.getEnvMap()); diff --git a/framework/security/src/main/java/org/apache/ofbiz/security/Security.java b/framework/security/src/main/java/org/apache/ofbiz/security/Security.java index f005729..507be35 100644 --- a/framework/security/src/main/java/org/apache/ofbiz/security/Security.java +++ b/framework/security/src/main/java/org/apache/ofbiz/security/Security.java @@ -36,17 +36,9 @@ import org.apache.ofbiz.entity.GenericValue; */ public interface Security { - /** - * - * @deprecated No replacement. - */ @Deprecated public Delegator getDelegator(); - /** - * - * @deprecated No replacement. - */ @Deprecated public void setDelegator(Delegator delegator); @@ -56,8 +48,6 @@ public interface Security { * @param userLoginId The userLoginId to find security groups by * @return An iterator made from the Collection either cached or retrieved from the database through the * UserLoginSecurityGroup Delegator. - * - * @deprecated No replacement. */ @Deprecated public Iterator<GenericValue> findUserLoginSecurityGroupByUserLoginId(String userLoginId); @@ -70,8 +60,6 @@ public interface Security { * @param groupId The ID of the group * @param permission The name of the permission * @return boolean specifying whether or not a SecurityGroupPermission row exists - * - * @deprecated No replacement. */ @Deprecated public boolean securityGroupPermissionExists(String groupId, String permission); |
Free forum by Nabble | Edit this page |