@ -12,7 +12,6 @@ import java.util.Map;
import org.apache.commons.text.WordUtils;
import de.kreth.property2java.config.Regex;
import de.kreth.property2java.processor.Format;
public interface Configuration {
@ -1,4 +1,4 @@
package de.kreth.property2java.processor;
package de.kreth.property2java;
import java.util.PropertyResourceBundle;
@ -2,7 +2,7 @@ package de.kreth.property2java.config;
import java.io.IOException;
import de.kreth.property2java.Format;
import freemarker.template.Configuration;
import freemarker.template.Template;
@ -6,6 +6,8 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(TYPE)
@Retention(RetentionPolicy.SOURCE)
/**
@ -7,6 +7,8 @@ import java.lang.annotation.Retention;
@Repeatable(value = GenerateResourceBundleProperty2Javas.class)
@ -19,6 +19,7 @@ import javax.tools.FileObject;
import javax.tools.StandardLocation;
import de.kreth.property2java.Configuration;
import de.kreth.property2java.Generator;
import de.kreth.property2java.GeneratorException;
@ -16,6 +16,7 @@ import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
import javax.tools.Diagnostic.Kind;
@SupportedAnnotationTypes({ "de.kreth.property2java.processor.GenerateProperty2Java",
@ -29,8 +29,6 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
class GeneratorTests {
private String path = "application.properties";
@ -30,8 +30,6 @@ import org.junit.jupiter.api.BeforeEach;
public class GeneratorWithInnerPropertiesTest {
@ -22,4 +22,5 @@ public class TestPropertiesSource {
+ "message.user.loginfailure = Login Error! Wrong user or password?\r\n"
+ "message.user.passwordmissmatch = Passwords don't match.\r\n" + "");
}