Skip to content

Commit ff1f2c8

Browse files
committed
@snippet was causing a javadoc error 'error: unknown tag: snippet'; <pre>+@code works, but we might want to come back and see if we can make @snippet work with some adequate configuration somewhere
1 parent a99793f commit ff1f2c8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/src/main/java/com/team2813/lib2813/preferences/PersistedConfiguration.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
*
2222
* <p>Example use:
2323
*
24-
* {@snippet :
24+
* <pre>
25+
* {@code :
2526
* public final class Drive {
2627
*
2728
* public record DriveConfiguration(
@@ -34,6 +35,7 @@
3435
* }
3536
* }
3637
* }
38+
* </pre>
3739
*
3840
* <p>In the above example, {@code fromPreferences()} would return a record instance with the values
3941
* populated the "Preferences" NetworkTables table. The keys would be:
@@ -57,7 +59,8 @@
5759
*
5860
* <p>The caller could specify different default values by passing an instance of the record class:
5961
*
60-
* {@snippet :
62+
* <pre>
63+
* {@code :
6164
* public final class Drive {
6265
*
6366
* public record DriveConfiguration(
@@ -72,6 +75,7 @@
7275
* }
7376
* }
7477
* }
78+
* </pre>
7579
*
7680
* <p>In the above example, {@code fromPreferences()} would return a record instance with the values
7781
* populated the "Preferences" NetworkTables table. The keys and default values would be:

0 commit comments

Comments
 (0)