Tommaso Teofili created SLING-5008:
--------------------------------------

             Summary: Minor fixes as suggested by static analysis to 
distribution
                 Key: SLING-5008
                 URL: https://issues.apache.org/jira/browse/SLING-5008
             Project: Sling
          Issue Type: Improvement
          Components: Distribution
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili
             Fix For: Content Distribution Core 0.1.8


I've run some static analysis tools against _distribution.core_ and I found a 
no. of minor fixes we should apply, this also includes missing javadocs and 
fixing imports.
Just to make an example in {{MultipleQueueDispatchingStrategy}} we instantiate 
an array in the constructor but always return a newly created list when 
getQueueNames is called, while we should create the list once and always return 
it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to