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

Parent ticket for reducing scope of variables and methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • 22.01.01, Upcoming Branch
    • Upcoming Branch
    • framework
    • 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

            jleroux Jacques Le Roux
            PradhanYashSharma Pradhan Yash Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: