Author: adietish
Date: 2012-10-12 08:52:56 -0400 (Fri, 12 Oct 2012)
New Revision: 44476
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ConnectToOpenShiftWizardModel.java
Log:
renamed variable user->connection
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ConnectToOpenShiftWizardModel.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ConnectToOpenShiftWizardModel.java 2012-10-12
12:51:42 UTC (rev 44475)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ConnectToOpenShiftWizardModel.java 2012-10-12
12:52:56 UTC (rev 44476)
@@ -18,7 +18,7 @@
*/
public class ConnectToOpenShiftWizardModel implements IConnectionAwareModel {
- protected Connection user;
+ protected Connection connection;
public ConnectToOpenShiftWizardModel() {
}
@@ -28,18 +28,18 @@
* @param user the user to use to connect to OpenShift.
*/
public ConnectToOpenShiftWizardModel(final Connection user) {
- this.user = user;
+ this.connection = user;
}
@Override
public Connection getConnection() {
- return user == null ? ConnectionsModel.getDefault().getRecentConnection() : user;
+ return connection == null ? ConnectionsModel.getDefault().getRecentConnection() :
connection;
}
@Override
- public Connection setConnection(Connection user) {
- this.user = user;
- return user;
+ public Connection setConnection(Connection connection) {
+ this.connection = connection;
+ return connection;
}
@Override
Show replies by date