diff options
author | Henrik <henrik.hoiness@online.no> | 2018-07-11 11:13:08 +0200 |
---|---|---|
committer | Henrik <henrik.hoiness@online.no> | 2018-07-11 11:13:08 +0200 |
commit | f958196acf413ff8633b8147f2ee06ca6b573265 (patch) | |
tree | a4afd1eed323be5a7f1367568760b4adbc2a4145 /container-search-gui/src/main | |
parent | b118c94e7744d37e4564a79edd6a5ba9faf1307d (diff) |
Changed import to static
Diffstat (limited to 'container-search-gui/src/main')
-rw-r--r-- | container-search-gui/src/main/java/com/yahoo/search/query/gui/GUIHandler.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/container-search-gui/src/main/java/com/yahoo/search/query/gui/GUIHandler.java b/container-search-gui/src/main/java/com/yahoo/search/query/gui/GUIHandler.java index d24ab1e6128..d17ddc9b7f9 100644 --- a/container-search-gui/src/main/java/com/yahoo/search/query/gui/GUIHandler.java +++ b/container-search-gui/src/main/java/com/yahoo/search/query/gui/GUIHandler.java @@ -94,29 +94,29 @@ public class GUIHandler extends LoggingRequestHandler { return "application/javascript"; } else if (path.endsWith(".html")) { return "text/html"; - }else if (path.endsWith(".php")) { + } else if (path.endsWith(".php")) { return "text/php"; - }else if (path.endsWith(".svg")) { + } else if (path.endsWith(".svg")) { return "image/svg+xml"; - }else if (path.endsWith(".eot")) { + } else if (path.endsWith(".eot")) { return "application/vnd.ms-fontobject"; - }else if (path.endsWith(".ttf")) { + } else if (path.endsWith(".ttf")) { return "font/ttf"; - }else if (path.endsWith(".woff")) { + } else if (path.endsWith(".woff")) { return "font/woff"; - }else if (path.endsWith(".woff2")) { + } else if (path.endsWith(".woff2")) { return "font/woff2"; - }else if (path.endsWith(".otf")) { + } else if (path.endsWith(".otf")) { return "font/otf"; - }else if (path.endsWith(".png")) { + } else if (path.endsWith(".png")) { return "image/png"; - }else if (path.endsWith(".xml")) { + } else if (path.endsWith(".xml")) { return "application/xml"; - }else if (path.endsWith(".ico")) { + } else if (path.endsWith(".ico")) { return "image/x-icon"; - }else if (path.endsWith(".json")) { + } else if (path.endsWith(".json")) { return "application/json"; - }else if (path.endsWith(".ttf")) { + } else if (path.endsWith(".ttf")) { return "font/ttf"; } return "text/html"; |