Fixing checkstyle issues

This commit is contained in:
Ryan Baxter
2019-02-21 15:31:30 -05:00
parent ccfbddd790
commit 5159eec232

View File

@@ -14,7 +14,6 @@
* limitations under the License.
*/
package org.springframework.cloud.consul.discovery;
import org.junit.After;
@@ -57,8 +56,7 @@ public class ConsulDiscoveryClientConfigurationTests {
private void setupContext(Class<?>... config) {
ConfigurationPropertySources.attach(this.context.getEnvironment());
this.context.register(UtilAutoConfiguration.class,
PropertyPlaceholderAutoConfiguration.class,
ConsulAutoConfiguration.class,
PropertyPlaceholderAutoConfiguration.class, ConsulAutoConfiguration.class,
ConsulDiscoveryClientConfiguration.class);
for (Class<?> value : config) {
this.context.register(value);
@@ -76,4 +74,4 @@ public class ConsulDiscoveryClientConfigurationTests {
}
}
}
}