Author: ssteiner Date: Wed Mar 21 12:19:52 2018 New Revision: 1827406 URL: http://svn.apache.org/viewvc?rev=1827406&view=rev Log: java.lang Cleanup
Modified: xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java Modified: xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java?rev=1827406&r1=1827405&r2=1827406&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java Wed Mar 21 12:19:52 2018 @@ -257,7 +257,7 @@ public class GlyphMapping { if (kerning) { int kern = 0; if (offset > 0) { - int previousChar = java.lang.Character.codePointAt(ics, offset - 1); + int previousChar = Character.codePointAt(ics, offset - 1); kern = font.getKernValue(previousChar, currentChar); } else if (precedingChar != 0) { kern = font.getKernValue(precedingChar, currentChar); @@ -276,9 +276,9 @@ public class GlyphMapping { && endsWithHyphen) { int endChar = text.charAt(endIndex - 1); - if (java.lang.Character.isLowSurrogate((char) endChar)) { + if (Character.isLowSurrogate((char) endChar)) { char highSurrogate = text.charAt(endIndex - 2); - endChar = java.lang.Character.toCodePoint(highSurrogate, (char) endChar); + endChar = Character.toCodePoint(highSurrogate, (char) endChar); } int kern = font.getKernValue(endChar, (int) breakOpportunityChar); Modified: xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java?rev=1827406&r1=1827405&r2=1827406&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java Wed Mar 21 12:19:52 2018 @@ -695,7 +695,7 @@ public abstract class OpenFont { // Also add winAnsiWidth. List<Integer> ansiIndexes = null; - if (charCodeL <= java.lang.Character.MAX_VALUE) { + if (charCodeL <= Character.MAX_VALUE) { ansiIndexes = ansiIndex.get((int) charCodeL); } Modified: xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java?rev=1827406&r1=1827405&r2=1827406&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java (original) +++ xmlgraphics/fop/trunk/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java Wed Mar 21 12:19:52 2018 @@ -71,7 +71,7 @@ public final class ConvertUtils { new Thread(outputRedirector).start(); process.waitFor(); - } catch (java.lang.InterruptedException ie) { + } catch (InterruptedException ie) { throw new IOException("The call to the external converter failed: " + ie.getMessage()); } catch (java.io.IOException ioe) { throw new IOException("The call to the external converter failed: " + ioe.getMessage()); Modified: xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java?rev=1827406&r1=1827405&r2=1827406&view=diff ============================================================================== --- xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java (original) +++ xmlgraphics/fop/trunk/fop/examples/embedding/java/embedding/tools/AbstractObjectReader.java Wed Mar 21 12:19:52 2018 @@ -121,20 +121,20 @@ public abstract class AbstractObjectRead /** * @see org.xml.sax.XMLReader#getProperty(String) */ - public Object getProperty(java.lang.String name) { + public Object getProperty(String name) { return null; } /** * @see org.xml.sax.XMLReader#setProperty(String, Object) */ - public void setProperty(java.lang.String name, java.lang.Object value) { + public void setProperty(String name, Object value) { } /** * @see org.xml.sax.XMLReader#getFeature(String) */ - public boolean getFeature(java.lang.String name) { + public boolean getFeature(String name) { return (Boolean) features.get(name); } @@ -157,7 +157,7 @@ public abstract class AbstractObjectRead /** * @see org.xml.sax.XMLReader#setFeature(String, boolean) */ - public void setFeature(java.lang.String name, boolean value) { + public void setFeature(String name, boolean value) { this.features.put(name, value); } --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-h...@xmlgraphics.apache.org