Skip to content

Commit

Permalink
Replaced code with pre tags
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schnell committed Feb 10, 2024
1 parent 79671ca commit 9ecc6d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/main/java/org/fuin/units4j/AssertCoverage.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
*
* @deprecated Use <a href="https://www.archunit.org/">ArchUnit</a> rules instead.
*
* <code>
* @AnalyzeClasses(packagesOf = AClassInRootPackage.class, importOptions = ImportOption.DoNotIncludeTests.class)
* <code>{@code
* &#64;AnalyzeClasses(packagesOf = AClassInRootPackage.class, importOptions = ImportOption.DoNotIncludeTests.class)
* class ArchitectureTest {
* @ArchTest
* &#64;ArchTest
* static final ArchRule all_classes_should_have_tests =
* classes()
* .that()
Expand All @@ -52,8 +52,8 @@
* .and().doNotHaveModifier(JavaModifier.ABSTRACT)
* .and().areNotAnnotatedWith(ArchIgnore.class)
* .should(haveACorrespondingClassEndingWith("Test"));
* </code>
*
* }
* }</code>
*/
@Deprecated
public final class AssertCoverage {
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/fuin/units4j/AssertDependencies.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
* @deprecated Use <a href="https://www.archunit.org/">ArchUnit</a> rules instead.
*
* Example ArchUnit test rule:
* <code>
* @ArchTest
* <pre>{@code
* &#64;ArchTest
* static final ArchRule core_access_only_to_defined_packages =
* classes()
* .that()
* .resideInAPackage("my.package.core..")
* .should()
* .onlyDependOnClassesThat()
* .resideInAnyPackage("my.package.common..", "java.lang..");
* </code>
* }</pre>
*/
@Deprecated
public final class AssertDependencies {
Expand Down

0 comments on commit 9ecc6d0

Please sign in to comment.