[tor-commits] [collector/master] Make inner class static.

karsten at torproject.org karsten at torproject.org
Wed Nov 20 16:48:14 UTC 2019


commit 86f8001590225327411cb8b7aa18dba0397deb96
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Wed Nov 20 15:14:15 2019 +0100

    Make inner class static.
---
 .../torproject/metrics/collector/bridgedescs/TarballTestBuilder.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/torproject/metrics/collector/bridgedescs/TarballTestBuilder.java b/src/test/java/org/torproject/metrics/collector/bridgedescs/TarballTestBuilder.java
index e2f4c40..08dca84 100644
--- a/src/test/java/org/torproject/metrics/collector/bridgedescs/TarballTestBuilder.java
+++ b/src/test/java/org/torproject/metrics/collector/bridgedescs/TarballTestBuilder.java
@@ -26,7 +26,7 @@ class TarballTestBuilder {
 
   /** Internal helper class to store details about a file contained in the
    * tarball. */
-  private class TarballFile {
+  private static class TarballFile {
 
     /** Last modified time of the file. */
     private long modifiedMillis;





More information about the tor-commits mailing list