Skip to content

Commit

Permalink
Update ConfigRegionListeningQueue.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Caideyipi committed Sep 6, 2024
1 parent cbafbd3 commit b4bf8e8
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ protected Event deserializeFromByteBuffer(final ByteBuffer byteBuffer) {
/////////////////////////////// Snapshot ///////////////////////////////

@Override
public synchronized boolean processTakeSnapshot(final File snapshotDir)
throws IOException {
public synchronized boolean processTakeSnapshot(final File snapshotDir) throws IOException {
try {
return super.serializeToFile(new File(snapshotDir, SNAPSHOT_FILE_NAME));
} catch (final IOException e) {
Expand All @@ -171,7 +170,7 @@ public synchronized void processLoadSnapshot(final File snapshotDir)
throws TException, IOException {
try {
super.deserializeFromFile(new File(snapshotDir, SNAPSHOT_FILE_NAME));
}catch (final IOException e) {
} catch (final IOException e) {
throw e;
} catch (final Exception e) {
throw new IOException(e);
Expand Down

0 comments on commit b4bf8e8

Please sign in to comment.