Permalink
Browse files

minor formatting fixes

  • Loading branch information...
1 parent fafadf4 commit 0fae525d4181f488e1126fbd6b7629ea9e338ea1 @hofmeister committed Feb 17, 2013
View
@@ -1 +1,2 @@
target
+.DS_Store
@@ -63,4 +63,6 @@ protected String trimContext(String path) {
return map.entrySet();
}
+
+
}
@@ -2,6 +2,7 @@
import com.vonhof.babelshark.BabelShark;
import com.vonhof.webi.bean.BeanContext;
+import com.vonhof.webi.file.FileRequestHandler;
import com.vonhof.webi.session.SessionHandler;
import java.io.IOException;
import java.util.ArrayList;
@@ -184,6 +185,7 @@ public void run() {
beanContext.add(handler);
return handler;
}
+
/**
* Add filter at path
@@ -205,8 +207,7 @@ public void add(ShutdownHandler shutdownHandler) {
/**
* Add session resolver at path
- * @param path
- * @param handler
+ * @param handler
*/
public <T extends SessionHandler> T add(T handler) {
sessionHandlers.put(handler.getBasePath(), handler);
@@ -232,7 +233,7 @@ public void addBean(String id, Object obj) {
public BeanContext getBeanContext() {
return beanContext;
}
-
+
/**
* Internal webi jetty handler
*/
@@ -61,7 +61,7 @@ public UrlMapper getUrlMapper() {
public void expose(Object obj) {
urlMapper.expose(obj);
webi.addBean(obj);
- };
+ }
public void expose(Object obj, String baseUrl) {
urlMapper.expose(obj, baseUrl);
@@ -71,8 +71,9 @@ public void expose(Object obj, String baseUrl) {
public void expose(String id,Object obj) {
urlMapper.expose(obj);
webi.addBean(id,obj);
- };
-
+ }
+
+
@Override
public void handle(WebiContext ctxt) throws IOException, ServletException {

0 comments on commit 0fae525

Please sign in to comment.