Skip to content

Commit

Permalink
No _ in (package private) method names needed
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 17, 2023
1 parent 3f76f9b commit 4efd2da
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/org/apache/bcel/verifier/VerifierAppFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ public VerifierAppFrame() {
}
}

void aboutMenuItem_actionPerformed(final ActionEvent e) {
void aboutMenuItemActionPerformed(final ActionEvent e) {
JOptionPane.showMessageDialog(this, Verifier.BANNER, Verifier.NAME, JOptionPane.INFORMATION_MESSAGE);
}

synchronized void classNamesJList_valueChanged(final ListSelectionEvent e) {
synchronized void classNamesJListValueChanged(final ListSelectionEvent e) {
if (e.getValueIsAdjusting()) {
return;
}
Expand Down Expand Up @@ -148,7 +148,7 @@ private void jbInit() {
jScrollPane1.getViewport().setBackground(Color.red);
messagesScrollPane.getViewport().setBackground(Color.red);
messagesScrollPane.setPreferredSize(new Dimension(10, 10));
classNamesJList.addListSelectionListener(this::classNamesJList_valueChanged);
classNamesJList.addListSelectionListener(this::classNamesJListValueChanged);
classNamesJList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
jScrollPane3.setBorder(BorderFactory.createLineBorder(Color.black));
jScrollPane3.setPreferredSize(new Dimension(100, 100));
Expand All @@ -166,16 +166,16 @@ private void jbInit() {
messagesTextPane.setEditable(false);
newFileMenuItem.setText("New...");
newFileMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(78, InputEvent.CTRL_MASK, true));
newFileMenuItem.addActionListener(this::newFileMenuItem_actionPerformed);
newFileMenuItem.addActionListener(this::newFileMenuItemActionPerformed);
pass3aTextPane.setEditable(false);
pass3bTextPane.setEditable(false);
pass3aJList.addListSelectionListener(this::pass3aJList_valueChanged);
pass3bJList.addListSelectionListener(this::pass3bJList_valueChanged);
jMenu2.setText("Help");
whatisMenuItem.setText("What is...");
whatisMenuItem.addActionListener(this::whatisMenuItem_actionPerformed);
whatisMenuItem.addActionListener(this::whatisMenuItemActionPerformed);
aboutMenuItem.setText("About");
aboutMenuItem.addActionListener(this::aboutMenuItem_actionPerformed);
aboutMenuItem.addActionListener(this::aboutMenuItemActionPerformed);
jSplitPane2.add(messagesPanel, JSplitPane.BOTTOM);
messagesPanel.add(messagesScrollPane, null);
messagesScrollPane.getViewport().add(messagesTextPane, null);
Expand Down Expand Up @@ -210,7 +210,7 @@ private void jbInit() {
jSplitPane4.setDividerLocation(150);
}

void newFileMenuItem_actionPerformed(final ActionEvent e) {
void newFileMenuItemActionPerformed(final ActionEvent e) {
final String className = JOptionPane.showInputDialog("Please enter the fully qualified name of a class or interface to verify:");
if (className == null || className.isEmpty()) {
return;
Expand Down Expand Up @@ -342,7 +342,7 @@ private void verify() throws ClassNotFoundException {
setTitle(currentClass + " - " + Verifier.NAME);
}

void whatisMenuItem_actionPerformed(final ActionEvent e) {
void whatisMenuItemActionPerformed(final ActionEvent e) {
JOptionPane.showMessageDialog(this,
"The upper four boxes to the right reflect verification passes according to"
+ " The Java Virtual Machine Specification.\nThese are (in that order):"
Expand Down

0 comments on commit 4efd2da

Please sign in to comment.