diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-08-30 17:47:16 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-09-03 16:11:03 +0200 |
commit | fc76f226c3aa8e55683f95b56e24d47e91ce0e47 (patch) | |
tree | 1539ac6bb72d0ace428921236b211198506fca34 | |
parent | 0143d6de0891b3ecd5a6212a659bfc9c1b1b3da9 (diff) | |
download | jgit-fc76f226c3aa8e55683f95b56e24d47e91ce0e47.tar.gz jgit-fc76f226c3aa8e55683f95b56e24d47e91ce0e47.zip |
WindowCacheStats: remove deprecated #getOpenFiles, #getOpenBytes
Change-Id: If254177fd7914cb1f909f6620032bb4016208855
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheStats.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheStats.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheStats.java index 7cb8618302..668b92cf53 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheStats.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/WindowCacheStats.java @@ -22,27 +22,6 @@ import org.eclipse.jgit.internal.storage.file.WindowCache; */ @MXBean public interface WindowCacheStats { - /** - * Get number of open files - * - * @return the number of open files. - * @deprecated use {@link #getOpenFileCount()} instead - */ - @Deprecated - public static int getOpenFiles() { - return (int) WindowCache.getInstance().getStats().getOpenFileCount(); - } - - /** - * Get number of open bytes - * - * @return the number of open bytes. - * @deprecated use {@link #getOpenByteCount()} instead - */ - @Deprecated - public static long getOpenBytes() { - return WindowCache.getInstance().getStats().getOpenByteCount(); - } /** * Get cache statistics |