From dc3395f9a2ff4ce491acbc65ace33fc74fc43afe Mon Sep 17 00:00:00 2001 From: Yevhenii Voevodin Date: Thu, 25 Feb 2016 19:15:16 +0200 Subject: [PATCH] Add generic String to the ArrayList creation --- .../org/eclipse/che/api/project/server/AttributeFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/platform-api/che-core-api-project/src/main/java/org/eclipse/che/api/project/server/AttributeFilter.java b/core/platform-api/che-core-api-project/src/main/java/org/eclipse/che/api/project/server/AttributeFilter.java index 037df452cf..d968575eb9 100644 --- a/core/platform-api/che-core-api-project/src/main/java/org/eclipse/che/api/project/server/AttributeFilter.java +++ b/core/platform-api/che-core-api-project/src/main/java/org/eclipse/che/api/project/server/AttributeFilter.java @@ -181,7 +181,7 @@ public class AttributeFilter { if (factory == null) { List value = projectConfig.getAttributes().get(attribute.getName()); - persistentAttributes.put(variable.getName(), MoreObjects.firstNonNull(value, new ArrayList<>())); + persistentAttributes.put(variable.getName(), MoreObjects.firstNonNull(value, new ArrayList())); } }