Skip to content

Commit f281585

Browse files
committed
Replace WithCheck with WithPermissionCheck
1 parent 4fff78e commit f281585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/actions/AddDelegationMethod.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AddDelegationMethod : CodeInsightAction() {
5050

5151
runWriteAction {
5252
val factory = JavaPsiFacade.getElementFactory(project)
53-
val newExpression = factory.createStatementFromText("${clazz.name}PermissionsDispatcher.${methodName}WithCheck(this);", element)
53+
val newExpression = factory.createStatementFromText("${clazz.name}PermissionsDispatcher.${methodName}WithPermissionCheck(this);", element)
5454
element?.parent?.addAfter(newExpression, element)
5555
}
5656
}

0 commit comments

Comments
 (0)