Skip to content

Commit

Permalink
refactor: remove unused code (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
djenczewski committed Dec 13, 2024
1 parent 7f08b0d commit e734462
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

import java.io.IOException;
import java.io.OutputStream;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;


/**
Expand Down Expand Up @@ -137,7 +135,6 @@ public byte[] read(Long size) throws IOException, PrivmxException, NativeExcepti
* @throws NativeException if there is an unknown error while seeking
*/
public void seek(long position) throws IllegalStateException, PrivmxException, NativeException {
storeApi.seekInFile(handle,position);
((ThreadPoolExecutor) Executors.newSingleThreadExecutor()).getQueue().clear();
storeApi.seekInFile(handle, position);
}
}

0 comments on commit e734462

Please sign in to comment.