aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/awt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
committerSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
commit43c85971bba8a188b8888f68133ad4ecc97131fd (patch)
tree317d687fb9d538359c6b302e7bdfc91cc782cb50 /src/jogl/classes/jogamp/opengl/awt
parentf91dad1a0898959fb379f0f5a2081fe0fbb50f9d (diff)
Fix 'typo' in messages: 'Catched' -> 'Caught'
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/awt')
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/Java2D.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/awt/Java2D.java b/src/jogl/classes/jogamp/opengl/awt/Java2D.java
index 886cd9368..5735b875e 100644
--- a/src/jogl/classes/jogamp/opengl/awt/Java2D.java
+++ b/src/jogl/classes/jogamp/opengl/awt/Java2D.java
@@ -121,7 +121,7 @@ public class Java2D {
if (DEBUG) {
System.err.println("Checking for Java2D/OpenGL support");
}
- Throwable catched = null;
+ Throwable caught = null;
try {
isHeadless = true;
// Figure out whether the default graphics configuration is an
@@ -269,7 +269,7 @@ public class Java2D {
}
}
} catch (Exception e) {
- catched = e;
+ caught = e;
if (DEBUG) {
System.err.println("Info: Disabling Java2D/JOGL integration");
}
@@ -281,12 +281,12 @@ public class Java2D {
// The AWT is running in headless mode, so the Java 2D / JOGL bridge is clearly disabled
} catch (Error e) {
// issued on OSX Java7: java.lang.Error: Could not find class: sun.awt.HeadlessGraphicsEnvironment
- catched = e;
+ caught = e;
}
if (DEBUG) {
- if(null != catched) {
- catched.printStackTrace();
+ if(null != caught) {
+ caught.printStackTrace();
}
System.err.println("JOGL/Java2D OGL Pipeline active " + isOGLPipelineActive + ", resourceCompatible "+isOGLPipelineResourceCompatible);
}