Skip to content

Commit

Permalink
Make members of final classes package-private
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Oct 31, 2020
1 parent dcb7e96 commit 8acd73c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,15 @@ public void removePostActionListener(Class<?> action, ActionListener listener) {
* @param action {@link Class}
* @param e {@link ActionEvent}
*/
protected void preActionPerformed(Class<? extends Command> action, ActionEvent e) {
void preActionPerformed(Class<? extends Command> action, ActionEvent e) {
actionPerformed(action, e, preActionListeners);
}

/**
* @param action {@link Class}
* @param e {@link ActionEvent}
*/
protected void postActionPerformed(Class<? extends Command> action, ActionEvent e) {
void postActionPerformed(Class<? extends Command> action, ActionEvent e) {
actionPerformed(action, e, postActionListeners);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void actionPerformed(ActionEvent evt) {
}
}

protected void toggleSearchField(JTextField textToFindField, boolean matchFound) {
void toggleSearchField(JTextField textToFindField, boolean matchFound) {
if(!matchFound) {
textToFindField.setBackground(LIGHT_RED);
textToFindField.setForeground(Color.WHITE);
Expand Down

0 comments on commit 8acd73c

Please sign in to comment.