This is an automated email from the git hooks/post-receive script. New commit to branch feature/sync in repository jtimer. See https://gitlab.nuiton.org/chorem/jtimer.git commit b79b74bde56cbfc4c3e25efb95ed47da07c64f59 Author: servantie <servantie.c@gmail.com> Date: Wed Jul 13 11:50:09 2016 +0200 removed useless declarations --- src/main/java/org/chorem/jtimer/entities/TimerTask.java | 9 ++++----- .../org/chorem/jtimer/ui/report/TimerTaskSyncInfoEditor.java | 4 ---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/chorem/jtimer/entities/TimerTask.java b/src/main/java/org/chorem/jtimer/entities/TimerTask.java index dab5a27..a8015e5 100644 --- a/src/main/java/org/chorem/jtimer/entities/TimerTask.java +++ b/src/main/java/org/chorem/jtimer/entities/TimerTask.java @@ -295,14 +295,13 @@ public class TimerTask implements Cloneable, /** * Adds a new synchronization info if the url isn't already present in the list + * sync activity true by default, annotations false by default * @param url a string * @param time a LocalDateTime - * @param isActive a boolean for activity (true to sync auto) - * @param isWithAnnotations a boolean for annotations (false default) */ - public void addSyncInfo(String url, Date time, boolean isActive, boolean isWithAnnotations) { + public void addSyncInfo(String url, Date time) { if (!url.isEmpty() && !getSynchronizingURLList().contains(url)) { - synchronisingInfoList.add(new SyncInfo(url, time, isActive, isWithAnnotations)); + synchronisingInfoList.add(new SyncInfo(url, time, true, false)); } } @@ -311,7 +310,7 @@ public class TimerTask implements Cloneable, * (default isActive = true and isWithAnnotations false) * @param url a String */ - public void addSyncInfo(String url) { addSyncInfo(url, new Date(0), true, false); } + public void addSyncInfo(String url) { addSyncInfo(url, new Date(0)); } /** * Adds a SyncInfo to the task diff --git a/src/main/java/org/chorem/jtimer/ui/report/TimerTaskSyncInfoEditor.java b/src/main/java/org/chorem/jtimer/ui/report/TimerTaskSyncInfoEditor.java index 40fa29f..f236052 100644 --- a/src/main/java/org/chorem/jtimer/ui/report/TimerTaskSyncInfoEditor.java +++ b/src/main/java/org/chorem/jtimer/ui/report/TimerTaskSyncInfoEditor.java @@ -81,9 +81,6 @@ public class TimerTaskSyncInfoEditor extends FrameView implements ActionListener /** button to test a url */ protected JButton testSyncUrlButton; - /** task in json format (1/synchronizing url) */ - protected List<JsonObject> updateJson; - /** ComboBox of URLs */ protected JComboBox<SyncInfo> urlComboBox; @@ -117,7 +114,6 @@ public class TimerTaskSyncInfoEditor extends FrameView implements ActionListener this.core = core; this.task = task; timezone = "+01:00"; - updateJson = new ArrayList<>(); df = new SimpleDateFormat("dd/MM/yy HH:mm:ss"); setComponent(getMainComponent()); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.