[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [onionoo/release] Make inner classes static.



commit bc0f0a6451372726fe4a018b7cecaf95c0f03709
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Nov 20 12:19:53 2019 +0100

    Make inner classes static.
---
 .../org/torproject/metrics/onionoo/server/ResourceServletTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/torproject/metrics/onionoo/server/ResourceServletTest.java b/src/test/java/org/torproject/metrics/onionoo/server/ResourceServletTest.java
index 9224620..ac3f107 100644
--- a/src/test/java/org/torproject/metrics/onionoo/server/ResourceServletTest.java
+++ b/src/test/java/org/torproject/metrics/onionoo/server/ResourceServletTest.java
@@ -45,7 +45,7 @@ public class ResourceServletTest {
 
   private static long TEST_TIME = DateTimeHelper.parse("2013-04-24 12:22:22");
 
-  private class TestingHttpServletRequestWrapper
+  private static class TestingHttpServletRequestWrapper
       extends HttpServletRequestWrapper {
     private String requestUri;
     private String queryString;
@@ -78,7 +78,7 @@ public class ResourceServletTest {
     }
   }
 
-  private class TestingHttpServletResponseWrapper extends
+  private static class TestingHttpServletResponseWrapper extends
       HttpServletResponseWrapper {
 
     private TestingHttpServletResponseWrapper() {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits