You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by re...@apache.org on 2023/05/02 15:10:13 UTC

[jackrabbit-oak] branch OAK-10218 created (now b0f5a55956)

This is an automated email from the ASF dual-hosted git repository.

reschke pushed a change to branch OAK-10218
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


      at b0f5a55956 OAK-10218: oak-it-osgi: avoid Guava dependency

This branch includes the following new commits:

     new b0f5a55956 OAK-10218: oak-it-osgi: avoid Guava dependency

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[jackrabbit-oak] 01/01: OAK-10218: oak-it-osgi: avoid Guava dependency

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

reschke pushed a commit to branch OAK-10218
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git

commit b0f5a55956386328a21d99275218174b78ce3908
Author: Julian Reschke <ju...@gmx.de>
AuthorDate: Tue May 2 16:09:49 2023 +0100

    OAK-10218: oak-it-osgi: avoid Guava dependency
---
 oak-it-osgi/pom.xml                                                  | 5 -----
 .../java/org/apache/jackrabbit/oak/osgi/TikaExtractionOsgiIT.java    | 4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/oak-it-osgi/pom.xml b/oak-it-osgi/pom.xml
index 400d13712d..7c1a2b72f5 100644
--- a/oak-it-osgi/pom.xml
+++ b/oak-it-osgi/pom.xml
@@ -199,11 +199,6 @@
       <artifactId>commons-lang3</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>com.google.guava</groupId>
-      <artifactId>guava</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>commons-fileupload</groupId>
       <artifactId>commons-fileupload</artifactId>
diff --git a/oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/TikaExtractionOsgiIT.java b/oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/TikaExtractionOsgiIT.java
index 52ce1f2b87..889320735c 100644
--- a/oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/TikaExtractionOsgiIT.java
+++ b/oak-it-osgi/src/test/java/org/apache/jackrabbit/oak/osgi/TikaExtractionOsgiIT.java
@@ -16,7 +16,6 @@
  */
 package org.apache.jackrabbit.oak.osgi;
 
-import com.google.common.collect.Maps;
 import org.apache.tika.metadata.Metadata;
 import org.apache.tika.parser.AutoDetectParser;
 import org.apache.tika.parser.Parser;
@@ -43,6 +42,7 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.net.MalformedURLException;
 import java.net.URI;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.Properties;
@@ -152,7 +152,7 @@ public class TikaExtractionOsgiIT {
         assertEquals("Unexpected number of properties found in " + VERSION_PROP_RESOURCE_NAME,
                 VERSION_KEYS.length, props.size());
 
-        Map<String, String> versions = Maps.newHashMap();
+        Map<String, String> versions = new HashMap<>();
         for (String versionKey : VERSION_KEYS) {
             String version = props.getProperty(versionKey);