- Fixed several misspellings, changed occured to occurred.

This commit is contained in:
jendave
2011-08-06 21:32:55 +00:00
parent d42a6acb8d
commit 1f13a2b676
5 changed files with 6 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ DownloadPictures/errors/other=You must be connected to the Internet. Error downl
ErrorViewer/show=Stack Report ErrorViewer/show=Stack Report
ErrorViewer/title=Error ErrorViewer/title=Error
ErrorViewer/message=An error has occured. You can copy/paste this message or save it to a file.\n\ ErrorViewer/message=An error has occurred. You can copy/paste this message or save it to a file.\n\
Please report this, plus what you tried to do, to:\n\ Please report this, plus what you tried to do, to:\n\
\t%s\n\ \t%s\n\
If you don't want to register an account, you can mail it directly to\n\ If you don't want to register an account, you can mail it directly to\n\

View File

@@ -32,7 +32,7 @@ import forge.properties.NewConstants;
/** /**
* The class ErrorViewer. Enables showing and saving error messages that occured in forge. * The class ErrorViewer. Enables showing and saving error messages that occurred in forge.
* *
* @version V1.0 02.08.2009 * @version V1.0 02.08.2009
* @author Clemens Koza * @author Clemens Koza

View File

@@ -115,7 +115,7 @@ public class ForgeProps {
//exceptions are skipped here; also the error viewer uses this, and reporting exceptions may result //exceptions are skipped here; also the error viewer uses this, and reporting exceptions may result
//in a more fatal error (stack overflow) //in a more fatal error (stack overflow)
} catch(Exception ex) {} } catch(Exception ex) {}
//if no property was found, or an error occured, return the default value //if no property was found, or an error occurred, return the default value
return def; return def;
} }
} }

View File

@@ -421,7 +421,7 @@ public abstract class AbstractPainter<T> extends AbstractBean implements Painter
doPaint(g, obj, width, height); doPaint(g, obj, width, height);
} }
//painting has occured, so restore the dirty bit to false //painting has occurred, so restore the dirty bit to false
setDirty(false); setDirty(false);
} }
} }

View File

@@ -200,12 +200,12 @@ public class TreeProperties implements Iterable<PropertyElement> {
} }
/** /**
* If exceptions occured during construction, this method throws an IOException that combines the messages of * If exceptions occurred during construction, this method throws an IOException that combines the messages of
* those exceptions. * those exceptions.
*/ */
public void rethrow() throws IOException { public void rethrow() throws IOException {
if(exceptions.isEmpty()) return; if(exceptions.isEmpty()) return;
StringBuilder sb = new StringBuilder("The following exceptions occured:"); StringBuilder sb = new StringBuilder("The following exceptions occurred:");
for(Exception ex:exceptions) { for(Exception ex:exceptions) {
sb.append("\n"); sb.append("\n");
sb.append(ex.getMessage()); sb.append(ex.getMessage());