Changeset 87008f3


Ignore:
Timestamp:
Dec 30, 2011 10:12:30 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
f0eb5663
Parents:
bb7a88f
Message:

make jetty version comparable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/LogsHelper.java

    rbb7a88f r87008f3  
    1919    static String jettyVersion() {
    2020        try {
    21             return Version.getImplVersion();
     21            String rv = Version.getImplVersion();
     22            if (rv.startsWith("Jetty/"))
     23                rv = rv.substring(6);
     24            return rv;
    2225        } catch (Throwable t) {
    2326            return "unknown";
Note: See TracChangeset for help on using the changeset viewer.