handle null paths
authorSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 10 Feb 2013 08:00:48 +0000 (10:00 +0200)
committerSvjatoslav Agejenko <n0@n0-Aspire-8920.(none)>
Sun, 10 Feb 2013 08:00:48 +0000 (10:00 +0200)
src/main/java/eu/svjatoslav/meviz/htmlindexer/WebIndexer.java

index 199f789..6530e70 100644 (file)
@@ -35,6 +35,9 @@ public class WebIndexer extends AbstractIndexer {
        public String getHtml(String requestPath) throws MalformedURLException,
                        IOException, ClassNotFoundException {
 
+               if (requestPath == null)
+                       requestPath = "";
+
                if (requestPath.equals("/"))
                        requestPath = "";