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

[tor-commits] [metrics-lib/release] Remove final modifier from static methods.



commit 3554a91d813352bdefd5e5b10fc1c0891b4b753a
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Nov 20 16:43:07 2019 +0100

    Remove final modifier from static methods.
---
 .../java/org/torproject/descriptor/DescriptorSourceFactory.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/torproject/descriptor/DescriptorSourceFactory.java b/src/main/java/org/torproject/descriptor/DescriptorSourceFactory.java
index 55fbcf3..80ea524 100644
--- a/src/main/java/org/torproject/descriptor/DescriptorSourceFactory.java
+++ b/src/main/java/org/torproject/descriptor/DescriptorSourceFactory.java
@@ -103,7 +103,7 @@ public final class DescriptorSourceFactory {
    *
    * @since 1.0.0
    */
-  public static final DescriptorParser createDescriptorParser() {
+  public static DescriptorParser createDescriptorParser() {
     return (DescriptorParser) retrieve(PARSER_PROPERTY);
   }
 
@@ -113,7 +113,7 @@ public final class DescriptorSourceFactory {
    *
    * @since 1.0.0
    */
-  public static final DescriptorReader createDescriptorReader() {
+  public static DescriptorReader createDescriptorReader() {
     return (DescriptorReader) retrieve(READER_PROPERTY);
   }
 
@@ -123,11 +123,11 @@ public final class DescriptorSourceFactory {
    *
    * @since 1.0.0
    */
-  public static final DescriptorCollector createDescriptorCollector() {
+  public static DescriptorCollector createDescriptorCollector() {
     return (DescriptorCollector) retrieve(COLLECTOR_PROPERTY);
   }
 
-  private static final <T> Object retrieve(String type) {
+  private static <T> Object retrieve(String type) {
     Object object;
     String clazzName = null;
     try {



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