Author: adietish
Date: 2012-06-07 17:34:36 -0400 (Thu, 07 Jun 2012)
New Revision: 41795
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
[JBIDE-12131] using util method (which queries server & override) instead of server
directly
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-07
21:34:19 UTC (rev 41794)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-07
21:34:36 UTC (rev 41795)
@@ -195,8 +195,7 @@
} catch( CoreException ce) {
// What to do in this situation??
}
- String remoteName =
behaviour.getServer().getAttribute(ExpressServerUtils.ATTRIBUTE_REMOTE_NAME,
- ExpressServerUtils.ATTRIBUTE_REMOTE_NAME_DEFAULT);
+ String remoteName =
ExpressServerUtils.getExpressRemoteName(behaviour.getServer().createWorkingCopy());
PushOperationResult result = null;
boolean committed = false;
Repository repo = EGitUtils.getRepository(p);
Show replies by date