Carsten Ziegeler created SLING-6574:
---------------------------------------

             Summary: Remove unnecessary dependency to Guava
                 Key: SLING-6574
                 URL: https://issues.apache.org/jira/browse/SLING-6574
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: MoM Jobs 1.0.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: MoM Jobs 1.0.2


The jobs implementation has currently a dependency on Guava, the usage is 
either checking preconditions or creating immutable collections.
The later can easily be replaced with using the Collections class.
Preconditions can be replaced with a simple if statement
Doing so removes the dependency to Guava completely. This not only cuts down 
the dependencies but also avoids Guava which is not really following semantic 
versioning and can create trouble when updating



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to