aboutsummaryrefslogtreecommitdiffstats
path: root/fop-core
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2018-03-21 12:19:52 +0000
committerSimon Steiner <ssteiner@apache.org>2018-03-21 12:19:52 +0000
commit73537d666caf622579c0294f33622df09e968dc1 (patch)
tree457c875b7fe266914787bef2ffcf8678fb5927fd /fop-core
parent6fea06c9a31c6ed8590182dd4416b63d32eda19c (diff)
downloadxmlgraphics-fop-73537d666caf622579c0294f33622df09e968dc1.tar.gz
xmlgraphics-fop-73537d666caf622579c0294f33622df09e968dc1.zip
java.lang Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1827406 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop-core')
-rw-r--r--fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java6
-rw-r--r--fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java2
-rw-r--r--fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java2
3 files changed, 5 insertions, 5 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java b/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java
index f79a04e97..dce045c2c 100644
--- a/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java
+++ b/fop-core/src/main/java/org/apache/fop/fonts/GlyphMapping.java
@@ -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);
diff --git a/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java b/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java
index 586943d58..3d15fc4d8 100644
--- a/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java
+++ b/fop-core/src/main/java/org/apache/fop/fonts/truetype/OpenFont.java
@@ -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);
}
diff --git a/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java b/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java
index aa4dadf47..bb0570e22 100644
--- a/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java
+++ b/fop-core/src/test/java/org/apache/fop/visual/ConvertUtils.java
@@ -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());