{
if(conditions == null)
return true;
for(XmlCondition r : conditions)
{
<BUG>String k = primitive.get(r.key);
String bv = OsmUtils.getNamedOsmBoolean(r.boolValue);
if(k == null || (r.value != null && !k.equals(r.value))
|| (bv != null && !bv.equals(OsmUtils.getNamedOsmBoolean(k))))
</BUG>
return false;

{
if(conditions == null)
return true;
for(XmlCondition r : conditions)
{
String k = primitive.get(r.key);
if (k == null || (r.value != null && !k.equals(r.value)))
return false;
String bv = OsmUtils.getNamedOsmBoolean(r.boolValue);
if (bv != null && !bv.equals(OsmUtils.getNamedOsmBoolean(k)))
return false;
