diff options
author | Vitaly Takmazov | 2020-10-02 17:53:34 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-02 17:53:34 +0300 |
commit | a62c1fda358f54bd3e7de9aea94ce63e89e06142 (patch) | |
tree | d6f4734e5150f849ae782ea35812bed139f5d029 /src/main/java/com/juick/www/api/Service.java | |
parent | 4eab4c56d571cbd318391c26ccb5b02aa68029e1 (diff) |
Apply fixes from some IDEA code inspections
Diffstat (limited to 'src/main/java/com/juick/www/api/Service.java')
-rw-r--r-- | src/main/java/com/juick/www/api/Service.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/Service.java b/src/main/java/com/juick/www/api/Service.java index 850acb9d..dc001428 100644 --- a/src/main/java/com/juick/www/api/Service.java +++ b/src/main/java/com/juick/www/api/Service.java @@ -203,7 +203,7 @@ public class Service { .forEach(session -> serverManager.getSessions().remove(session)); } @GetMapping("/api/events") - public SseEmitter handle(@Visitor User visitor) throws IOException { + public SseEmitter handle(@Visitor User visitor) { logger.info("{} connected", visitor.getName()); if (!visitor.isAnonymous()) { userService.updateLastSeen(visitor); |