mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
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:
parent
4d2fd0f8c9
commit
425c2391b2
@ -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
|
||||
|
@ -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.
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user