You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by vo...@apache.org on 2022/05/05 20:14:58 UTC
[myfaces] branch 2.2.x updated: Update wording MYFACES-4435
This is an automated email from the ASF dual-hosted git repository.
volosied pushed a commit to branch 2.2.x
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/2.2.x by this push:
new 31e370568 Update wording MYFACES-4435
31e370568 is described below
commit 31e3705688534332b0e06a77faee5c11f9e99e12
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Thu May 5 16:14:12 2022 -0400
Update wording MYFACES-4435
---
.../main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js | 4 ++--
.../main/java/org/apache/myfaces/application/ApplicationImpl.java | 6 +++---
impl/src/main/java/org/apache/myfaces/lifecycle/ClientConfig.java | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js b/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js
index 81e6b9e27..32e9306c6 100644
--- a/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js
+++ b/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js
@@ -250,7 +250,7 @@ _MF_SINGLTN(_PFX_UTIL + "_Lang", Object, /** @lends myfaces._impl._util._Lang.pr
* @param {Object} src the source map
* @param {boolean} overwrite if set to true the destination is overwritten if the keys exist in both maps
**/
- mixMaps:function (dest, src, overwrite, blockFilter, whitelistFilter) {
+ mixMaps:function (dest, src, overwrite, blockFilter, allowlistFilter) {
if (!dest || !src) {
throw this.makeException(new Error(), null, null, this._nameSpace, "mixMaps", this.getMessage("ERR_PARAM_MIXMAPS", null, "_Lang.mixMaps"));
}
@@ -260,7 +260,7 @@ _MF_SINGLTN(_PFX_UTIL + "_Lang", Object, /** @lends myfaces._impl._util._Lang.pr
if (blockFilter && blockFilter[key]) {
continue;
}
- if (whitelistFilter && !whitelistFilter[key]) {
+ if (allowlistFilter && !allowlistFilter[key]) {
continue;
}
if (!overwrite) {
diff --git a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
index 6b3059b59..75f6440f3 100755
--- a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
@@ -1824,7 +1824,7 @@ public class ApplicationImpl extends Application
if(context.isProjectStage(ProjectStage.Production) && !isCachedList && dependencyList != null)
{
// Note at this point dependencyList cannot be null, but just let this
- // as a sanity check.
+ // as a verification check.
_classToResourceDependencyMap.put(inspectedClass, dependencyList);
}
@@ -2289,7 +2289,7 @@ public class ApplicationImpl extends Application
if(isProduction && !isCachedList && listenerForList != null)
{
// Note at this point listenerForList cannot be null, but just let listenerForList != null
- // as a sanity check.
+ // as a verification check.
_classToListenerForMap.put(inspectedClass, listenerForList);
}
}
@@ -2436,7 +2436,7 @@ public class ApplicationImpl extends Application
if(isProduction && !isCachedList && dependencyList != null)
{
// Note at this point listenerForList cannot be null, but just let dependencyList != null
- // as a sanity check.
+ // as a verification check.
_classToResourceDependencyMap.put(inspectedClass, dependencyList);
}
diff --git a/impl/src/main/java/org/apache/myfaces/lifecycle/ClientConfig.java b/impl/src/main/java/org/apache/myfaces/lifecycle/ClientConfig.java
index e9d491f8b..1936503dd 100644
--- a/impl/src/main/java/org/apache/myfaces/lifecycle/ClientConfig.java
+++ b/impl/src/main/java/org/apache/myfaces/lifecycle/ClientConfig.java
@@ -202,8 +202,8 @@ public class ClientConfig implements Serializable
/**
* Users can overload this method to define in which scenarios a request should result
- * in an 'intercepted' page with proper windowId detection. This can e.g. contain
- * blacklisting some userAgents.
+ * in an 'intercepted' page with proper windowId detection.
+ *
* By default the following User-Agents will be served directly:
* <ul>
* <li>.*bot.*</li>