Skip to content

Commit 675ba06

Browse files
authored
Merge pull request #287 from BehindTheMath/fix/remove-dead-code
Remove dead code
2 parents a357a89 + a5b3824 commit 675ba06

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎src/main/java/com/kosherjava/zmanim/util/ZmanimFormatter.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -547,14 +547,6 @@ public static String toJSON(AstronomicalCalendar astronomicalCalendar) {
547547
* @return if the method should be included in serialization
548548
*/
549549
private static boolean includeMethod(Method method) {
550-
List<String> methodWhiteList = new ArrayList<>();
551-
List<String> methodBlackList = new ArrayList<>();
552-
553-
if (methodWhiteList.contains(method.getName()))
554-
return true;
555-
if (methodBlackList.contains(method.getName()))
556-
return false;
557-
558550
if (method.getParameterTypes().length > 0)
559551
return false; // Skip get methods with parameters since we do not know what value to pass
560552
if (!method.getName().startsWith("get"))

0 commit comments

Comments
 (0)