You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Deparvu (JIRA)" <ji...@apache.org> on 2019/05/13 16:12:00 UTC
[jira] [Commented] (OAK-7217) check public Oak APIs for references
to Guava
[ https://issues.apache.org/jira/browse/OAK-7217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16838660#comment-16838660 ]
Alex Deparvu commented on OAK-7217:
-----------------------------------
I tried a different approach (bash script see [^extract-guava.sh]), it wasn't obvious but I think I was able to collect usages of Guava.
There are 2 sets attached:
* complete usage set [^guava-global.log]
* only public packages set [^guava-public.log]
Format is class and import (both normal import and static imports are captured)
bq. oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/TreeUtil.java:import com.google.common.base.Strings;
bq. oak-security-spi/src/main/java/org/apache/jackrabbit/oak/plugins/tree/TreeUtil.java:import static com.google.common.collect.Iterables.contains;
does this cover it?
> check public Oak APIs for references to Guava
> ---------------------------------------------
>
> Key: OAK-7217
> URL: https://issues.apache.org/jira/browse/OAK-7217
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: detect-api.diff, extract-guava.sh, guava-global.log, guava-public.log
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)