Skip to content

Commit 72f54d0

Browse files
committed
upgrade surefire maven plugin
1 parent 7892b91 commit 72f54d0

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

jooby/src/main/java/org/jooby/internal/HttpHandlerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ private void handleErr(final RequestImpl req, final ResponseImpl rsp, final Thro
387387
next.handle(req, rsp, err);
388388
}
389389
} catch (Throwable errex) {
390-
log.error("error handler resulted in exception: {}{}\nRoute:\n{}\n\nStacktrace:{}\nSource:",
390+
log.error("error handler resulted in exception: {}{}\nRoute:\n{}\n\nStacktrace:\n{}\nSource:",
391391
req.method(), req.path(), req.route().print(6), Throwables.getStackTraceAsString(errex),
392392
ex);
393393
}

jooby/src/main/java/org/jooby/internal/WebSocketImpl.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* "License"); you may not use this file except in compliance
88
* with the License. You may obtain a copy of the License at
99
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
10+
* http://www.apache.org/licenses/LICENSE-2.0
1111
*
1212
* Unless required by applicable law or agreed to in writing,
1313
* software distributed under the License is distributed on an
@@ -298,9 +298,9 @@ private void cleanup(final Throwable cause) {
298298

299299
private CheckedRunnable sync(final CheckedRunnable task) {
300300
return () -> {
301-
synchronized (this) {
302-
task.run();
303-
}
301+
task.run();
304302
};
305-
};
303+
}
304+
305+
;
306306
}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ org.eclipse.jdt.apt.processorOptions/defaultOverwrite=true
28112811
<maven-javadoc-plugin.version>2.10.1</maven-javadoc-plugin.version>
28122812
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
28132813
<maven-enforcer-plugin.version>1.3.1</maven-enforcer-plugin.version>
2814-
<maven-surefire-plugin.version>2.17</maven-surefire-plugin.version>
2814+
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
28152815
<maven-eclipse-plugin.version>2.9</maven-eclipse-plugin.version>
28162816
<maven-java-formatter-plugin.version>0.4</maven-java-formatter-plugin.version>
28172817
<nexus-staging-maven-plugin.version>1.6.5</nexus-staging-maven-plugin.version>

0 commit comments

Comments
 (0)