mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 13:03:04 +00:00
make jetty version comparable
This commit is contained in:
1 parent
bb7a88ffc9
commit
87008f3fe3
1 file changed
+4
-1
@@ -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";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user