]> source.dussan.org Git - vaadin-framework.git/commitdiff
Made GlobalResourceHandler serializable (#9817) 30/30/1
authorArtur Signell <artur@vaadin.com>
Mon, 1 Oct 2012 20:37:05 +0000 (23:37 +0300)
committerArtur Signell <artur@vaadin.com>
Mon, 1 Oct 2012 20:37:05 +0000 (23:37 +0300)
Change-Id: Iae2ac641275a7f16b0bde2184c3f42f9f059f890

server/src/com/vaadin/server/GlobalResourceHandler.java

index c968dba066f68c11c4b807a12c68c41d665f68c2..ad276dc77aa5501c4881b198b47afab09f332671 100644 (file)
@@ -59,7 +59,7 @@ public class GlobalResourceHandler implements RequestHandler {
     private int nextLegacyId = 0;
 
     // APP/global/[uiid]/[type]/[id]
-    private final Matcher matcher = Pattern.compile(
+    private static final Matcher matcher = Pattern.compile(
             "^/?" + ApplicationConstants.APP_REQUEST_PATH
                     + RESOURCE_REQUEST_PATH + "(\\d+)/(([^/]+)(/.*))").matcher(
             "");