constant wasn't final

This commit is contained in:
Christopher Smith
2014-07-11 16:00:08 -05:00
parent 3c4b5196f9
commit b4fc3cc624

View File

@@ -10,7 +10,7 @@ import org.springframework.cloud.util.EnvironmentAccessor;
/**
* Base test class that provides setup and utility methods to generate test payload
*
*
* @author Ramnivas Laddad
*
*/
@@ -20,7 +20,7 @@ public abstract class AbstractHerokuConnectorTest {
protected static final String hostname = "10.20.30.40";
protected static final int port = 1234;
protected static String username = "myuser";
protected static final String username = "myuser";
protected static final String password = "mypass";
@Before
@@ -28,7 +28,7 @@ public abstract class AbstractHerokuConnectorTest {
MockitoAnnotations.initMocks(this);
testCloudConnector.setCloudEnvironment(mockEnvironment);
}
protected static ServiceInfo getServiceInfo(List<ServiceInfo> serviceInfos, String serviceId) {
for (ServiceInfo serviceInfo : serviceInfos) {
if (serviceInfo.getId().equals(serviceId)) {