make jetty version comparable

This commit is contained in:
zzz committed 2011-12-30 22:12:30 +00:00
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";
}