You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2019/09/30 21:32:20 UTC
[myfaces] branch master updated: fixed compatibility
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/master by this push:
new 33deb79 fixed compatibility
33deb79 is described below
commit 33deb7956e1bd65f1fd49bee3d7f4586b5c82472
Author: Thomas Andraschko <ta...@apache.org>
AuthorDate: Mon Sep 30 23:32:14 2019 +0200
fixed compatibility
---
.../java/org/apache/myfaces/config/impl/element/LocaleConfigImpl.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/impl/src/main/java/org/apache/myfaces/config/impl/element/LocaleConfigImpl.java b/impl/src/main/java/org/apache/myfaces/config/impl/element/LocaleConfigImpl.java
index 4a203d3..ed1009c 100755
--- a/impl/src/main/java/org/apache/myfaces/config/impl/element/LocaleConfigImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/config/impl/element/LocaleConfigImpl.java
@@ -20,7 +20,6 @@ package org.apache.myfaces.config.impl.element;
import java.io.Serializable;
import java.util.ArrayList;
-import java.util.Collections;
import java.util.List;
/**
@@ -56,7 +55,7 @@ public class LocaleConfigImpl extends org.apache.myfaces.config.element.LocaleCo
{
if (supportedLocales == null)
{
- return Collections.emptyList();
+ supportedLocales = new ArrayList<>();
}
return supportedLocales;
}