diff --git a/Application_Properties.java b/Application_Properties.java
index e69de29..8b13789 100644
--- a/Application_Properties.java
+++ b/Application_Properties.java
@@ -0,0 +1 @@
+
diff --git a/pom.xml b/pom.xml
index b7c846d..70e4624 100644
--- a/pom.xml
+++ b/pom.xml
@@ -163,6 +163,9 @@
org.openrewrite.staticanalysis.CommonStaticAnalysis
org.openrewrite.staticanalysis.CodeCleanup
+
+ **/generated/**
+
diff --git a/src/main/java/de/kreth/property2java/config/Regex.java b/src/main/java/de/kreth/property2java/config/Regex.java
index f06b225..d818ac0 100644
--- a/src/main/java/de/kreth/property2java/config/Regex.java
+++ b/src/main/java/de/kreth/property2java/config/Regex.java
@@ -2,7 +2,7 @@ package de.kreth.property2java.config;
import java.util.regex.Pattern;
-public class Regex {
+public final class Regex {
public static final Pattern PATTERN = Pattern.compile("_[a-z]{2}(_[A-Z]{2})?\\.");
diff --git a/src/test/java/de/kreth/property2java/parts/ReplaceLogicForTemplate.java b/src/test/java/de/kreth/property2java/parts/ReplaceLogicForTemplate.java
index 16a4b8b..94a50a0 100644
--- a/src/test/java/de/kreth/property2java/parts/ReplaceLogicForTemplate.java
+++ b/src/test/java/de/kreth/property2java/parts/ReplaceLogicForTemplate.java
@@ -52,8 +52,8 @@ public class ReplaceLogicForTemplate {
String between = property.substring(index, endIndex);
if (between.length() > 0) {
result = endIndex;
- for(int i=0; i