package com.admicro.vertx.core;

public interface HttpServerContext {

    static final String ROOT_TAG = "server";

    String configurationPath();

    static HttpServerContext defaultContext() {
        return () -> "server.xml";
    }
}

package com.admicro.vertx.core;

public interface HttpServerContext {

    static final String ROOT_TAG = "server";

    String configurationPath();

    static HttpServerContext defaultContext() {
        return new HttpServerContext() {
            @Override
            public String configurationPath() {
                return "server.xml";
            }
        };
    }
}

--- 
+++ 
@@ -7,11 +7,6 @@
     String configurationPath();
 
     static HttpServerContext defaultContext() {
-        return new HttpServerContext() {
-            @Override
-            public String configurationPath() {
-                return "server.xml";
-            }
-        };
+        return () -> "server.xml";
     }
 }
Replace anonymous class with lambda
