Skip to content

Commit a74e5b6

Browse files
Remove unnecessary overload
1 parent 3b83fe2 commit a74e5b6

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

java/src/main/kotlin/io/spine/validation/java/protodata/MethodCalls.kt

-14
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ public fun <T> Expression<*>.call(
4444
generics: List<ClassName> = listOf()
4545
): MethodCall<T> = MethodCall(this, name, arguments, generics)
4646

47-
/**
48-
* Constructs a method call upon this [Expression].
49-
*
50-
* @param name The name of the method.
51-
* @param argument The method argument.
52-
* @param generics The method type parameters.
53-
*/
54-
@JvmOverloads
55-
public fun <T> Expression<*>.call(
56-
name: String,
57-
argument: Expression<*>,
58-
generics: List<ClassName> = listOf()
59-
): MethodCall<T> = MethodCall(this, name, argument, generics)
60-
6147
/**
6248
* Constructs a method call upon this [Expression].
6349
*

0 commit comments

Comments
 (0)