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.
This commit is contained in:
Sebastian Kürten 2017-02-04 18:57:53 +01:00 committed by pascalschumacher
parent ebcef2d16a
commit 04a2a4b456
1 changed files with 6 additions and 6 deletions

View File

@ -35,22 +35,22 @@ import org.junit.runners.model.Statement;
* <pre> * <pre>
* public class SystemDefaultsDependentTest { * public class SystemDefaultsDependentTest {
* *
* {@literal@}Rule * {@literal @}Rule
* public SystemDefaultsSwitch locale = new SystemDefaultsSwitch(); * public SystemDefaultsSwitch locale = new SystemDefaultsSwitch();
* *
* {@literal@}Test * {@literal @}Test
* public void testThatWillExecuteWithTheDefaultLocaleAndTimeZone() { * public void testThatWillExecuteWithTheDefaultLocaleAndTimeZone() {
* // nothing to do, just implement the test * // nothing to do, just implement the test
* } * }
* *
* {@literal@}Test * {@literal @}Test
* {@literal@}SystemDefaults(local="zh_CN") * {@literal @}SystemDefaults(local="zh_CN")
* public void testWithSimplifiedChinaDefaultLocale() { * public void testWithSimplifiedChinaDefaultLocale() {
* // Locale.getDefault() will return Locale.CHINA until the end of this test method * // Locale.getDefault() will return Locale.CHINA until the end of this test method
* } * }
* *
* {@literal@}Test * {@literal @}Test
* {@literal@}SystemDefaults(timezone="America/New_York") * {@literal @}SystemDefaults(timezone="America/New_York")
* public void testWithNorthAmericaEasternTimeZone() { * public void testWithNorthAmericaEasternTimeZone() {
* // TimeZone.getDefault() will equal TimeZone.getTimeZone("America/New_York") until the end of this method * // TimeZone.getDefault() will equal TimeZone.getTimeZone("America/New_York") until the end of this method
* } * }