From de1e9472fa1ee221a066f11f082b399b681ce83a Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <art1@andreas-romeyke.de>
Date: Thu, 22 Oct 2020 18:49:50 +0200
Subject: [PATCH] - fixed warnings, getStreamDirectory() is package private -
 fixed warnings, getStreamRelativePath() is package private

---
 .../dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
index 7ac550d..89fc427 100644
--- a/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
+++ b/java/org/slub/rosetta/dps/repository/plugin/storage/nfs/SLUBStoragePlugin.java
@@ -459,7 +459,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
     /** copied from NFS Storage Plugin, enhanced with debugging info,
      * this combines full file path and creates parent directories if needed  {@inheritDoc}
      */
-    private File getStreamDirectory(String path, String fileName) {
+    File getStreamDirectory(String path, String fileName) {
         log.info("SLUBStoragePlugin.getStreamDirectory path='" + path + "' fileName='" + fileName + "'");
         File newDir = new File(parameters.get(DIR_ROOT) + File.separator + path);
         log.debug("SLUBStoragePlugin.getStreamDirectory newDir.getAbsolutePath()=" + newDir.getAbsolutePath());
@@ -476,7 +476,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
      * @return calculated relative path as String
      * returns the path as string
      */
-    private String getStreamRelativePath(StoredEntityMetaData storedEntityMetaData ) throws Exception {
+    String getStreamRelativePath(StoredEntityMetaData storedEntityMetaData) throws Exception {
         log.info("SLUBStoragePlugin.getStreamRelativePath()");
         if ((null == storedEntityMetaData)) throw new AssertionError();
         log.debug("SLUBStoragePlugin.getStreamRelativePath() assert fine");
-- 
GitLab