You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2021/04/15 08:46:28 UTC

[myfaces-tobago] branch master updated: feat: deprecate unused util method

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ee8a82  feat: deprecate unused util method
3ee8a82 is described below

commit 3ee8a82495a1d81f05e13487bbf7d68f216474ec
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Thu Apr 15 10:36:56 2021 +0200

    feat: deprecate unused util method
---
 .../src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
index e8b0972..8fc4320 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/util/ComponentUtils.java
@@ -561,6 +561,10 @@ public final class ComponentUtils {
     }
   }
 
+  /**
+   * @deprecated since 5.0.0
+   */
+  @Deprecated
   public static boolean isFacetOf(final UIComponent component, final UIComponent parent) {
     for (final Object o : parent.getFacets().keySet()) {
       final UIComponent facet = parent.getFacet((String) o);