]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20658 remove unused read/write long methods
authorPierre <pierre.guillot@sonarsource.com>
Wed, 4 Oct 2023 15:00:35 +0000 (17:00 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 4 Oct 2023 20:03:19 +0000 (20:03 +0000)
server/sonar-process/src/main/java/org/sonar/process/sharedmemoryfile/AllProcessesCommands.java

index cf92409a5d6d33bb7dfa5a7d738f0bc8247c6eda..e66fb822b9f001bc9e5a823992e49e789c1811fb 100644 (file)
@@ -237,14 +237,6 @@ public class AllProcessesCommands implements AutoCloseable {
     return bytes;
   }
 
-  private void writeLong(int processNumber, int offset, long value) {
-    mappedByteBuffer.putLong(offset(processNumber) + offset, value);
-  }
-
-  private long readLong(int processNumber, int offset) {
-    return mappedByteBuffer.getLong(offset(processNumber) + offset);
-  }
-
   // VisibleForTesting
   int offset(int processNumber) {
     return BYTE_LENGTH_FOR_ONE_PROCESS * processNumber;