You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/12/13 16:30:05 UTC
[commons-text] branch master updated: Remove //
-----------------------------------------------------------------------
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new 969da99 Remove // -----------------------------------------------------------------------
969da99 is described below
commit 969da998f6cdbfb606294668c18474d1f02cee77
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Dec 13 11:30:01 2019 -0500
Remove //
-----------------------------------------------------------------------
---
src/test/java/org/apache/commons/text/StringSubstitutorTest.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java
index 6f18e7b..910f279 100644
--- a/src/test/java/org/apache/commons/text/StringSubstitutorTest.java
+++ b/src/test/java/org/apache/commons/text/StringSubstitutorTest.java
@@ -75,7 +75,6 @@ public class StringSubstitutorTest {
doTestReplace(sub, expectedResult, replaceTemplate, substring);
}
- // -----------------------------------------------------------------------
private void doTestReplace(final StringSubstitutor sub, final String expectedResult, final String replaceTemplate,
final boolean substring) {
final String expectedShortResult = expectedResult.substring(1, expectedResult.length() - 1);
@@ -161,7 +160,6 @@ public class StringSubstitutorTest {
values = null;
}
- // -----------------------------------------------------------------------
/**
* Tests get set.
*/
@@ -492,7 +490,6 @@ public class StringSubstitutorTest {
doTestReplace("The quick brown fox jumps over the lazy dog.", "The ${animal} jumps over the ${target}.", true);
}
- // -----------------------------------------------------------------------
/**
* Tests simple key replace.
*/
@@ -575,7 +572,6 @@ public class StringSubstitutorTest {
doTestNoReplace("${${ }}");
}
- // -----------------------------------------------------------------------
/**
* Tests protected.
*/
@@ -609,7 +605,6 @@ public class StringSubstitutorTest {
assertEquals("Hello there commons!", StringSubstitutor.replace("@greeting@ there @name@!", map, "@", "@"));
}
- // -----------------------------------------------------------------------
/**
* Tests static.
*/