This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new c83c37e Add @SuppressWarnings.
c83c37e is described below
commit c83c37ec1fc878618e4e5b480fcbf61d110203d7
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Apr 12 12:05:23 2020 -0400
Add @SuppressWarnings.
---
.../org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/src/main/java/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.java
b/src/main/java/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.java
index f1aed06..82fb881 100644
---
a/src/main/java/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.java
+++
b/src/main/java/org/apache/commons/io/input/UnsynchronizedByteArrayInputStream.java
@@ -171,11 +171,13 @@ public class UnsynchronizedByteArrayInputStream extends
InputStream {
return true;
}
+ @SuppressWarnings("sync-override")
@Override
public void mark(final int readlimit) {
this.markedOffset = this.offset;
}
+ @SuppressWarnings("sync-override")
@Override
public void reset() {
this.offset = this.markedOffset;