summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java b/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java
index c97af59..0143e46 100644
--- a/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java
+++ b/src/main/java/org/openslx/libvirt/xml/LibvirtXmlEditable.java
@@ -133,7 +133,7 @@ public interface LibvirtXmlEditable
public default boolean getXmlElementAttributeValueAsBool( String attributeName )
{
final String attributeValue = this.getXmlElementAttributeValue( attributeName );
- return "yes".equals( attributeValue ) || "on".equals( attributeValue ) || "true".equals( attributeName );
+ return "yes".equals( attributeValue ) || "on".equals( attributeValue ) || "true".equals( attributeValue );
}
/**