Skip to content

Commit 6d865cd

Browse files
author
SirCipher
committed
Updates formatting
1 parent 2bfb05f commit 6d865cd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

server/src/main/java/swim/tutorial/UnitAgent.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public class UnitAgent extends AbstractAgent {
1919
logMessage("histogram: replaced " + k + "'s value to " + Recon.toString(n) + " from " + Recon.toString(o));
2020
dropOldData();
2121
});
22+
2223
@SwimLane("history")
2324
private final ListLane<Value> history = this.<Value>listLane()
2425
.didUpdate((idx, newValue, oldValue) -> {
@@ -29,6 +30,7 @@ public class UnitAgent extends AbstractAgent {
2930
final int willDrop = Math.max(0, this.history.size() - 200);
3031
this.history.drop(willDrop);
3132
});
33+
3234
@SwimLane("latest")
3335
private final ValueLane<Value> latest = this.<Value>valueLane()
3436
.didSet((newValue, oldValue) -> {
@@ -39,6 +41,7 @@ public class UnitAgent extends AbstractAgent {
3941
.item(newValue)
4042
);
4143
});
44+
4245
@SwimLane("publish")
4346
public final CommandLane<Value> publish = this.<Value>commandLane()
4447
.onCommand(v -> {

0 commit comments

Comments
 (0)