Suppress Sonar issue

Found no way to extract these internal classes into external classes
without loosing type information, so that the created stores were no
longer type safe.
This commit is contained in:
René Pfeuffer
2018-12-04 13:01:17 +01:00
parent afae02c8e6
commit ba71621aae
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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