Skip to content

Commit

Permalink
Don't encode '@' in {@code} tags
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Apr 8, 2014
1 parent a1486e4 commit d53b498
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 25 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,14 +24,12 @@
import static java.lang.annotation.RetentionPolicy.*;

/**
* <p>Test annotation to indicate that the annotated {@code public void}
* method should be executed <em>after</em> a transaction is ended for test
* methods configured to run within a transaction via the
* {@code &#064;Transactional} annotation.
* <p>Test annotation to indicate that the annotated {@code public void} method
* should be executed <em>after</em> a transaction is ended for a test method
* configured to run within a transaction via the {@code @Transactional} annotation.
*
* <p>
* The {@code &#064;AfterTransaction} methods of superclasses will be
* executed after those of the current class.
* <p>The {@code @AfterTransaction} methods of superclasses will be executed
* after those of the current class.
*
* <p>As of Spring Framework 4.0, this annotation may be used as a
* <em>meta-annotation</em> to create custom <em>composed annotations</em>.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,14 +24,12 @@
import static java.lang.annotation.RetentionPolicy.*;

/**
* <p>Test annotation to indicate that the annotated {@code public void}
* method should be executed <em>before</em> a transaction is started for test
* methods configured to run within a transaction via the
* {@code &#064;Transactional} annotation.
* <p>Test annotation to indicate that the annotated {@code public void} method
* should be executed <em>before</em> a transaction is started for a test method
* configured to run within a transaction via the {@code @Transactional} annotation.
*
* <p>The {@code &#064;BeforeTransaction} methods of superclasses will be
* executed before those of the current class.
* </p>
* <p>The {@code @BeforeTransaction} methods of superclasses will be executed
* before those of the current class.
*
* <p>As of Spring Framework 4.0, this annotation may be used as a
* <em>meta-annotation</em> to create custom <em>composed annotations</em>.
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -51,8 +51,8 @@
* <li>{@link TransactionalTestExecutionListener}</li>
* </ul>
* <p>
* This class specifically tests usage of {@code &#064;Transactional}
* defined at the <strong>class level</strong>.
* This class specifically tests usage of {@code @Transactional} defined at the
* <strong>class level</strong>.
* </p>
*
* @author Sam Brannen
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -50,10 +50,10 @@
* <li>{@link TransactionalTestExecutionListener}</li>
* </ul>
* <p>
* This class specifically tests usage of {@code &#064;Transactional}
* defined at the <strong>method level</strong>. In contrast to
* This class specifically tests usage of {@code @Transactional} defined at the
* <strong>method level</strong>. In contrast to
* {@link ClassLevelTransactionalSpringRunnerTests}, this class omits usage of
* {@code &#064;NotTransactional}.
* {@code @NotTransactional}.
* </p>
*
* @author Sam Brannen
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -28,7 +28,7 @@
* As of Spring 3.0,
* {@code MultipleResourcesSpringJUnit4ClassRunnerAppCtxTests} is also used
* to verify support for the new {@code value} attribute alias for
* {@code &#064;ContextConfiguration}'s {@code locations} attribute.
* {@code @ContextConfiguration}'s {@code locations} attribute.
* </p>
*
* @author Sam Brannen
Expand Down

0 comments on commit d53b498

Please sign in to comment.