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 c0ee777e7d3a9508ca886b1f5afb3d630abcfc7a Author: servantie <servantie.c@gmail.com> Date: Fri Jul 8 09:51:18 2016 +0200 clean up empty methods that were not necessary --- .../chorem/jtimer/io/TimerTaskSynchronizer.java | 71 +++------------------- 1 file changed, 8 insertions(+), 63 deletions(-) diff --git a/src/main/java/org/chorem/jtimer/io/TimerTaskSynchronizer.java b/src/main/java/org/chorem/jtimer/io/TimerTaskSynchronizer.java index a06519a..6643199 100644 --- a/src/main/java/org/chorem/jtimer/io/TimerTaskSynchronizer.java +++ b/src/main/java/org/chorem/jtimer/io/TimerTaskSynchronizer.java @@ -1,6 +1,13 @@ package org.chorem.jtimer.io; import com.google.gson.JsonObject; +import java.io.IOException; +import java.io.UnsupportedEncodingException; +import java.net.HttpURLConnection; +import java.net.MalformedURLException; +import java.net.ProtocolException; +import java.net.URL; +import java.time.LocalDateTime; import java.util.ArrayList; import java.util.Calendar; import java.util.Collection; @@ -12,18 +19,9 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.chorem.jtimer.data.DataEventListener; import org.chorem.jtimer.entities.SyncInfo; -import org.chorem.jtimer.entities.TimerProject; import org.chorem.jtimer.entities.TimerTask; import org.chorem.jtimer.entities.TimerTaskHelper; -import java.io.IOException; -import java.io.UnsupportedEncodingException; -import java.net.HttpURLConnection; -import java.net.MalformedURLException; -import java.net.ProtocolException; -import java.net.URL; -import java.time.LocalDateTime; - /** * * Class dealing with automated synchronization of tasks @@ -197,20 +195,6 @@ public class TimerTaskSynchronizer implements DataEventListener { return upDateValue; } - @Override - public void addProject(TimerProject project) { - - } - - @Override - public void addTask(TimerTask task) { - } - - @Override - public void modifyProject(TimerProject project) { - - } - /** * Tasks are added to synchronization list when modified * @param task modified task @@ -226,10 +210,6 @@ public class TimerTaskSynchronizer implements DataEventListener { } } - @Override - public void deleteProject(TimerProject project) { - - } /** * Tasks deleted are modified from synchronization list if they exist in it * @param task modified task @@ -241,11 +221,6 @@ public class TimerTaskSynchronizer implements DataEventListener { } } - @Override - public void setAnnotation(TimerTask task, Date date, String annotation) { - - } - /** * When the time is modified, the task is added to the sync list * @param task task where time is changed @@ -262,36 +237,10 @@ public class TimerTaskSynchronizer implements DataEventListener { } } - @Override - public void changeClosedState(TimerTask task) { - - } - - @Override - public void preMoveTask(TimerTask task) { - - } - - @Override - public void moveTask(TimerTask task) { - - } - - @Override - public void preMergeTasks(TimerTask destinationTask, List<TimerTask> otherTasks) { - - } - - @Override - public void postMergeTasks(TimerTask destinationTask, List<TimerTask> otherTasks) { - - } - /** * Tasks are added to synchronization list when started * @param task started task */ - @Override public void startTask(TimerTask task) { if (!tasksToSync.contains(task)) { @@ -301,6 +250,7 @@ public class TimerTaskSynchronizer implements DataEventListener { } } } + /** * Tasks are added to synchronization list when stopped * @param task modified task @@ -315,11 +265,6 @@ public class TimerTaskSynchronizer implements DataEventListener { } } - @Override - public void dataLoaded(Collection<TimerProject> projects) { - - } - /** * When the syncInfo is changed, add the task to sync list * @param task the task to sync -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.