mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-08 14:41:59 +02:00
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:
@@ -85,6 +85,7 @@ public interface ConfigurationEntryStoreFactory {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("common-java:DuplicatedBlocks")
|
||||
final class TypedFloatingConfigurationEntryStoreParameters<T> {
|
||||
|
||||
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();
|
||||
|
||||
@@ -85,6 +85,7 @@ public interface ConfigurationStoreFactory {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("common-java:DuplicatedBlocks")
|
||||
final class TypedFloatingConfigurationStoreParameters<T> {
|
||||
|
||||
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();
|
||||
|
||||
@@ -82,6 +82,7 @@ public interface DataStoreFactory {
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("common-java:DuplicatedBlocks")
|
||||
final class TypedFloatingDataStoreParameters<T> {
|
||||
|
||||
private final TypedStoreParametersImpl<T> parameters = new TypedStoreParametersImpl<>();
|
||||
|
||||
Reference in New Issue
Block a user