You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/02/05 11:47:21 UTC

[lang] Fix a few broken @literal tags (closes #233)

Repository: commons-lang
Updated Branches:
  refs/heads/master ebcef2d16 -> 04a2a4b45


Fix a few broken @literal tags (closes #233)

The Javadoc of SystemDefaultsSwitch contains some broken @literal tags.
Instead of {@literal @} to insert a '@' into the HTML, {@literal@}
without the space is used, which does not work.


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

Branch: refs/heads/master
Commit: 04a2a4b456c8448b9e63edbf5479d1fe745917ab
Parents: ebcef2d
Author: Sebastian K�rten <se...@topobyte.de>
Authored: Sat Feb 4 18:57:53 2017 +0100
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sun Feb 5 12:46:43 2017 +0100

----------------------------------------------------------------------
 .../apache/commons/lang3/test/SystemDefaultsSwitch.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/04a2a4b4/src/test/java/org/apache/commons/lang3/test/SystemDefaultsSwitch.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/test/SystemDefaultsSwitch.java b/src/test/java/org/apache/commons/lang3/test/SystemDefaultsSwitch.java
index 6a8429f..398341c 100644
--- a/src/test/java/org/apache/commons/lang3/test/SystemDefaultsSwitch.java
+++ b/src/test/java/org/apache/commons/lang3/test/SystemDefaultsSwitch.java
@@ -35,22 +35,22 @@ import org.junit.runners.model.Statement;
  * <pre>
  * public class SystemDefaultsDependentTest {
  *
- *     {@literal@}Rule
+ *     {@literal @}Rule
  *     public SystemDefaultsSwitch locale = new SystemDefaultsSwitch();
  *
- *     {@literal@}Test
+ *     {@literal @}Test
  *     public void testThatWillExecuteWithTheDefaultLocaleAndTimeZone() {
  *         // nothing to do, just implement the test
  *     }
  *
- *     {@literal@}Test
- *     {@literal@}SystemDefaults(local="zh_CN")
+ *     {@literal @}Test
+ *     {@literal @}SystemDefaults(local="zh_CN")
  *     public void testWithSimplifiedChinaDefaultLocale() {
  *         // Locale.getDefault() will return Locale.CHINA until the end of this test method
  *     }
  *      
- *     {@literal@}Test
- *     {@literal@}SystemDefaults(timezone="America/New_York")
+ *     {@literal @}Test
+ *     {@literal @}SystemDefaults(timezone="America/New_York")
  *     public void testWithNorthAmericaEasternTimeZone() {
  *         // TimeZone.getDefault() will equal TimeZone.getTimeZone("America/New_York") until the end of this method
  *     }