Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10477

Parent ticket for reducing scope of variables and methods

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: framework
    • Labels:
      None

      Description

      Downsize Accessibility Scope

      I've tried to downsize accessibility scope of classes, interfaces, abstract class, declared member variables, enumerations, methods, and constructors to as minimum as possible as per OFBIz current implementation, still there is a lot of scope for improvement but it would require changes at the granular level. I've used this as my reference point. example:
       

      public void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue);
      void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue); 

      As per the current implementation, I will try to give minimum scope furthermore can be enhanced 

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              PradhanYashSharma Pradhan Yash Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: