From 71ba4ca875eb2b7f2206389063b9141a944ae7d0 Mon Sep 17 00:00:00 2001 From: Justin Albano Date: Wed, 11 Dec 2019 08:26:29 -0500 Subject: [PATCH] BAEL-3290: Corrected formatting --- .../main/resources/ioc-context-by-type.xml | 12 ++--- spring-di/src/main/resources/ioc-context.xml | 48 +++++++++---------- .../org/baeldung/store/AppConfigUnitTest.java | 1 - .../store/XmlAppConfigByTypeUnitTest.java | 2 - .../baeldung/store/XmlAppConfigUnitTest.java | 1 - 5 files changed, 30 insertions(+), 34 deletions(-) diff --git a/spring-di/src/main/resources/ioc-context-by-type.xml b/spring-di/src/main/resources/ioc-context-by-type.xml index 39a21b6917..1249ce51af 100644 --- a/spring-di/src/main/resources/ioc-context-by-type.xml +++ b/spring-di/src/main/resources/ioc-context-by-type.xml @@ -1,14 +1,14 @@ + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - + - - + + \ No newline at end of file diff --git a/spring-di/src/main/resources/ioc-context.xml b/spring-di/src/main/resources/ioc-context.xml index 47f7da8959..0e1d0ac29c 100644 --- a/spring-di/src/main/resources/ioc-context.xml +++ b/spring-di/src/main/resources/ioc-context.xml @@ -1,34 +1,34 @@ - - - - - - + + + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + \ No newline at end of file diff --git a/spring-di/src/test/java/org/baeldung/store/AppConfigUnitTest.java b/spring-di/src/test/java/org/baeldung/store/AppConfigUnitTest.java index 54c2bc0b34..3260114679 100644 --- a/spring-di/src/test/java/org/baeldung/store/AppConfigUnitTest.java +++ b/spring-di/src/test/java/org/baeldung/store/AppConfigUnitTest.java @@ -1,6 +1,5 @@ package org.baeldung.store; - import static org.junit.Assert.assertNotNull; import org.junit.Test; diff --git a/spring-di/src/test/java/org/baeldung/store/XmlAppConfigByTypeUnitTest.java b/spring-di/src/test/java/org/baeldung/store/XmlAppConfigByTypeUnitTest.java index 2dd5f1fcb9..036399e537 100644 --- a/spring-di/src/test/java/org/baeldung/store/XmlAppConfigByTypeUnitTest.java +++ b/spring-di/src/test/java/org/baeldung/store/XmlAppConfigByTypeUnitTest.java @@ -13,8 +13,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; * Separate unit test class where only one Item object is available for * autowiring. If the ioc-context.xml were used for autowiring by type, there * would be multiple qualifying Item objects, causing a failure. - * - * @author Justin Albano */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration("classpath:/ioc-context-by-type.xml") diff --git a/spring-di/src/test/java/org/baeldung/store/XmlAppConfigUnitTest.java b/spring-di/src/test/java/org/baeldung/store/XmlAppConfigUnitTest.java index 79fabfd84e..2dd4d6ccd6 100644 --- a/spring-di/src/test/java/org/baeldung/store/XmlAppConfigUnitTest.java +++ b/spring-di/src/test/java/org/baeldung/store/XmlAppConfigUnitTest.java @@ -1,6 +1,5 @@ package org.baeldung.store; - import static org.junit.Assert.assertNotNull; import org.junit.Test;