From b3e0a371970f9585a7e7ba7136e475692c98eeb8 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 16 Nov 2016 09:12:13 +0000 Subject: [PATCH] Remove unwanted System.out calls in test code --- .../web/HttpMessageConvertersAutoConfigurationTests.java | 5 ----- .../boot/cli/command/archive/ResourceMatcherTests.java | 1 - 2 files changed, 6 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfigurationTests.java index 48c2fd7cfe..c3ac6b3282 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/HttpMessageConvertersAutoConfigurationTests.java @@ -18,7 +18,6 @@ package org.springframework.boot.autoconfigure.web; import java.util.Arrays; import java.util.List; -import java.util.Map; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gson.Gson; @@ -220,10 +219,6 @@ public class HttpMessageConvertersAutoConfigurationTests { RepositoryRestMvcConfiguration.class, HttpMessageConvertersAutoConfiguration.class); this.context.refresh(); - - Map beansOfType = this.context - .getBeansOfType(MappingJackson2HttpMessageConverter.class); - System.out.println(beansOfType); BeanDefinition beanDefinition = this.context .getBeanDefinition("mappingJackson2HttpMessageConverter"); assertThat(beanDefinition.getFactoryBeanName()).isEqualTo( diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/archive/ResourceMatcherTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/archive/ResourceMatcherTests.java index 36aadb72c7..cd73f8a40f 100644 --- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/archive/ResourceMatcherTests.java +++ b/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/archive/ResourceMatcherTests.java @@ -139,7 +139,6 @@ public class ResourceMatcherTests { .find(Arrays.asList(new File("src/test/resources/resource-matcher/one"), new File("src/test/resources/resource-matcher/two"), new File("src/test/resources/resource-matcher/three"))); - System.out.println(matchedResources); List paths = new ArrayList(); for (MatchedResource resource : matchedResources) { paths.add(resource.getName());