diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-19 14:18:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:16 +0200 |
commit | 56ef5533fc1bce2134721ae64d4d6c18a3526a7a (patch) | |
tree | eafaa8b3c9c7fd4bbeb03fdb1be091f94c870953 /qadevOOo/runner/convwatch | |
parent | 1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff) |
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'qadevOOo/runner/convwatch')
-rw-r--r-- | qadevOOo/runner/convwatch/BorderRemover.java | 10 | ||||
-rw-r--r-- | qadevOOo/runner/convwatch/SimpleFileSemaphore.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/convwatch/TimeHelper.java | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/runner/convwatch/BorderRemover.java b/qadevOOo/runner/convwatch/BorderRemover.java index 26b61be9ec66..650412b46e3b 100644 --- a/qadevOOo/runner/convwatch/BorderRemover.java +++ b/qadevOOo/runner/convwatch/BorderRemover.java @@ -140,7 +140,7 @@ class BorderRemover getWriterMIMETypesMethod.invoke(imageIOClass, new Object[]{ }); Method writeMethod = imageIOClass.getDeclaredMethod("write", new Class[]{ java.awt.image.RenderedImage.class, - java.lang.String.class, + String.class, java.io.File.class}); writeMethod.invoke(imageIOClass, new Object[]{aImage, "image/jpeg", aWriteFile}); } @@ -195,8 +195,8 @@ class BorderRemover int nCurrentColor = _aImage.getPixel(x, y); if (! compareColorWithTolerance(nCurrentColor, _nBorderColor, 10)) { - nXMin = java.lang.Math.min(nXMin, x); - nYMin = java.lang.Math.min(nYMin, y); + nXMin = Math.min(nXMin, x); + nYMin = Math.min(nYMin, y); } } } @@ -208,8 +208,8 @@ class BorderRemover int nCurrentColor = _aImage.getPixel(nx, ny); if (! compareColorWithTolerance(nCurrentColor, _nBorderColor, 10)) { - nXMax = java.lang.Math.max(nXMax, nx); - nYMax = java.lang.Math.max(nYMax, ny); + nXMax = Math.max(nXMax, nx); + nYMax = Math.max(nYMax, ny); } } } diff --git a/qadevOOo/runner/convwatch/SimpleFileSemaphore.java b/qadevOOo/runner/convwatch/SimpleFileSemaphore.java index db087ba7d5d0..02c965ceb37f 100644 --- a/qadevOOo/runner/convwatch/SimpleFileSemaphore.java +++ b/qadevOOo/runner/convwatch/SimpleFileSemaphore.java @@ -35,7 +35,7 @@ public class SimpleFileSemaphore /* extends *//* implements */ { java.lang.Thread.sleep(_nSeconds * 1000); } - catch (java.lang.InterruptedException e2) + catch (InterruptedException e2) { } } diff --git a/qadevOOo/runner/convwatch/TimeHelper.java b/qadevOOo/runner/convwatch/TimeHelper.java index 3b06f1fa50a9..92f8033d4ad8 100644 --- a/qadevOOo/runner/convwatch/TimeHelper.java +++ b/qadevOOo/runner/convwatch/TimeHelper.java @@ -30,6 +30,6 @@ public class TimeHelper GlobalLogWriter.get().println("Wait " + String.valueOf(_nSeconds) + " sec. Reason: " + _sReason); try { java.lang.Thread.sleep(_nSeconds * 1000); - } catch (java.lang.InterruptedException e2) {} + } catch (InterruptedException e2) {} } } |