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/03 17:50:42 UTC
[myfaces] branch master updated: Update terms 4.0.x
This is an automated email from the ASF dual-hosted git repository.
volosied 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 48d7339f0 Update terms 4.0.x
new cbfc3f528 Merge pull request #265 from volosied/update-terms-4.0
48d7339f0 is described below
commit 48d7339f001742e03b1f6b0aba432ddf5098e937
Author: Volodymyr Siedlecki <vo...@gmail.com>
AuthorDate: Tue May 3 11:54:40 2022 -0400
Update terms 4.0.x
---
.../main/javascript/META-INF/resources/myfaces/_impl/_util/_Lang.js | 4 ++--
.../src/main/java/org/apache/myfaces/application/ApplicationImpl.java | 2 +-
.../java/org/apache/myfaces/lifecycle/clientwindow/ClientConfig.java | 2 +-
3 files changed, 4 insertions(+), 4 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 dc5cf258b..c13736574 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 d3241aade..8c608837f 100755
--- a/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
+++ b/impl/src/main/java/org/apache/myfaces/application/ApplicationImpl.java
@@ -2145,7 +2145,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/clientwindow/ClientConfig.java b/impl/src/main/java/org/apache/myfaces/lifecycle/clientwindow/ClientConfig.java
index 89dc7818f..e5b517b37 100644
--- a/impl/src/main/java/org/apache/myfaces/lifecycle/clientwindow/ClientConfig.java
+++ b/impl/src/main/java/org/apache/myfaces/lifecycle/clientwindow/ClientConfig.java
@@ -198,7 +198,7 @@ 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.
+ * blocklisting some userAgents.
* By default the following User-Agents will be served directly:
* <ul>
* <li>.*bot.*</li>