Skip to content

Commit 22f66a7

Browse files
committed
PMD issues
1 parent 2af2c76 commit 22f66a7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

ui/src/main/java/edu/wpi/grip/ui/CustomOperationsListController.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.util.regex.Matcher;
2121
import java.util.regex.Pattern;
2222

23-
import javafx.event.ActionEvent;
2423
import javafx.fxml.FXML;
2524
import javafx.scene.control.Alert;
2625
import javafx.scene.control.ButtonType;
@@ -38,13 +37,9 @@ public class CustomOperationsListController extends OperationListController {
3837
@Inject private InputSocket.Factory isf;
3938
@Inject private OutputSocket.Factory osf;
4039

41-
@Override
42-
protected void initialize() {
43-
super.initialize();
44-
}
45-
4640
@FXML
47-
private void createNewPythonOperation(ActionEvent actionEvent) {
41+
@SuppressWarnings("PMD.UnusedPrivateMethod")
42+
private void createNewPythonOperation() {
4843
Dialog<String> dialog = new TextInputDialog();
4944
dialog.getDialogPane().setContent(new TextArea(PythonScriptFile.TEMPLATE));
5045
dialog.setResultConverter(bt -> {

0 commit comments

Comments
 (0)