Skip to content

Commit

Permalink
Fix error message due to API change
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Nov 11, 2023
1 parent d23e62a commit a3bd992
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import java.util.Objects;

public class Durations extends ArrayList<Duration> {
public final List<String> branches;
private final boolean isToday;

public Durations(@NonNull JSONObject obj, @Nullable Project project) throws JSONException {
Expand All @@ -26,8 +25,6 @@ public Durations(@NonNull JSONObject obj, @Nullable Project project) throws JSON
if (project == null || Objects.equals(duration.project, project.name)) add(duration);
}

branches = CommonUtils.toStringsList(obj.getJSONArray("branches"), true);

Calendar cal = Calendar.getInstance();
cal.set(Calendar.HOUR_OF_DAY, 0);
cal.set(Calendar.MINUTE, 0);
Expand Down

0 comments on commit a3bd992

Please sign in to comment.