summaryrefslogtreecommitdiff
path: root/same/src/main
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-25 22:57:47 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-25 22:57:47 +0100
commit232b46f11e0249cad574e35bd2e0d5922efa7d6f (patch)
tree7f7ff8035d8b68fec08cef5624c6354a7bcb850d /same/src/main
parent05383f1ba3298c20c97a3976ed303016c3a6e9f3 (diff)
Fix update bug.
Variables always had revision=0 initially.
Diffstat (limited to 'same/src/main')
-rw-r--r--same/src/main/java/com/orbekk/same/VariableFactory.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/same/VariableFactory.java b/same/src/main/java/com/orbekk/same/VariableFactory.java
index 66e6747..8c786c0 100644
--- a/same/src/main/java/com/orbekk/same/VariableFactory.java
+++ b/same/src/main/java/com/orbekk/same/VariableFactory.java
@@ -59,6 +59,7 @@ public class VariableFactory {
@Override
public void update() {
value = client.getState().getParsedData(identifier, type);
+ revision = client.getState().getRevision(identifier);
}
@Override