From 62f9dabc105987d2b25add9b0e9389176ebcee4d Mon Sep 17 00:00:00 2001 From: Xakep_SDK Date: Tue, 19 Oct 2021 22:40:50 +0600 Subject: [PATCH] fileKey() should return null if it's not supported --- .../src/main/java/net/java/truevfs/access/TFileSystem.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/truevfs-access/src/main/java/net/java/truevfs/access/TFileSystem.java b/truevfs-access/src/main/java/net/java/truevfs/access/TFileSystem.java index e5bdc70fe..203adc0df 100644 --- a/truevfs-access/src/main/java/net/java/truevfs/access/TFileSystem.java +++ b/truevfs-access/src/main/java/net/java/truevfs/access/TFileSystem.java @@ -502,10 +502,9 @@ public long size() { return UNKNOWN == size ? 0 : size; } - /** @throws UnsupportedOperationException always */ @Override public Object fileKey() { - throw new UnsupportedOperationException("Not supported yet."); + return null; } } // FsNodeAttributes -} \ No newline at end of file +}