Skip to content

Commit 937a9cc

Browse files
committed
fix invalid Javadoc
Seems like IntelliJ understands this Javadoc, but the javadoc tool does not. I have changed it back to the usual syntax we use (even though it is really annoying / ugly, in particular with @literal taking up an extra space). Signed-off-by: Peter Gafert <[email protected]>
1 parent 192bc02 commit 937a9cc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

archunit-junit/src/api/java/com/tngtech/archunit/junit/ArchTests.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,33 +21,33 @@
2121

2222
/**
2323
* Includes all {@code @ArchTest} annotated members of another class into this ArchUnit test. For example
24-
* <pre>{@code
24+
* <pre><code>
2525
* class MyArchRuleSuite1 {
26-
* @ArchTest
26+
* {@literal @}ArchTest
2727
* static final ArchRule suite1Rule1 = classes()...
2828
*
29-
* @ArchTest
29+
* {@literal @}ArchTest
3030
* static void suite1Rule2(JavaClasses classes) {
3131
* // ...
3232
* }
3333
* }
3434
*
3535
* class MyArchRuleSuite2 {
36-
* @ArchTest
36+
* {@literal @}ArchTest
3737
* static final ArchRule suite2Rule1 = classes()...
3838
* }
3939
*
40-
* @AnalyzeClasses(..)
40+
*{@literal @}AnalyzeClasses(..)
4141
* class MyArchitectureTest {
42-
* // includes all @ArchTest members from MyArchRuleSuite1
43-
* @ArchTest
42+
* // includes all{@literal @}ArchTest members from MyArchRuleSuite1
43+
* {@literal @}ArchTest
4444
* static final ArchTests includedRules1 = ArchTests.in(MyArchRuleSuite1.class);
4545
*
46-
* // includes all @ArchTest members from MyArchRuleSuite2
47-
* @ArchTest
46+
* // includes all{@literal @}ArchTest members from MyArchRuleSuite2
47+
* {@literal @}ArchTest
4848
* static final ArchTests includedRules2 = ArchTests.in(MyArchRuleSuite2.class);
4949
* }
50-
* }</pre>
50+
* </code></pre>
5151
*/
5252
public final class ArchTests {
5353
private final Class<?> definitionLocation;

0 commit comments

Comments
 (0)