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 2026/07/14 17:33:01 UTC
(commons-compress) 08/12: Use final
This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git
commit 699e96547fe2f249f1d7993d5f56079c0d831ebb
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 14 13:28:03 2026 -0400
Use final
---
.../compress/harmony/unpack200/NewAttributeBands.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java b/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java
index fe6821c38..5af5ee141 100644
--- a/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java
+++ b/src/main/java/org/apache/commons/compress/harmony/unpack200/NewAttributeBands.java
@@ -81,32 +81,32 @@ private interface AttributeLayoutElement {
private class AttributeLayoutFactory implements AttributeLayoutParser.Factory<LayoutElement> {
@Override
- public LayoutElement createCall(int callableIndex) {
+ public LayoutElement createCall(final int callableIndex) {
return new Call(callableIndex);
}
@Override
- public LayoutElement createCallable(List<LayoutElement> body) throws Pack200Exception {
+ public LayoutElement createCallable(final List<LayoutElement> body) throws Pack200Exception {
return new Callable(body);
}
@Override
- public LayoutElement createIntegral(String tag) {
+ public LayoutElement createIntegral(final String tag) {
return new Integral(tag);
}
@Override
- public LayoutElement createReference(String tag) {
+ public LayoutElement createReference(final String tag) {
return new Reference(tag);
}
@Override
- public LayoutElement createReplication(String unsignedInt, List<LayoutElement> body) throws Pack200Exception {
+ public LayoutElement createReplication(final String unsignedInt, final List<LayoutElement> body) throws Pack200Exception {
return new Replication(unsignedInt, body);
}
@Override
- public LayoutElement createUnion(String anyInt, List<UnionCaseData<LayoutElement>> cases, List<LayoutElement> body) throws Pack200Exception {
+ public LayoutElement createUnion(final String anyInt, final List<UnionCaseData<LayoutElement>> cases, final List<LayoutElement> body) throws Pack200Exception {
final List<UnionCase> unionCases = new ArrayList<>();
for (final UnionCaseData<LayoutElement> unionCaseData : cases) {
unionCases.add(new UnionCase(unionCaseData.tagRanges, unionCaseData.body, false));