Skip to content

Commit 62edcaf

Browse files
committed
rename variable for clarity
1 parent 0f6cb5a commit 62edcaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ziti/src/samples/java/org/openziti/samples/ZitiContextEvents.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public static void main(String[] args) {
4545
System.out.printf(">>> status = %s%n", status);
4646
});
4747

48-
ziti.onServiceEvent(service -> {
49-
System.out.printf(">>> %s = %s%n", service.getService().getName(), service.getType());
48+
ziti.onServiceEvent(event -> {
49+
System.out.printf(">>> %s = %s%n", event.getService().getName(), event.getType());
5050
});
5151

5252
Thread.sleep(5000);

0 commit comments

Comments
 (0)