commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject [2/4] [text] Resolve checkstyle errors.
Date Fri, 08 Dec 2017 15:57:43 GMT
Resolve checkstyle errors.


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/aa789914
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/aa789914
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/aa789914

Branch: refs/heads/master
Commit: aa789914536355f863c7a756684959e4eac67f91
Parents: 1596501
Author: ben.12 <benmor_12@yahoo.fr>
Authored: Sat Oct 28 17:12:28 2017 +0200
Committer: ben.12 <benmor_12@yahoo.fr>
Committed: Sat Oct 28 17:12:28 2017 +0200

----------------------------------------------------------------------
 .../org/apache/commons/text/ExtendedMessageFormatTest.java  | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/aa789914/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
index 7e32236..080fb59 100644
--- a/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
+++ b/src/test/java/org/apache/commons/text/ExtendedMessageFormatTest.java
@@ -102,14 +102,15 @@ public class ExtendedMessageFormatTest {
     }
 
     /**
-     * Test Bug TEXT-106 - Exception while using ExtendedMessageFormat and choice format
element with quote just before brace end
+     * Test Bug TEXT-106 - Exception while using ExtendedMessageFormat and choice format
element with quote just
+     * before brace end
      */
     @Test
     public void testChoiceQuoteJustBeforeBraceEnd_TEXT_106() {
-        final String pattern2 = "Message with choice format element with quote just before
brace end ''{0,choice,0#0|0<'1'}''";
+        final String pattern2 = "Choice format element with quote just before brace end ''{0,choice,0#0|0<'1'}''";
         final ExtendedMessageFormat emf = new ExtendedMessageFormat(pattern2, registry);
-        assertEquals("Message with choice format element with quote just before brace end
'0'", emf.format(new Object[] {0}));
-        assertEquals("Message with choice format element with quote just before brace end
'1'", emf.format(new Object[] {1}));
+        assertEquals("Choice format element with quote just before brace end '0'", emf.format(new
Object[] {0}));
+        assertEquals("Choice format element with quote just before brace end '1'", emf.format(new
Object[] {1}));
     }
 
     /**


Mime
View raw message