diff --git a/pom.xml b/pom.xml index 05dab880..f3f0d65c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,101 +1,108 @@ - 4.0.0 + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + 4.0.0 - com.seriouscompany.business.java.fizzbuzz - FizzBuzzEnterpriseEdition - 1.0-SNAPSHOT - jar + com.seriouscompany.business.java.fizzbuzz + FizzBuzzEnterpriseEdition + 1.0-SNAPSHOT + jar - FizzBuzz Enterprise Edition - https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition + FizzBuzz Enterprise Edition + https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition - - UTF-8 - + + UTF-8 + 6.1.6 + - - - junit - junit - 4.8.2 - test - - - org.springframework - spring-aop - 3.2.13.RELEASE - - - org.springframework - spring-beans - 3.2.13.RELEASE - - - org.springframework - spring-context - 3.2.13.RELEASE - - - org.springframework - spring-core - 3.2.13.RELEASE - - - org.springframework - spring-expression - 3.2.13.RELEASE - - + + + junit + junit + 4.8.2 + test + + + org.springframework + spring-aop + ${spring.framework.version} + + + org.springframework + spring-beans + ${spring.framework.version} + + + org.springframework + spring-context + ${spring.framework.version} + + + org.springframework + spring-core + ${spring.framework.version} + + + org.springframework + spring-expression + ${spring.framework.version} + + + jakarta.annotation + jakarta.annotation-api + 2.1.1 + + - - - - resources/assets/configuration/spring/dependencyinjection/configuration - true - - - - - maven-compiler-plugin - 2.3 - - 1.7 - 1.7 - - - - org.apache.maven.plugins - maven-jar-plugin - 2.3 - - - - com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.impl.Main - - - - - - org.jacoco - jacoco-maven-plugin - 0.5.8.201207111220 - - - - prepare-agent - - - - report - test - - report - - - - - - + + + + resources/assets/configuration/spring/dependencyinjection/configuration + true + + + + + maven-compiler-plugin + 2.3 + + 20 + 20 + + + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.impl.Main + + + + + + + org.jacoco + jacoco-maven-plugin + 0.5.8.201207111220 + + + + prepare-agent + + + + report + test + + report + + + + + + diff --git a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/math/arithmetics/NumberIsMultipleOfAnotherNumberVerifier.java b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/math/arithmetics/NumberIsMultipleOfAnotherNumberVerifier.java index d58d6b27..a1389449 100644 --- a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/math/arithmetics/NumberIsMultipleOfAnotherNumberVerifier.java +++ b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/math/arithmetics/NumberIsMultipleOfAnotherNumberVerifier.java @@ -1,7 +1,7 @@ package com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.impl.math.arithmetics; import com.seriouscompany.business.java.fizzbuzz.packagenamingpackage.impl.ApplicationContextHolder; -import javax.annotation.PostConstruct; +import jakarta.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; diff --git a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/stringreturners/IntegerIntegerStringReturner.java b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/stringreturners/IntegerIntegerStringReturner.java index f89bf428..6dab57ef 100644 --- a/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/stringreturners/IntegerIntegerStringReturner.java +++ b/src/main/java/com/seriouscompany/business/java/fizzbuzz/packagenamingpackage/impl/stringreturners/IntegerIntegerStringReturner.java @@ -15,7 +15,7 @@ public class IntegerIntegerStringReturner implements IntegerStringReturner { * @return String */ public String getIntegerReturnString(final int theInteger) { - final Integer myIntegerToBeConvertedToString = new Integer(theInteger); + final Integer myIntegerToBeConvertedToString = Integer.valueOf(theInteger); final StringBuilder myStringBuilder = new StringBuilder(myIntegerToBeConvertedToString.toString()); final String myResultingStringFromIntegerToStringConversion = myStringBuilder.toString(); return new String(myResultingStringFromIntegerToStringConversion);