wujimin closed pull request #652: [SCB 456]Remove warning
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/652
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/foundations/foundation-config/src/test/java/org/apache/servicecomb/config/TestConfigUtil.java
 
b/foundations/foundation-config/src/test/java/org/apache/servicecomb/config/TestConfigUtil.java
index a61555a0e..d5265315e 100644
--- 
a/foundations/foundation-config/src/test/java/org/apache/servicecomb/config/TestConfigUtil.java
+++ 
b/foundations/foundation-config/src/test/java/org/apache/servicecomb/config/TestConfigUtil.java
@@ -79,7 +79,7 @@ public static void tearDown() throws Exception {
 
   @Test
   public void testAddConfig() {
-    Map config = new HashMap<String, Object>();
+    Map<String, Object> config = new HashMap<>();
     config.put("service_description.name", "service_name_test");
     ConfigUtil.setConfigs(config);
     ConfigUtil.addConfig("service_description.version", "1.0.2");


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to