Suppress sonar using maven property

This commit is contained in:
René Pfeuffer
2018-12-04 16:33:55 +01:00
parent 59e90c0204
commit 99173992bf
4 changed files with 4 additions and 3 deletions

View File

@@ -221,5 +221,9 @@
</plugins>
</build>
<properties>
<sonar.cpd.exclusions>**/*StoreFactory.java</sonar.cpd.exclusions>
</properties>
</project>

View File

@@ -85,7 +85,6 @@ public interface ConfigurationEntryStoreFactory {
}
}
@SuppressWarnings("common-java:DuplicatedBlocks")
final class TypedFloatingConfigurationEntryStoreParameters<T> {
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();

View File

@@ -85,7 +85,6 @@ public interface ConfigurationStoreFactory {
}
}
@SuppressWarnings("common-java:DuplicatedBlocks")
final class TypedFloatingConfigurationStoreParameters<T> {
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();

View File

@@ -82,7 +82,6 @@ public interface DataStoreFactory {
}
}
@SuppressWarnings("common-java:DuplicatedBlocks")
final class TypedFloatingDataStoreParameters<T> {
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();