File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
src/main/java/org/woehlke/twitterwall/oodm/entities Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -165,14 +165,6 @@ public String getUniqueId() {
165165 return "" + taskType .name () +"_" + timeStarted .getTime ();
166166 }
167167
168- @ Override
169- public boolean equals (Task task ) {
170- if (this == task ) return true ;
171- if (!id .equals (task .id )) return false ;
172- if (taskType != task .taskType ) return false ;
173- return timeStarted .equals (task .timeStarted );
174- }
175-
176168 public TaskType getTaskType () {
177169 return taskType ;
178170 }
Original file line number Diff line number Diff line change @@ -96,18 +96,6 @@ public String getUniqueId() {
9696 return "" + task .getId ().toString () +"_" + timeEvent .getTime () ;
9797 }
9898
99- @ Override
100- public boolean equals (TaskHistory that ) {
101- if (this == that ) return true ;
102-
103- if (id != null ? !id .equals (that .id ) : that .id != null ) return false ;
104- if (description != null ? !description .equals (that .description ) : that .description != null ) return false ;
105- if (taskStatusBefore != that .taskStatusBefore ) return false ;
106- if (taskStatusNow != that .taskStatusNow ) return false ;
107- if (idTask != that .idTask ) return false ;
108- return timeEvent != null ? timeEvent .equals (that .timeEvent ) : that .timeEvent == null ;
109- }
110-
11199 public String getDescription () {
112100 return description ;
113101 }
You can’t perform that action at this time.
0 commit comments