6f4c01d36878 — jgindin@chagall 1 year, 2 months ago
Suppress FeatureEnvy on the correct method.
1 files changed, 5 insertions(+), 1 deletions(-)

M ZmanLib/src/main/java/com/gindin/zmanlib/location/ZmanLocationJSON.java
M ZmanLib/src/main/java/com/gindin/zmanlib/location/ZmanLocationJSON.java +5 -1
@@ 1,3 1,7 @@ 
+/*
+ * Copyright (c) 2022. Jay R. Gindin
+ */
+
 package com.gindin.zmanlib.location;
 
 import org.json.JSONObject;

          
@@ 22,7 26,6 @@ public class ZmanLocationJSON {
   private static final String                               NO_NAME = " - - ";
 
 
-  @SuppressWarnings( "FeatureEnvy" )
   public static String toJSON( ZmanimLocation location ) {
 
     JSONObject jsonLocation = new JSONObject();

          
@@ 46,6 49,7 @@ public class ZmanLocationJSON {
   }
 
 
+  @SuppressWarnings( "FeatureEnvy" )
   public static ZmanimLocation fromJSON( String json ) {
 
     JSONTokener tokener = new JSONTokener( json );