Fixed bugs in initial 2.0 release.
This commit is contained in:
parent
d720c6c645
commit
8cc257c24e
@ -1,5 +1,5 @@
|
||||
#Fri, 11 Oct 2013 18:08:21 +0000
|
||||
#Fri, 11 Oct 2013 16:03:41 -0500
|
||||
name=timestamper-lib
|
||||
version=2.0
|
||||
version=2.1
|
||||
lib.local=true
|
||||
build.number=1
|
||||
|
Binary file not shown.
BIN
release/timestamper-lib-2.1.jar
Normal file
BIN
release/timestamper-lib-2.1.jar
Normal file
Binary file not shown.
@ -143,12 +143,12 @@ public class JDBLabsWebTimelineSource extends TimelineSource {
|
||||
}
|
||||
|
||||
// Delete all entries that used to be present but are not any longer
|
||||
deletedEntries.each { hash, entryId ->
|
||||
deletedEntries.each { uuid, entryId ->
|
||||
http.request(DELETE) {
|
||||
uri.path = "entries/${username}/${timelineId}/${entryId}"
|
||||
|
||||
response.'404' = { resp -> serverEntryIds.remove(hash) }
|
||||
response.success = { resp -> serverEntryIds.remove(hash) }
|
||||
response.'404' = { resp -> serverEntryIds.remove(uuid) }
|
||||
response.success = { resp -> serverEntryIds.remove(uuid) }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,8 +24,8 @@ public class TimelineMarker implements Comparable<TimelineMarker> {
|
||||
+ " is not permitted.");
|
||||
|
||||
// We truncate milliseconds.
|
||||
this.timestamp = 1000 * (timestamp / 1000);
|
||||
|
||||
long seconds = 1000l * (timestamp.getTime() / 1000l);
|
||||
this.timestamp = new Date(seconds);
|
||||
this.mark = mark;
|
||||
this.notes = notes;
|
||||
this.uuid = uuid;
|
||||
|
Loading…
x
Reference in New Issue
Block a user