sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1697422 - /sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java
Date Mon, 24 Aug 2015 14:58:07 GMT
Author: bdelacretaz
Date: Mon Aug 24 14:58:07 2015
New Revision: 1697422

URL: http://svn.apache.org/r1697422
Log:
SLING-4513 - fix build error

Modified:
    sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java

Modified: sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java?rev=1697422&r1=1697421&r2=1697422&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java
(original)
+++ sling/trunk/contrib/extensions/hapi/core/src/main/java/org/apache/sling/hapi/impl/MicrodataAttributeHelperImpl.java
Mon Aug 24 14:58:07 2015
@@ -59,7 +59,7 @@ public class MicrodataAttributeHelperImp
     public Map<String, String> itemtypeMap() {
         Map<String, String> attrMap = new AttrMap(2);
         attrMap.put("itemtype", type.getPath() + ".html");
-        attrMap.put("itemscope", !type.getAllProperties().isEmpty());
+        attrMap.put("itemscope", String.valueOf(!type.getAllProperties().isEmpty()));
         
         return attrMap;
     }



Mime
View raw message