I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 87008f3f authored by zzz's avatar zzz
Browse files

make jetty version comparable

parent bb7a88ff
Branches
Tags
No related merge requests found
......@@ -18,7 +18,10 @@ public class LogsHelper extends HelperBase {
/** @since 0.8.13 */
static String jettyVersion() {
try {
return Version.getImplVersion();
String rv = Version.getImplVersion();
if (rv.startsWith("Jetty/"))
rv = rv.substring(6);
return rv;
} catch (Throwable t) {
return "unknown";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment