Skip to content

Commit 95a2a45

Browse files
committed
Close notifier in *Example
1 parent c5fcb9c commit 95a2a45

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

send-notification/src/test/java/NotifySendExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ public static void main(String[] args) {
3232
.build();
3333

3434
notifier.send(notification);
35+
notifier.close();
3536
}
3637
}

send-notification/src/test/java/SimpleNotificationCenter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ public static void main(String[] args) {
3131
.build();
3232

3333
notifier.send(notification);
34+
notifier.close();
3435
}
3536
}

send-notification/src/test/java/TerminalNotifierExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ public static void main(String[] args) {
3131
.build();
3232

3333
notifier.send(notification);
34+
notifier.close();
3435
}
3536
}

0 commit comments

Comments
 (0)