Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
move close to parent abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
adyach committed Jun 20, 2019
1 parent 4f55a41 commit a788944
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -478,4 +478,9 @@ protected abstract byte[] createTopologyAndOffsets(Collection<SubscriptionCursor
protected abstract byte[] serializeSession(Session session) throws NakadiRuntimeException;

protected abstract Session deserializeSession(String sessionId, byte[] sessionZkData) throws NakadiRuntimeException;

@Override
public void close() throws IOException {
getCloseableCuratorFramework().close();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,4 @@ public void transfer(final String sessionId, final Collection<EventTypePartition
changeSet.toArray(new Partition[changeSet.size()]));
}
}

@Override
public void close() throws IOException {
getCloseableCuratorFramework().close();
}
}

0 comments on commit a788944

Please sign in to comment.