diff --git a/core/src/main/java/com/github/clagomess/pirilampo/core/util/PropertiesUtil.java b/core/src/main/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java similarity index 96% rename from core/src/main/java/com/github/clagomess/pirilampo/core/util/PropertiesUtil.java rename to core/src/main/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java index f8f951e..58fbbdf 100644 --- a/core/src/main/java/com/github/clagomess/pirilampo/core/util/PropertiesUtil.java +++ b/core/src/main/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java @@ -1,4 +1,4 @@ -package com.github.clagomess.pirilampo.core.util; +package com.github.clagomess.pirilampo.core.compilers; import com.github.clagomess.pirilampo.core.dto.ParametersDto; @@ -8,7 +8,7 @@ import java.util.Properties; @Slf4j -public class PropertiesUtil { +public class PropertiesCompiler { private static final String FILENAME = "/../html/config.properties"; public static ParametersDto getData(String sourcePath){ diff --git a/core/src/test/java/com/github/clagomess/pirilampo/core/util/PropertiesTest.java b/core/src/test/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java similarity index 60% rename from core/src/test/java/com/github/clagomess/pirilampo/core/util/PropertiesTest.java rename to core/src/test/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java index d4a8b97..df0387e 100644 --- a/core/src/test/java/com/github/clagomess/pirilampo/core/util/PropertiesTest.java +++ b/core/src/test/java/com/github/clagomess/pirilampo/core/compilers/PropertiesCompiler.java @@ -1,7 +1,6 @@ -package com.github.clagomess.pirilampo.core.util; +package com.github.clagomess.pirilampo.core.compilers; import com.github.clagomess.pirilampo.core.dto.ParametersDto; -import com.github.clagomess.pirilampo.core.util.PropertiesUtil; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; @@ -10,10 +9,10 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @Slf4j -public class PropertiesTest { +public class PropertiesCompiler { @Test public void parametroToProperties(){ - Properties prop = PropertiesUtil.parametroToProperties(new ParametersDto()); + Properties prop = PropertiesCompiler.parametroToProperties(new ParametersDto()); assertNotNull(prop.getProperty("txtNome")); }