]> source.dussan.org Git - vaadin-framework.git/commitdiff
Remove unused method (#9634) 24/24/1
authorLeif Åstrand <leif@vaadin.com>
Mon, 1 Oct 2012 08:59:53 +0000 (11:59 +0300)
committerLeif Åstrand <leif@vaadin.com>
Mon, 1 Oct 2012 08:59:53 +0000 (11:59 +0300)
Change-Id: Iad6f920d345832ec6bec49761a31ceb7290679e9

server/src/com/vaadin/server/VaadinServlet.java

index e73be682c27471af91071de1ad878fca258a41a3..9d1d79d8b17e7cf6cf881f3cb52d9bf5c0f63d25 100644 (file)
@@ -1172,26 +1172,6 @@ public class VaadinServlet extends HttpServlet implements Constants {
         return request.getPathInfo();
     }
 
-    /**
-     * Gets relative location of a theme resource.
-     * 
-     * @param theme
-     *            the Theme name.
-     * @param resource
-     *            the Theme resource.
-     * @return External URI specifying the resource
-     * 
-     * @deprecated might be refactored or removed before 7.0.0
-     */
-    @Deprecated
-    public String getResourceLocation(String theme, ThemeResource resource) {
-
-        if (resourcePath == null) {
-            return resource.getResourceId();
-        }
-        return resourcePath + theme + "/" + resource.getResourceId();
-    }
-
     public class RequestError implements Terminal.ErrorEvent, Serializable {
 
         private final Throwable throwable;