Author: adietish
Date: 2012-05-11 18:02:41 -0400 (Fri, 11 May 2012)
New Revision: 40964
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/EmbedCartridgeStrategy.java
Log:
[JBIDE-10852] added comments
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/EmbedCartridgeStrategy.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/EmbedCartridgeStrategy.java 2012-05-11
22:00:49 UTC (rev 40963)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/EmbedCartridgeStrategy.java 2012-05-11
22:02:41 UTC (rev 40964)
@@ -228,7 +228,9 @@
} else {
viewer.setChecked(IEmbeddableCartridge.MONGODB_20, true);
}
- } if (!viewer.getChecked(IEmbeddableCartridge.MONGODB_20)
+ }
+
+ if (!viewer.getChecked(IEmbeddableCartridge.MONGODB_20) // mongo to be removed?
&& viewer.getChecked(IEmbeddableCartridge._10GEN_MMS_AGENT_01)) {
if (MessageDialog.openQuestion(getShell(), "Remove MongoDB cartridge",
"If you remove the MongoDB cartridge, you'd also have to remove 10gen MMS
agent.")) {
@@ -238,7 +240,8 @@
viewer.setChecked(IEmbeddableCartridge.MONGODB_20, true);
}
}
- if (!viewer.getChecked(IEmbeddableCartridge.MONGODB_20)) {
+
+ if (!viewer.getChecked(IEmbeddableCartridge.MONGODB_20)) { // mongo to be removed?
pageModel.unselectEmbeddedCartridges(IEmbeddableCartridge.MONGODB_20);
}
}
Show replies by date