You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/07/14 13:37:34 UTC
(commons-io) 01/02: Normalize ivar name
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
commit b89b74c672a77654da18b07a21cb66aca3737cf1
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jul 14 09:28:52 2024 -0400
Normalize ivar name
---
src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java b/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
index 9ebb578b9..6a0ca0ee6 100644
--- a/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
+++ b/src/test/java/org/apache/commons/io/input/BOMInputStreamTest.java
@@ -55,15 +55,15 @@ public class BOMInputStreamTest {
* A mock InputStream that expects {@code close()} to be called.
*/
private static final class ExpectCloseInputStream extends InputStream {
- private boolean _closeCalled;
+ private boolean closed;
public void assertCloseCalled() {
- assertTrue(_closeCalled);
+ assertTrue(closed);
}
@Override
public void close() throws IOException {
- _closeCalled = true;
+ closed = true;
}
@Override