Commit e4378ab 1 parent f56396f commit e4378ab Copy full SHA for e4378ab
File tree 1 file changed +6
-4
lines changed
src/java.base/share/classes/java/util/zip
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -264,29 +264,31 @@ public boolean markSupported() {
264
264
/**
265
265
* Marks the current position in this input stream.
266
266
*
267
- * <p> The {@code mark} method of {@code InflaterInputStream}
267
+ * @implSpec The {@code mark} method of {@code InflaterInputStream}
268
268
* does nothing.
269
269
*
270
270
* @param readlimit the maximum limit of bytes that can be read before
271
271
* the mark position becomes invalid.
272
272
* @see java.io.InputStream#reset()
273
273
*/
274
- public synchronized void mark (int readlimit ) {
274
+ @ Override
275
+ public void mark (int readlimit ) {
275
276
}
276
277
277
278
/**
278
279
* Repositions this stream to the position at the time the
279
280
* {@code mark} method was last called on this input stream.
280
281
*
281
- * <p> The method {@code reset} for class
282
+ * @implSpec The method {@code reset} for class
282
283
* {@code InflaterInputStream} does nothing except throw an
283
284
* {@code IOException}.
284
285
*
285
286
* @throws IOException if this method is invoked.
286
287
* @see java.io.InputStream#mark(int)
287
288
* @see java.io.IOException
288
289
*/
289
- public synchronized void reset () throws IOException {
290
+ @ Override
291
+ public void reset () throws IOException {
290
292
throw new IOException ("mark/reset not supported" );
291
293
}
292
294
}
You can’t perform that action at this time.
1 commit comments
openjdk-notifier[bot] commentedon May 14, 2022
Review
Issues