Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Community Day 2 - 2015, Community Day 3 - 2015, Re-Factor Sprint 1

      Description

      This class implements Security, which has methods that have been deprecated. As such, it gets deprecation warnings when implementing those methods.

        Activity

        Hide
        doogie Adam Heath added a comment -

        [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:264: warning: [deprecation] securityGroupPermissionExists(String,String) in Security has been deprecated
        [javac17] public boolean securityGroupPermissionExists(String groupId, String permission) {
        [javac17] ^
        [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:105: warning: [deprecation] findUserLoginSecurityGroupByUserLoginId(String) in Security has been deprecated
        [javac17] public Iterator<GenericValue> findUserLoginSecurityGroupByUserLoginId(String userLoginId) {
        [javac17] ^
        [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:274: warning: [deprecation] setDelegator(Delegator) in Security has been deprecated
        [javac17] public void setDelegator(Delegator delegator) {
        [javac17] ^
        [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:116: warning: [deprecation] getDelegator() in Security has been deprecated
        [javac17] public Delegator getDelegator() {
        [javac17] ^

        Show
        doogie Adam Heath added a comment - [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:264: warning: [deprecation] securityGroupPermissionExists(String,String) in Security has been deprecated [javac17] public boolean securityGroupPermissionExists(String groupId, String permission) { [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:105: warning: [deprecation] findUserLoginSecurityGroupByUserLoginId(String) in Security has been deprecated [javac17] public Iterator<GenericValue> findUserLoginSecurityGroupByUserLoginId(String userLoginId) { [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:274: warning: [deprecation] setDelegator(Delegator) in Security has been deprecated [javac17] public void setDelegator(Delegator delegator) { [javac17] ^ [javac17] /srv/ofbiz/apache-git/framework/security/src/org/ofbiz/security/SecurityFactory.java:116: warning: [deprecation] getDelegator() in Security has been deprecated [javac17] public Delegator getDelegator() { [javac17] ^
        Hide
        doogie Adam Heath added a comment -

        Fixed in branch OFBIZ-6275, r1675463

        Show
        doogie Adam Heath added a comment - Fixed in branch OFBIZ-6275 , r1675463
        Hide
        deepak.dixit Deepak Dixit added a comment -

        This has been already fixed in trunk at r#1731377

        Show
        deepak.dixit Deepak Dixit added a comment - This has been already fixed in trunk at r#1731377

          People

          • Assignee:
            deepak.dixit Deepak Dixit
            Reporter:
            doogie Adam Heath
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Agile