Skip to content

Commit

Permalink
Fix Javadoc escaped '/' char
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Oct 8, 2024
1 parent f01c328 commit 99ce6f4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/main/java/org/apache/commons/io/build/AbstractSupplier.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,29 @@
import org.apache.commons.io.function.IOSupplier;

/**
* Abstracts supplying an instance of {@code T}. Use to implement the builder pattern.
* Abstracts supplying an instance of {@code T}.
* <p>
* Extend this class to implement the builder pattern.
* </p>
* <p>
* For example, here is a builder, a domain class, and a test.
* </p>
* <p>
* The builder:
* </p>
* <pre>
&#8725;**
&#47;**
&ast; Builds Foo instances.
&ast;&#8725;
&ast;&#47;
public static class Builder extends AbstractSupplier&#60;Foo, Builder&#62; {
private String bar1;
private String bar2;
private String bar3;
&#8725;**
&#47;**
&ast; Builds a new Foo.
&ast;&#8725;
&ast;&#47;
&#64;Override
public Foo get() {
return new Foo(bar1, bar2, bar3);
Expand All @@ -65,9 +68,9 @@ public Builder setBar3(final String bar3) {
* The domain class:
* </p>
* <pre>
&#8725;**
&#47;**
&ast; Domain class.
&ast;&#8725;
&ast;&#47;
public class Foo {
public static Builder builder() {
Expand Down

0 comments on commit 99ce6f4

Please sign in to comment.