Skip to content

Commit

Permalink
Java: Fix typos in comments and strings
Browse files Browse the repository at this point in the history
All of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Sep 14, 2015
1 parent 4d2fd0f commit 425c239
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion java/Makefile.am
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions java/com/google/scrollview/ui/SVMenuBar.java
Expand Up @@ -50,7 +50,7 @@ public SVMenuBar(SVWindow scrollView) {


/**
* 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) {
Expand Down Expand Up @@ -111,7 +111,7 @@ else if (id == -1) {
* @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.
*
*/

Expand Down
2 changes: 1 addition & 1 deletion java/com/google/scrollview/ui/SVPopupMenu.java
Expand Up @@ -123,7 +123,7 @@ public void add(String parent, String name, int id, String value, String desc) {


/**
* 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) {
Expand Down
2 changes: 1 addition & 1 deletion java/com/google/scrollview/ui/SVWindow.java
Expand Up @@ -298,7 +298,7 @@ public void addMessageBox() {
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);
}
Expand Down

0 comments on commit 425c239

Please sign in to comment.