You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2025/01/23 13:19:00 UTC

(myfaces-tobago) branch tobago-5.x updated: fix(icons): Remove warning

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

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


The following commit(s) were added to refs/heads/tobago-5.x by this push:
     new b11118472b fix(icons): Remove warning
b11118472b is described below

commit b11118472be323b7c36939eea602dbc78571585f
Author: Mehriyar Assanimoghaddam <me...@irian.eu>
AuthorDate: Thu Jan 23 11:11:40 2025 +0100

    fix(icons): Remove warning
    
    * Remove warning to log if "image" attribute is a URL
    
    Issue: TOBAGO-2380
    (cherry picked from commit 3da051730371616fba18ab290c9c5cfaaf30fb5b)
---
 .../src/main/java/org/apache/myfaces/tobago/renderkit/css/Icons.java     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Icons.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Icons.java
index 342f1f8fd6..f99fb8765e 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Icons.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/renderkit/css/Icons.java
@@ -96,7 +96,6 @@ public String getName() {
         if (PATTERN_FA.matcher(name).matches()) {
           return "fa " + name;
         }
-        LOG.warn("Unknown icon format for name: '" + name + "'");
         return null;
       }
     };