spelling corrections in diagnostic messages

accellbaker
Stephen Gold 6 years ago
parent 72bed74fa1
commit f33252f4d0
  1. 4
      jme3-blender/src/main/java/com/jme3/scene/plugins/blender/BlenderLoader.java
  2. 6
      jme3-blender/src/main/java/com/jme3/scene/plugins/blender/file/BlenderInputStream.java
  3. 2
      jme3-blender/src/main/java/com/jme3/scene/plugins/blender/meshes/Face.java
  4. 2
      jme3-core/src/main/java/com/jme3/anim/Armature.java
  5. 6
      jme3-core/src/main/java/com/jme3/asset/DesktopAssetManager.java
  6. 2
      jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java
  7. 4
      jme3-core/src/main/java/com/jme3/renderer/opengl/TextureUtil.java
  8. 4
      jme3-core/src/plugins/java/com/jme3/export/binary/BinaryImporter.java
  9. 4
      jme3-desktop/src/main/java/com/jme3/app/AppletHarness.java
  10. 4
      jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglAbstractDisplay.java
  11. 4
      jme3-lwjgl/src/main/java/com/jme3/system/lwjgl/LwjglOffscreenBuffer.java
  12. 4
      jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainPatch.java

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -220,7 +220,7 @@ public class BlenderLoader implements AssetLoader {
} catch (BlenderFileException e) {
throw new IOException(e.getLocalizedMessage(), e);
} catch (Exception e) {
throw new IOException("Unexpected importer exception occured: " + e.getLocalizedMessage(), e);
throw new IOException("Unexpected importer exception occurred: " + e.getLocalizedMessage(), e);
} finally {
this.clear(assetInfo);
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -93,7 +93,7 @@ public class BlenderInputStream extends InputStream {
try {
this.readStreamToCache(bufferedInputStream);
} catch (IOException e) {
throw new BlenderFileException("Problems occured while caching the file!", e);
throw new BlenderFileException("Problems occurred while caching the file!", e);
} finally {
try {
inputStream.close();
@ -144,7 +144,7 @@ public class BlenderInputStream extends InputStream {
gis = new GZIPInputStream(new ByteArrayInputStream(cachedBuffer));
this.readStreamToCache(gis);
} catch (IOException e) {
throw new IllegalStateException("IO errors occured where they should NOT! " + "The data is already buffered at this point!", e);
throw new IllegalStateException("IO errors occurred where they should NOT! " + "The data is already buffered at this point!", e);
} finally {
try {
if (gis != null) {

@ -306,7 +306,7 @@ public class Face implements Comparator<Integer> {
}
}
} catch (BlenderFileException e) {
LOGGER.log(Level.WARNING, "Errors occured during face triangulation: {0}. The face will be triangulated with the most direct algorithm, but the results might not be identical to blender.", e.getLocalizedMessage());
LOGGER.log(Level.WARNING, "Errors occurred during face triangulation: {0}. The face will be triangulated with the most direct algorithm, but the results might not be identical to blender.", e.getLocalizedMessage());
warning = TriangulationWarning.UNKNOWN;
}
if(warning != TriangulationWarning.NONE) {

@ -276,7 +276,7 @@ public class Armature implements JmeCloneable, Savable {
try {
modelTransformClass = (Class<? extends JointModelTransform>) Class.forName(className);
} catch (ClassNotFoundException e) {
throw new AssetLoadException("Cannnot find class for name " + className);
throw new AssetLoadException("Cannot find class for name " + className);
}
int i = 0;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -258,12 +258,12 @@ public class DesktopAssetManager implements AssetManager {
handler.establishParentKey(key);
obj = loader.load(info);
} catch (IOException ex) {
throw new AssetLoadException("An exception has occured while loading asset: " + key, ex);
throw new AssetLoadException("An exception has occurred while loading asset: " + key, ex);
} finally {
handler.releaseParentKey(key);
}
if (obj == null) {
throw new AssetLoadException("Error occured while loading asset \""
throw new AssetLoadException("Error occurred while loading asset \""
+ key + "\" using " + loader.getClass().getSimpleName());
} else {
if (logger.isLoggable(Level.FINER)) {

@ -1641,7 +1641,7 @@ public final class GLRenderer implements Renderer {
default:
//Programming error; will fail on all hardware
throw new IllegalStateException("Some video driver error "
+ "or programming error occured. "
+ "or programming error occurred. "
+ "Framebuffer object status is invalid. ");
}
}

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -304,7 +304,7 @@ final class TextureUtil {
}
if (image.getMipMapSizes() != null) {
throw new UnsupportedOperationException("Updating mip-mappped images is not supported");
throw new UnsupportedOperationException("Updating mip-mapped images is not supported");
}
if (image.getMultiSamples() > 1) {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -110,7 +110,7 @@ public final class BinaryImporter implements JmeImporter {
return s;
} catch (IOException ex) {
logger.log(Level.SEVERE, "An error occured while loading jME binary object", ex);
logger.log(Level.SEVERE, "An error occurred while loading jME binary object", ex);
} finally {
if (is != null){
try {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -78,7 +78,7 @@ public class AppletHarness extends Applet {
} catch (IOException ex){
// Called before application has been created ....
// Display error message through AWT
JOptionPane.showMessageDialog(this, "An error has occured while "
JOptionPane.showMessageDialog(this, "An error has occurred while "
+ "loading applet configuration"
+ ex.getMessage(),
"jME3 Applet",

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -135,7 +135,7 @@ public abstract class LwjglAbstractDisplay extends LwjglContext implements Runna
try {
Util.checkGLError();
} catch (OpenGLException ex){
listener.handleError("An OpenGL error has occured!", ex);
listener.handleError("An OpenGL error has occurred!", ex);
}
// NOTE: Always return true since this is used in an "assert" statement
return true;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2012 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -97,7 +97,7 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable {
try {
Util.checkGLError();
} catch (OpenGLException ex){
listener.handleError("An OpenGL error has occured!", ex);
listener.handleError("An OpenGL error has occurred!", ex);
}
// NOTE: Always return true since this is used in an "assert" statement
return true;

@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2018 jMonkeyEngine
* Copyright (c) 2009-2019 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -821,7 +821,7 @@ public class TerrainPatch extends Geometry {
else if (other instanceof BoundingVolume)
return collideWithBoundingVolume((BoundingVolume)other, results);
else {
throw new UnsupportedCollisionException("TerrainPatch cannnot collide with "+other.getClass().getName());
throw new UnsupportedCollisionException("TerrainPatch cannot collide with "+other.getClass().getName());
}
}

Loading…
Cancel
Save