You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: GoRouter-Gradle-Plugin/src/main/kotlin/com/wyjson/router/gradle_plugin/helper/AssembleGoRouteHelperCode.kt
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,6 @@ class AssembleGoRouteHelperCode(private val model: RouteHelperModel) {
150
150
151
151
val goMethod =MethodSpec.methodBuilder("go")
152
152
.addModifiers(Modifier.PUBLIC, Modifier.STATIC)
153
-
.addParameter(Context, "context")
154
153
155
154
methods.add(getPathMethod.build())
156
155
methods.add(getCardMetaMethod.build())
@@ -369,13 +368,14 @@ class AssembleGoRouteHelperCode(private val model: RouteHelperModel) {
369
368
)
370
369
methods.add(newBuildMethod.build())
371
370
372
-
val newGoMethod = goMethod.build().toBuilder()
373
371
val goParamCodeString = handleGoParamCodeString(goParamCode)
0 commit comments