myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Sun, 21 Oct 2018 18:11:40 GMT
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 6c4312d  cosmetics
6c4312d is described below

commit 6c4312d4f45114f9ddf2465bf6099f65e99f523e
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Sun Oct 21 20:11:35 2018 +0200

    cosmetics
---
 .../apache/myfaces/shared/renderkit/html/util/SelectItemsUtils.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/util/SelectItemsUtils.java
b/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/util/SelectItemsUtils.java
index fe6e5c3..fd1fbd9 100644
--- a/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/util/SelectItemsUtils.java
+++ b/impl/src/main/java/org/apache/myfaces/shared/renderkit/html/util/SelectItemsUtils.java
@@ -74,8 +74,7 @@ public class SelectItemsUtils
         ResponseWriter writer = context.getResponseWriter();
         // check for the hideNoSelectionOption attribute
         boolean hideNoSelectionOption = isHideNoSelectionOption(component);
-        boolean componentDisabled = isTrue(component.getAttributes()
-                .get("disabled"));
+        boolean componentDisabled = isTrue(component.getAttributes().get("disabled"));
 
         for (int i = 0; i < selectItemList.size(); i++)
         {
@@ -136,7 +135,7 @@ public class SelectItemsUtils
                     }
                 }
                 
-                writer.startElement(HTML.OPTION_ELEM, selectItemInfo.getComponent()); //
component);
+                writer.startElement(HTML.OPTION_ELEM, selectItemInfo.getComponent());
                 if (itemStrValue != null)
                 {
                     writer.writeAttribute(HTML.VALUE_ATTR, itemStrValue, null);


Mime
View raw message