summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/openslx/util/vm/VmwareMetaData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/openslx/util/vm/VmwareMetaData.java b/src/main/java/org/openslx/util/vm/VmwareMetaData.java
index 85dc77d..a20e0a2 100644
--- a/src/main/java/org/openslx/util/vm/VmwareMetaData.java
+++ b/src/main/java/org/openslx/util/vm/VmwareMetaData.java
@@ -69,7 +69,7 @@ class VmwareUsbSpeed
public VmwareUsbSpeed( int speed, String key )
{
- this.keyName = key + ".present";
+ this.keyName = key == null ? null : ( key + ".present" );
this.speedNumeric = speed;
}
}