spelling corrections in diagnostic messages
This commit is contained in:
parent
72bed74fa1
commit
f33252f4d0
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -220,7 +220,7 @@ public class BlenderLoader implements AssetLoader {
|
|||||||
} catch (BlenderFileException e) {
|
} catch (BlenderFileException e) {
|
||||||
throw new IOException(e.getLocalizedMessage(), e);
|
throw new IOException(e.getLocalizedMessage(), e);
|
||||||
} catch (Exception 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 {
|
} finally {
|
||||||
this.clear(assetInfo);
|
this.clear(assetInfo);
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -93,7 +93,7 @@ public class BlenderInputStream extends InputStream {
|
|||||||
try {
|
try {
|
||||||
this.readStreamToCache(bufferedInputStream);
|
this.readStreamToCache(bufferedInputStream);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new BlenderFileException("Problems occured while caching the file!", e);
|
throw new BlenderFileException("Problems occurred while caching the file!", e);
|
||||||
} finally {
|
} finally {
|
||||||
try {
|
try {
|
||||||
inputStream.close();
|
inputStream.close();
|
||||||
@ -144,7 +144,7 @@ public class BlenderInputStream extends InputStream {
|
|||||||
gis = new GZIPInputStream(new ByteArrayInputStream(cachedBuffer));
|
gis = new GZIPInputStream(new ByteArrayInputStream(cachedBuffer));
|
||||||
this.readStreamToCache(gis);
|
this.readStreamToCache(gis);
|
||||||
} catch (IOException e) {
|
} 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 {
|
} finally {
|
||||||
try {
|
try {
|
||||||
if (gis != null) {
|
if (gis != null) {
|
||||||
|
@ -306,7 +306,7 @@ public class Face implements Comparator<Integer> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (BlenderFileException e) {
|
} 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;
|
warning = TriangulationWarning.UNKNOWN;
|
||||||
}
|
}
|
||||||
if(warning != TriangulationWarning.NONE) {
|
if(warning != TriangulationWarning.NONE) {
|
||||||
|
@ -276,7 +276,7 @@ public class Armature implements JmeCloneable, Savable {
|
|||||||
try {
|
try {
|
||||||
modelTransformClass = (Class<? extends JointModelTransform>) Class.forName(className);
|
modelTransformClass = (Class<? extends JointModelTransform>) Class.forName(className);
|
||||||
} catch (ClassNotFoundException e) {
|
} catch (ClassNotFoundException e) {
|
||||||
throw new AssetLoadException("Cannnot find class for name " + className);
|
throw new AssetLoadException("Cannot find class for name " + className);
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -258,12 +258,12 @@ public class DesktopAssetManager implements AssetManager {
|
|||||||
handler.establishParentKey(key);
|
handler.establishParentKey(key);
|
||||||
obj = loader.load(info);
|
obj = loader.load(info);
|
||||||
} catch (IOException ex) {
|
} 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 {
|
} finally {
|
||||||
handler.releaseParentKey(key);
|
handler.releaseParentKey(key);
|
||||||
}
|
}
|
||||||
if (obj == null) {
|
if (obj == null) {
|
||||||
throw new AssetLoadException("Error occured while loading asset \""
|
throw new AssetLoadException("Error occurred while loading asset \""
|
||||||
+ key + "\" using " + loader.getClass().getSimpleName());
|
+ key + "\" using " + loader.getClass().getSimpleName());
|
||||||
} else {
|
} else {
|
||||||
if (logger.isLoggable(Level.FINER)) {
|
if (logger.isLoggable(Level.FINER)) {
|
||||||
|
@ -1641,7 +1641,7 @@ public final class GLRenderer implements Renderer {
|
|||||||
default:
|
default:
|
||||||
//Programming error; will fail on all hardware
|
//Programming error; will fail on all hardware
|
||||||
throw new IllegalStateException("Some video driver error "
|
throw new IllegalStateException("Some video driver error "
|
||||||
+ "or programming error occured. "
|
+ "or programming error occurred. "
|
||||||
+ "Framebuffer object status is invalid. ");
|
+ "Framebuffer object status is invalid. ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2018 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -304,7 +304,7 @@ final class TextureUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (image.getMipMapSizes() != null) {
|
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) {
|
if (image.getMultiSamples() > 1) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -110,7 +110,7 @@ public final class BinaryImporter implements JmeImporter {
|
|||||||
|
|
||||||
return s;
|
return s;
|
||||||
} catch (IOException ex) {
|
} 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 {
|
} finally {
|
||||||
if (is != null){
|
if (is != null){
|
||||||
try {
|
try {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -78,7 +78,7 @@ public class AppletHarness extends Applet {
|
|||||||
} catch (IOException ex){
|
} catch (IOException ex){
|
||||||
// Called before application has been created ....
|
// Called before application has been created ....
|
||||||
// Display error message through AWT
|
// Display error message through AWT
|
||||||
JOptionPane.showMessageDialog(this, "An error has occured while "
|
JOptionPane.showMessageDialog(this, "An error has occurred while "
|
||||||
+ "loading applet configuration"
|
+ "loading applet configuration"
|
||||||
+ ex.getMessage(),
|
+ ex.getMessage(),
|
||||||
"jME3 Applet",
|
"jME3 Applet",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2018 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -135,7 +135,7 @@ public abstract class LwjglAbstractDisplay extends LwjglContext implements Runna
|
|||||||
try {
|
try {
|
||||||
Util.checkGLError();
|
Util.checkGLError();
|
||||||
} catch (OpenGLException ex){
|
} 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
|
// NOTE: Always return true since this is used in an "assert" statement
|
||||||
return true;
|
return true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2012 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -97,7 +97,7 @@ public class LwjglOffscreenBuffer extends LwjglContext implements Runnable {
|
|||||||
try {
|
try {
|
||||||
Util.checkGLError();
|
Util.checkGLError();
|
||||||
} catch (OpenGLException ex){
|
} 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
|
// NOTE: Always return true since this is used in an "assert" statement
|
||||||
return true;
|
return true;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2009-2018 jMonkeyEngine
|
* Copyright (c) 2009-2019 jMonkeyEngine
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* 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)
|
else if (other instanceof BoundingVolume)
|
||||||
return collideWithBoundingVolume((BoundingVolume)other, results);
|
return collideWithBoundingVolume((BoundingVolume)other, results);
|
||||||
else {
|
else {
|
||||||
throw new UnsupportedCollisionException("TerrainPatch cannnot collide with "+other.getClass().getName());
|
throw new UnsupportedCollisionException("TerrainPatch cannot collide with "+other.getClass().getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user