Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/main/java/com/kosherjava/zmanim/util/ZmanimFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -547,14 +547,6 @@ public static String toJSON(AstronomicalCalendar astronomicalCalendar) {
* @return if the method should be included in serialization
*/
private static boolean includeMethod(Method method) {
List<String> methodWhiteList = new ArrayList<>();
List<String> methodBlackList = new ArrayList<>();

if (methodWhiteList.contains(method.getName()))
return true;
if (methodBlackList.contains(method.getName()))
return false;

if (method.getParameterTypes().length > 0)
return false; // Skip get methods with parameters since we do not know what value to pass
if (!method.getName().startsWith("get"))
Expand Down
Loading