You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2017/02/28 13:41:45 UTC

[jira] [Resolved] (SLING-6574) Remove unnecessary dependency to Guava

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

Carsten Ziegeler resolved SLING-6574.
-------------------------------------
    Resolution: Fixed

Removed in rev 1784738

> 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)