Java: Fix typos in comments and strings

All of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2015-09-14 22:18:44 +02:00
parent 4d2fd0f8c9
commit 425c2391b2
4 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ install-jars : ScrollView.jar
@if [ ! -d $(scrollview_path) ]; then mkdir -p $(scrollview_path); fi;
$(INSTALL) -m 644 $(SCROLLVIEW_LIBS) $(scrollview_path);
$(INSTALL) -m 644 ScrollView.jar $(scrollview_path);
@echo "Don't forget to set enviroment variable SCROLLVIEW_PATH to $(scrollview_path)";
@echo "Don't forget to set environment variable SCROLLVIEW_PATH to $(scrollview_path)";
uninstall:
rm -f $(scrollview_path)/*.jar

View File

@ -50,7 +50,7 @@ public class SVMenuBar implements ActionListener {
/**
* A click on one of the items in our menubar has occured. Forward it
* A click on one of the items in our menubar has occurred. Forward it
* to the item itself to let it decide what happens.
*/
public void actionPerformed(ActionEvent e) {
@ -111,7 +111,7 @@ public class SVMenuBar implements ActionListener {
* @param name The caption of the new entry.
* @param id The Id of the new entry. If it is -1, the entry will be treated
* as a menu.
* @param b Whether the entry is initally flagged.
* @param b Whether the entry is initially flagged.
*
*/

View File

@ -123,7 +123,7 @@ public class SVPopupMenu implements ActionListener {
/**
* A click on one of the items in our menubar has occured. Forward it
* A click on one of the items in our menubar has occurred. Forward it
* to the item itself to let it decide what happens.
*/
public void actionPerformed(ActionEvent e) {

View File

@ -298,7 +298,7 @@ public class SVWindow extends JFrame {
ta.setEditable(false);
getContentPane().add(ta, BorderLayout.SOUTH);
}
// We need to make the window bigger to accomodate the message box.
// We need to make the window bigger to accommodate the message box.
winSizeY += DEF_MESSAGEBOX_HEIGHT;
setSize(winSizeX, winSizeY);
}