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-compress.git
The following commit(s) were added to refs/heads/master by this push: new 7e669b5f Better local and parameter names 7e669b5f is described below commit 7e669b5f45341691b6a49ab0fd612e697d6021d3 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Sep 30 08:49:06 2022 -0400 Better local and parameter names --- .../compress/harmony/pack200/NewAttributeBands.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/harmony/pack200/NewAttributeBands.java b/src/main/java/org/apache/commons/compress/harmony/pack200/NewAttributeBands.java index 31307414..7a705c79 100644 --- a/src/main/java/org/apache/commons/compress/harmony/pack200/NewAttributeBands.java +++ b/src/main/java/org/apache/commons/compress/harmony/pack200/NewAttributeBands.java @@ -62,9 +62,9 @@ public class NewAttributeBands extends BandSet { } @Override - public void pack(final OutputStream out) throws IOException, Pack200Exception { + public void pack(final OutputStream outputStream) throws IOException, Pack200Exception { for (AttributeLayoutElement attributeLayoutElement : attributeLayoutElements) { - attributeLayoutElement.pack(out); + attributeLayoutElement.pack(outputStream); } } @@ -166,17 +166,17 @@ public class NewAttributeBands extends BandSet { } } - private AttributeLayoutElement readNextAttributeElement(final StringReader stream) throws IOException { - stream.mark(1); - final int nextChar = stream.read(); + private AttributeLayoutElement readNextAttributeElement(final StringReader reader) throws IOException { + reader.mark(1); + final int nextChar = reader.read(); if (nextChar == -1) { return null; } if (nextChar == '[') { - return new Callable(readBody(getStreamUpToMatchingBracket(stream))); + return new Callable(readBody(getStreamUpToMatchingBracket(reader))); } - stream.reset(); - return readNextLayoutElement(stream); + reader.reset(); + return readNextLayoutElement(reader); } private LayoutElement readNextLayoutElement(final StringReader reader) throws IOException {