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 2022/12/08 16:16:02 UTC
[commons-compress] 31/38: Make private class static
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
commit 36f2d6e85b7304343d9bdebda049c434bb3dc6ae
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 8 11:11:37 2022 -0500
Make private class static
---
.../java/org/apache/commons/compress/harmony/pack200/SegmentHeader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/commons/compress/harmony/pack200/SegmentHeader.java b/src/main/java/org/apache/commons/compress/harmony/pack200/SegmentHeader.java
index 5c1ca486..676b3c50 100644
--- a/src/main/java/org/apache/commons/compress/harmony/pack200/SegmentHeader.java
+++ b/src/main/java/org/apache/commons/compress/harmony/pack200/SegmentHeader.java
@@ -292,7 +292,7 @@ public class SegmentHeader extends BandSet {
/**
* Counter for major/minor class file numbers so we can work out the default
*/
- private class Counter {
+ private static class Counter {
private final int[] objs = new int[8];
private final int[] counts = new int[8];