From e0a46a81e4f74e5a0472bbae04f19595f68d8cfa Mon Sep 17 00:00:00 2001
From: felmer <felmer>
Date: Tue, 17 Nov 2015 07:23:54 +0000
Subject: [PATCH] SSDM-2805: bug fixed in
 WhiteListCodebaseAwareObjectInputStream: Populate white list only once

SVN: 35072
---
 .../common/spring/WhiteListCodebaseAwareObjectInputStream.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/source/java/ch/systemsx/cisd/common/spring/WhiteListCodebaseAwareObjectInputStream.java b/common/source/java/ch/systemsx/cisd/common/spring/WhiteListCodebaseAwareObjectInputStream.java
index 08c70f4cfb0..342b9e90c93 100644
--- a/common/source/java/ch/systemsx/cisd/common/spring/WhiteListCodebaseAwareObjectInputStream.java
+++ b/common/source/java/ch/systemsx/cisd/common/spring/WhiteListCodebaseAwareObjectInputStream.java
@@ -39,7 +39,7 @@ public class WhiteListCodebaseAwareObjectInputStream extends CodebaseAwareObject
 
     private static final List<Pattern> whiteListPatterns = new LinkedList<>();
 
-    {
+    static {
         addToWhiteListPatterns("byte");
         addToWhiteListPatterns("short");
         addToWhiteListPatterns("int");
-- 
GitLab