From def50dcdd7f28f9f4f92fb723191049f67fd21e4 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 1 Oct 2012 23:37:05 +0300 Subject: [PATCH] Made GlobalResourceHandler serializable (#9817) Change-Id: Iae2ac641275a7f16b0bde2184c3f42f9f059f890 --- server/src/com/vaadin/server/GlobalResourceHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/vaadin/server/GlobalResourceHandler.java b/server/src/com/vaadin/server/GlobalResourceHandler.java index c968dba066..ad276dc77a 100644 --- a/server/src/com/vaadin/server/GlobalResourceHandler.java +++ b/server/src/com/vaadin/server/GlobalResourceHandler.java @@ -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( ""); -- 2.39.5