[ 
https://issues.apache.org/jira/browse/OFBIZ-10477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pradhan Yash Sharma updated OFBIZ-10477:
----------------------------------------
    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|https://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html] 
as my reference point. example:
 
{code:java}
public void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue);{code}
{code:java}
void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue); {code}
As per the current implementation we can reduse the 

> Parent ticket for reducing scope of variables and methods
> ---------------------------------------------------------
>
>                 Key: OFBIZ-10477
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10477
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pradhan Yash Sharma
>            Priority: Minor
>             Fix For: Trunk
>
>
> *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|https://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html] 
> as my reference point. example:
>  
> {code:java}
> public void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue);{code}
> {code:java}
> void noteKeyRemoval(UtilCache<K, V> cache, K key, V oldValue); {code}
> As per the current implementation we can reduse the 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to