aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/Service.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-02 17:53:34 +0300
committerGravatar Vitaly Takmazov2020-10-02 17:53:34 +0300
commita62c1fda358f54bd3e7de9aea94ce63e89e06142 (patch)
treed6f4734e5150f849ae782ea35812bed139f5d029 /src/main/java/com/juick/www/api/Service.java
parent4eab4c56d571cbd318391c26ccb5b02aa68029e1 (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.java2
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);