diff options
author | Simon Rettberg | 2018-06-27 10:52:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-06-27 10:52:16 +0200 |
commit | eeb2637849c6e8a952b29e802e149a2148e1b8a6 (patch) | |
tree | 02a7a3ce0cbde3e2f534588a394bfc2e9fac6ac4 /dozentenmodul/src/main/java/org/openslx/dozmod/gui | |
parent | [client] Clean up change monitors: Unify generic listener (diff) | |
download | tutor-module-eeb2637849c6e8a952b29e802e149a2148e1b8a6.tar.gz tutor-module-eeb2637849c6e8a952b29e802e149a2148e1b8a6.tar.xz tutor-module-eeb2637849c6e8a952b29e802e149a2148e1b8a6.zip |
[client] Fix string compare
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui')
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java index 87e232fe..7045673a 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/ImageDetailsWindow.java @@ -490,7 +490,7 @@ public class ImageDetailsWindow extends ImageDetailsWindowLayout implements UiFe */ private void uploadToMaster() { // 04.2018: bail if we the user tries to publish a non-vmware image. - if (Session.hasFeature(Feature.MULTIPLE_HYPERVISORS) && image.virtId != TConst.VIRT_VMWARE) { + if (Session.hasFeature(Feature.MULTIPLE_HYPERVISORS) && !TConst.VIRT_VMWARE.equals(image.virtId)) { Gui.showMessageBox( MetaDataCache.getVirtualizerById(image.virtId).virtName + " ist derzeit nicht für den öffentlichen Austausch freigegeben.", |