From 43c85971bba8a188b8888f68133ad4ecc97131fd Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 28 Jun 2014 16:07:36 +0200 Subject: Fix 'typo' in messages: 'Catched' -> 'Caught' --- .../test/junit/graph/demos/GPUTextRendererListenerBase01.java | 6 +++--- .../opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java | 6 +++--- src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java | 2 +- .../com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java | 2 +- src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java | 2 +- src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java | 2 +- src/test/com/jogamp/opengl/test/junit/util/UITestCase.java | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/test/com/jogamp') diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java index 76bcfd094..67e2555fd 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java @@ -126,7 +126,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB this.fontName = font.toString(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } setMatrix(0, 0, 0, 0f, sampleCount); @@ -326,7 +326,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB return true; } } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); } return false; } @@ -343,7 +343,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB return true; } } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); } return false; } diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java index 6dfda1ae6..89361b511 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java @@ -157,7 +157,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { try { font = FontFactory.get(FontFactory.UBUNTU).getDefault(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } sceneUIController = new SceneUIController(sceneDist, zNear, zFar); @@ -708,7 +708,7 @@ public class GPUUISceneGLListener0A implements GLEventListener { try { font = FontFactory.get(fontSet).getDefault(); } catch (IOException ioe) { - System.err.println("Catched: "+ioe.getMessage()); + System.err.println("Caught: "+ioe.getMessage()); ioe.printStackTrace(); } @@ -991,4 +991,4 @@ public class GPUUISceneGLListener0A implements GLEventListener { } } } }; -} \ No newline at end of file +} diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java index ea593ec7d..3a4e3c4ce 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java @@ -43,7 +43,7 @@ public class MSAATool { System.err.println("glIsEnabled(0x"+Integer.toHexString(name)+") -> error 0x"+Integer.toHexString(glerr)); } } catch (Exception e) { - System.err.println("Catched Exception: "+e.getMessage()); + System.err.println("Caught exception: "+e.getMessage()); // e.printStackTrace(); } return isEnabled; diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java index 0844d1f02..c57f65567 100644 --- a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java +++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java @@ -60,7 +60,7 @@ public class UIGLListener01 extends UIListenerBase01 { */ System.err.println(button); } catch (IOException ex) { - System.err.println("Catched: "+ex.getMessage()); + System.err.println("Caught: "+ex.getMessage()); ex.printStackTrace(); } } diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java index 8eb84e152..881625ee4 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java @@ -257,7 +257,7 @@ public class Gears implements GLEventListener, TileRendererBase.TileRendererList window.removeMouseListener(gearsMouse); window.removeKeyListener(gearsKeys); } - } catch (Exception e) { System.err.println("Catched: "); e.printStackTrace(); } + } catch (Exception e) { System.err.println("Caught: "); e.printStackTrace(); } setGears(0, 0, 0); } diff --git a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java index e5f13640d..746e7ee55 100644 --- a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java +++ b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java @@ -204,7 +204,7 @@ public class MiscUtils { } } } catch (IOException ioe) { - System.err.println("Catched "+ioe.getClass().getName()+": "+ioe.getMessage()); + System.err.println("Caught "+ioe.getClass().getName()+": "+ioe.getMessage()); ioe.printStackTrace(); } finally { eos = true; diff --git a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java index 3c0f388b6..d37760ec3 100644 --- a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java +++ b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java @@ -170,7 +170,7 @@ public abstract class UITestCase { } } } catch (Exception e) { - System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage()); + System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage()); e.printStackTrace(); } } @@ -203,7 +203,7 @@ public abstract class UITestCase { errorCode = p.exitValue(); } } catch (Exception e) { - System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage()); + System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage()); e.printStackTrace(); errorCode = Integer.MIN_VALUE; } -- cgit v1.2.3