@@ -44,7 +44,6 @@ public MetadataManager(MetadataParser<T> parser, int currentVersion, String code
4444 * After reading the actual content, verifies the checksum as well
4545 * @param indexInput metadata file input stream
4646 * @return metadata content parsed into {@link T}
47- * @throws IOException
4847 */
4948 public T readMetadata (IndexInput indexInput ) throws IOException {
5049 ChecksumIndexInput checksumIndexInput = new BufferedChecksumIndexInput (indexInput );
@@ -58,7 +57,6 @@ public T readMetadata(IndexInput indexInput) throws IOException {
5857 * Writes metadata to file output stream {@code indexOutput}
5958 * @param indexOutput file output stream which will store metadata content
6059 * @param metadata metadata content.
61- * @throws IOException
6260 *
6361 * {@code metadata} argument type would be changed to {@link T} in future to reuse {@link MetadataManager} for multiple metadata types
6462 */
@@ -72,7 +70,6 @@ public void writeMetadata(IndexOutput indexOutput, Map<String, String> metadata)
7270 * Reads header from metadata file input stream containing {@code this.codec} and {@code this.currentVersion}.
7371 * @param indexInput metadata file input stream
7472 * @return header version found in the metadata file
75- * @throws IOException
7673 */
7774 private int checkHeader (IndexInput indexInput ) throws IOException {
7875 return CodecUtil .checkHeader (indexInput , this .codec , this .currentVersion , this .currentVersion );
@@ -82,7 +79,6 @@ private int checkHeader(IndexInput indexInput) throws IOException {
8279 * Reads footer from metadata file input stream containing checksum.
8380 * The {@link IndexInput#getFilePointer()} should be at the footer start position.
8481 * @param indexInput metadata file input stream
85- * @throws IOException
8682 */
8783 private void checkFooter (ChecksumIndexInput indexInput ) throws IOException {
8884 CodecUtil .checkFooter (indexInput );
@@ -91,7 +87,6 @@ private void checkFooter(ChecksumIndexInput indexInput) throws IOException {
9187 /**
9288 * Writes header with {@code this.codec} and {@code this.currentVersion} to the metadata file output stream
9389 * @param indexOutput metadata file output stream
94- * @throws IOException
9590 */
9691 private void writeHeader (IndexOutput indexOutput ) throws IOException {
9792 CodecUtil .writeHeader (indexOutput , this .codec , this .currentVersion );
@@ -100,7 +95,6 @@ private void writeHeader(IndexOutput indexOutput) throws IOException {
10095 /**
10196 * Writes footer with checksum of contents of metadata file output stream
10297 * @param indexOutput metadata file output stream
103- * @throws IOException
10498 */
10599 private void writeFooter (IndexOutput indexOutput ) throws IOException {
106100 CodecUtil .writeFooter (indexOutput );
0 commit comments