Fix spelling errors

This commit is contained in:
Benjamin Levy 2020-01-26 22:39:18 -05:00
parent 4361f39fe2
commit a5efecea84
78 changed files with 95 additions and 95 deletions

View file

@ -182,7 +182,7 @@ public class RepositoryServerAdapter {
cause = t;
}
Msg.showError(this, null, "Server Error",
"An error occured on the server (" + serverInfoStr + ").\n" + msg, e);
"An error occurred on the server (" + serverInfoStr + ").\n" + msg, e);
}
catch (IOException e) {
String err = e.getMessage();
@ -191,7 +191,7 @@ public class RepositoryServerAdapter {
}
String msg = err != null ? err : e.toString();
Msg.showError(this, null, "Server Error",
"An error occured while connecting to the server (" + serverInfoStr + ").\n" + msg,
"An error occurred while connecting to the server (" + serverInfoStr + ").\n" + msg,
e);
}
throw new NotConnectedException("Not connected to repository server", cause);
@ -283,7 +283,7 @@ public class RepositoryServerAdapter {
// serverHandle = null;
// fireStateChanged();
// if (error != null) {
// Err.show(null, "Server Error", "A server communications error occured!", error);
// Err.show(null, "Server Error", "A server communications error occurred!", error);
// error = null;
// throw new NotConnectedException("Not connected to repository server");
// }

View file

@ -129,7 +129,7 @@ class ServerConnectTask extends Task {
throw new IOException("User PKI Certificate not installed", e);
}
// assume user cancelled connect attempt when prompted for cert password
// or other cert error occured
// or other cert error occurred
return true;
}
// TODO: Translate SSL exceptions to more meaningful errors

View file

@ -203,7 +203,7 @@ public interface FileSystem {
* @param folderPath path of folder to be deleted
* @throws FolderNotEmptyException Thrown if the folder is not empty.
* @throws FileNotFoundException if there is no folder with the given path name.
* @throws IOException if error occured during delete.
* @throws IOException if error occurred during delete.
*/
public void deleteFolder(String folderPath) throws IOException;

View file

@ -39,7 +39,7 @@ public class FileSystemListenerList implements FileSystemListener {
/**
* Construct FileSystemListenerList
* @param enableAsynchronousDispatching if true a seperate dispatch thread will be used
* @param enableAsynchronousDispatching if true a separate dispatch thread will be used
* to notify listeners. If false, blocking notification will be performed.
*/
public FileSystemListenerList(boolean enableAsynchronousDispatching) {

View file

@ -493,7 +493,7 @@ public abstract class LocalFolderItem implements FolderItem {
// * If in-use files prevent renaming a FileInUseException will be thrown.
// * @param name new name for this item
// * @throws InvalidNameException invalid name was specified
// * @throws IOException an error occured
// * @throws IOException an error occurred
// */
// void doSetName(String name) throws InvalidNameException, IOException {
// synchronized (fileSystem) {