From d147cbcba322858197ebae84e4bd997e14bdbd73 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Tue, 13 Aug 2024 11:06:47 +0200 Subject: [PATCH] chimera: remove unused code Acked-by: Lea Morschel Target: master Require-book: no Require-notes: no --- .../src/main/java/org/dcache/chimera/FsInode_SURI.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/modules/chimera/src/main/java/org/dcache/chimera/FsInode_SURI.java b/modules/chimera/src/main/java/org/dcache/chimera/FsInode_SURI.java index e75122614e2..c8303a1aeed 100644 --- a/modules/chimera/src/main/java/org/dcache/chimera/FsInode_SURI.java +++ b/modules/chimera/src/main/java/org/dcache/chimera/FsInode_SURI.java @@ -63,10 +63,7 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING import com.google.common.base.Joiner; import java.net.URI; import java.net.URISyntaxException; -import java.security.AccessController; import java.util.List; -import javax.security.auth.Subject; -import org.dcache.auth.Subjects; import org.dcache.chimera.posix.Stat; /** @@ -100,11 +97,6 @@ public static void validate(String line) throws URISyntaxException { } } - private static boolean isRoot() { - return Subjects.isRoot( - Subject.getSubject(AccessController.getContext())); - } - private List locations; public FsInode_SURI(FileSystemProvider fs, long ino) {