summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/terminal/web/ApplicationServlet.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
index 6aa8753fc9..2844e15fbd 100644
--- a/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
+++ b/src/com/itmill/toolkit/terminal/web/ApplicationServlet.java
@@ -481,18 +481,15 @@ public class ApplicationServlet extends HttpServlet implements
String source = (String) i.next();
File sourceFile = new File(source);
try {
-
// Relative files are treated as streams (to support
// resource inside WAR files)
if (!sourceFile.isAbsolute()) {
returnValue.add(new ServletThemeSource(this
.getServletContext(), this, source));
} else if (sourceFile.isDirectory()) {
-
// Absolute directories are read from filesystem
returnValue.add(new DirectoryThemeSource(sourceFile, this));
} else {
-
// Absolute JAR-files are read from filesystem
returnValue.add(new JarThemeSource(sourceFile, this, ""));
}