From 2b4c2b078c4884d4b7ef7941973a8d0086807d3b Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Fri, 9 Dec 2016 11:45:38 -0700 Subject: [PATCH] polish --- .../cloud/consul/config/ConsulPropertySourceTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceTests.java b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceTests.java index 6bb278ae..af23bfc7 100644 --- a/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceTests.java +++ b/spring-cloud-consul-config/src/test/java/org/springframework/cloud/consul/config/ConsulPropertySourceTests.java @@ -103,7 +103,7 @@ public class ConsulPropertySourceTests { ConsulConfigProperties configProperties = new ConsulConfigProperties(); configProperties.setFormat(ConsulConfigProperties.Format.YAML); ConsulPropertySource source = new ConsulPropertySource(yamlContext, client, configProperties); - // Should NOT through a NPE + // Should NOT throw a NPE source.init(); }