diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2012-03-05 11:19:47 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2012-03-05 11:19:47 +0000 |
commit | 84943a6eb6c36fe591be541101c99bc2b5977027 (patch) | |
tree | d3657808a0090afdfb65ee4ee8c8298dfc2e3a0a /test | |
parent | 7770de983d5558be289c974fe5b4adc868c5fa78 (diff) | |
download | xmlgraphics-fop-84943a6eb6c36fe591be541101c99bc2b5977027.tar.gz xmlgraphics-fop-84943a6eb6c36fe591be541101c99bc2b5977027.zip |
Removed trailing whitespace and enabled corresponding RegexpSingleline Checkstyle rule
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
8 files changed, 17 insertions, 17 deletions
diff --git a/test/java/org/apache/fop/complexscripts/bidi/BidiAlgorithmTestCase.java b/test/java/org/apache/fop/complexscripts/bidi/BidiAlgorithmTestCase.java index 41115df98..6593ef1ba 100644 --- a/test/java/org/apache/fop/complexscripts/bidi/BidiAlgorithmTestCase.java +++ b/test/java/org/apache/fop/complexscripts/bidi/BidiAlgorithmTestCase.java @@ -67,7 +67,7 @@ public class BidiAlgorithmTestCase { 0, -1 // all test sets }; - // instrumentation + // instrumentation private int includedSequences; private int excludedSequences; private int passedSequences; diff --git a/test/java/org/apache/fop/complexscripts/fonts/GDEFTestCase.java b/test/java/org/apache/fop/complexscripts/fonts/GDEFTestCase.java index 162b5d241..d9f9c4fec 100644 --- a/test/java/org/apache/fop/complexscripts/fonts/GDEFTestCase.java +++ b/test/java/org/apache/fop/complexscripts/fonts/GDEFTestCase.java @@ -3165,7 +3165,7 @@ public class GDEFTestCase { private TTXFile findTTX ( String fid ) { String pn = findTTXPath ( fid ); assertTrue ( pn != null ); - try { + try { TTXFile tf = TTXFile.getFromCache ( pn ); return tf; } catch ( Exception e ) { diff --git a/test/java/org/apache/fop/complexscripts/fonts/GPOSTestCase.java b/test/java/org/apache/fop/complexscripts/fonts/GPOSTestCase.java index 881587b8e..a2b2f7fba 100644 --- a/test/java/org/apache/fop/complexscripts/fonts/GPOSTestCase.java +++ b/test/java/org/apache/fop/complexscripts/fonts/GPOSTestCase.java @@ -422,7 +422,7 @@ public class GPOSTestCase implements ScriptContextTester, GlyphContextTester { private TTXFile findTTX ( String fid ) { String pn = findTTXPath ( fid ); assertTrue ( pn != null ); - try { + try { TTXFile tf = TTXFile.getFromCache ( pn ); return tf; } catch ( Exception e ) { diff --git a/test/java/org/apache/fop/complexscripts/fonts/GSUBTestCase.java b/test/java/org/apache/fop/complexscripts/fonts/GSUBTestCase.java index e3f122b15..8510f5e1f 100644 --- a/test/java/org/apache/fop/complexscripts/fonts/GSUBTestCase.java +++ b/test/java/org/apache/fop/complexscripts/fonts/GSUBTestCase.java @@ -2220,7 +2220,7 @@ public class GSUBTestCase implements ScriptContextTester, GlyphContextTester { private TTXFile findTTX ( String fid ) { String pn = findTTXPath ( fid ); assertTrue ( pn != null ); - try { + try { TTXFile tf = TTXFile.getFromCache ( pn ); return tf; } catch ( Exception e ) { diff --git a/test/java/org/apache/fop/complexscripts/fonts/ttx/TTXFile.java b/test/java/org/apache/fop/complexscripts/fonts/ttx/TTXFile.java index 4be0fedd8..cc695ad42 100644 --- a/test/java/org/apache/fop/complexscripts/fonts/ttx/TTXFile.java +++ b/test/java/org/apache/fop/complexscripts/fonts/ttx/TTXFile.java @@ -3301,7 +3301,7 @@ public class TTXFile { Integer gid = glyphIds.get ( glyph ); if ( gid != null ) { if ( gmap != null ) { - Integer cid = gmap.get ( gid ); + Integer cid = gmap.get ( gid ); if ( cid != null ) { return cid.intValue(); } diff --git a/test/java/org/apache/fop/complexscripts/util/NumberConverterTestCase.java b/test/java/org/apache/fop/complexscripts/util/NumberConverterTestCase.java index 55506b550..385612b3a 100644 --- a/test/java/org/apache/fop/complexscripts/util/NumberConverterTestCase.java +++ b/test/java/org/apache/fop/complexscripts/util/NumberConverterTestCase.java @@ -208,7 +208,7 @@ public class NumberConverterTestCase { static private String[][] formatRomanUpper = { - + { "I" }, { "0", "0" }, { "1", "I" }, @@ -477,7 +477,7 @@ public class NumberConverterTestCase { { "999999", "bdwgm" }, { "1000000", "bdwgn" }, }; - + static private String[][] formatAlphabeticLatinUpper = { { "A" }, @@ -498,7 +498,7 @@ public class NumberConverterTestCase { { "999999", "BDWGM" }, { "1000000", "BDWGN" }, }; - + static private String[][] formatAlphabeticArabicHijai = { { "\u0627", null, null, "alphabetic" }, @@ -539,7 +539,7 @@ public class NumberConverterTestCase { { "999999", "\u0623\u0638\u0636\u0635\u062E" }, { "1000000", "\u0623\u0638\u0636\u0635\u062F" }, }; - + static private String[][] formatAlphabeticArabicAbjadi = { { "\u0627", null, null, "traditional" }, @@ -580,7 +580,7 @@ public class NumberConverterTestCase { { "999999", "\u0623\u0641\u0633\u0646\u0632" }, { "1000000", "\u0623\u0641\u0633\u0646\u062D" }, }; - + static private String[][] formatNumeralArabicAbjadi = { { "\u0623", null, null, "traditional" }, @@ -628,7 +628,7 @@ public class NumberConverterTestCase { { "1999", "\u063A\u0638\u0635\u0637" }, { "2000", "2000" }, }; - + static private String[][] formatAlphabeticHebrew = { { "\u05D0", null, null, "alphabetic" }, @@ -668,7 +668,7 @@ public class NumberConverterTestCase { { "999999", "\u05D0\u05DA\u05E9\u05E7\u05E5" }, { "1000000", "\u05D0\u05DA\u05E9\u05E8\u05D0" }, }; - + static private String[][] formatNumeralHebrewGematria = { { "\u05D0", null, null, "traditional" }, @@ -716,7 +716,7 @@ public class NumberConverterTestCase { { "1999", "\u05D0\u05F3\u05EA\u05EA\u05F4\u05E7\u05E6\u05D8" }, { "2000", "2000" }, }; - + static private String[][] formatAlphabeticThai = { { "\u0E01", null, null, "alphabetic" }, @@ -737,7 +737,7 @@ public class NumberConverterTestCase { { "999999", "\u0E0B\u0E20\u0E17\u0E0B" }, { "1000000", "\u0E0B\u0E20\u0E17\u0E0C" }, }; - + static private String[][] formatWordEnglishLower = { { "w", null, null, null, null, "eng" }, diff --git a/test/java/org/apache/fop/fotreetest/ext/AssertElement.java b/test/java/org/apache/fop/fotreetest/ext/AssertElement.java index f4a76d7ed..5070984d1 100644 --- a/test/java/org/apache/fop/fotreetest/ext/AssertElement.java +++ b/test/java/org/apache/fop/fotreetest/ext/AssertElement.java @@ -61,7 +61,7 @@ public class AssertElement extends TestObj { ResultCollector collector = ResultCollector.getInstance(); String propName = attlist.getValue("property"); - String expected = attlist.getValue("expected"); + String expected = attlist.getValue("expected"); String component = null; int dotIndex = propName.indexOf('.'); if (dotIndex >= 0) { diff --git a/test/java/org/apache/fop/pdf/PDFDocumentTestCase.java b/test/java/org/apache/fop/pdf/PDFDocumentTestCase.java index f65d73872..8965635b9 100644 --- a/test/java/org/apache/fop/pdf/PDFDocumentTestCase.java +++ b/test/java/org/apache/fop/pdf/PDFDocumentTestCase.java @@ -42,10 +42,10 @@ public class PDFDocumentTestCase { StringBuilder textBuffer = new StringBuilder(); String testString = "This is a test string, just some arbitrary data."; textBuffer.append(testString); - + PDFDocument.flushTextBuffer(textBuffer, out); assertEquals(testString, out.toString()); - + // Should reset the textBuffer assertEquals(0, textBuffer.length()); assertEquals("", textBuffer.toString()); |