#2381: Change the factories - theoretically makes the CI not fail (#2385)

This commit is contained in:
DaneEvans
2025-07-08 21:28:16 +10:00
committed by GitHub
parent 49270aca2e
commit e4061d9e3e
5 changed files with 15 additions and 5 deletions

View File

@@ -23,4 +23,6 @@ import dagger.assisted.AssistedFactory
* Factory for creating `BluetoothInterface` instances.
*/
@AssistedFactory
interface BluetoothInterfaceFactory : InterfaceFactorySpi<BluetoothInterface>
interface BluetoothInterfaceFactory {
fun create(rest: String): BluetoothInterface
}

View File

@@ -23,4 +23,6 @@ import dagger.assisted.AssistedFactory
* Factory for creating `MockInterface` instances.
*/
@AssistedFactory
interface MockInterfaceFactory : InterfaceFactorySpi<MockInterface>
interface MockInterfaceFactory {
fun create(rest: String): MockInterface
}

View File

@@ -23,4 +23,6 @@ import dagger.assisted.AssistedFactory
* Factory for creating `NopInterface` instances.
*/
@AssistedFactory
interface NopInterfaceFactory : InterfaceFactorySpi<NopInterface>
interface NopInterfaceFactory {
fun create(rest: String): NopInterface
}

View File

@@ -23,4 +23,6 @@ import dagger.assisted.AssistedFactory
* Factory for creating `SerialInterface` instances.
*/
@AssistedFactory
interface SerialInterfaceFactory : InterfaceFactorySpi<SerialInterface>
interface SerialInterfaceFactory {
fun create(rest: String): SerialInterface
}

View File

@@ -23,4 +23,6 @@ import dagger.assisted.AssistedFactory
* Factory for creating `TCPInterface` instances.
*/
@AssistedFactory
interface TCPInterfaceFactory : InterfaceFactorySpi<TCPInterface>
interface TCPInterfaceFactory {
fun create(rest: String): TCPInterface
}