You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2018/02/05 22:41:46 UTC

[isis] branch maint-1.16.1 updated: ISIS-1569 - fixes bug in ticking clock ... not setting t0

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch maint-1.16.1
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/maint-1.16.1 by this push:
     new a026c0b  ISIS-1569 - fixes bug in ticking clock ... not setting t0
a026c0b is described below

commit a026c0b035e97d46009002f05db8feb4b2b46c20
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Feb 5 22:41:36 2018 +0000

    ISIS-1569 - fixes bug in ticking clock ... not setting t0
    
    (for computing the offset) in one of the new overloads
---
 .../main/java/org/apache/isis/applib/fixtures/TickingFixtureClock.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/applib/src/main/java/org/apache/isis/applib/fixtures/TickingFixtureClock.java b/core/applib/src/main/java/org/apache/isis/applib/fixtures/TickingFixtureClock.java
index 6079b58..cbfd7af 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/fixtures/TickingFixtureClock.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/fixtures/TickingFixtureClock.java
@@ -126,6 +126,7 @@ public class TickingFixtureClock extends Clock {
 
     public void setTime(final long millis) {
         calendar.setTimeInMillis(millis);
+        t0 = System.currentTimeMillis();
     }
 
     /**

-- 
To stop receiving notification emails like this one, please contact
danhaywood@apache.org.