Skip to content

Commit 48f36f9

Browse files
committed
DiffDriver: fix formatting of javadoc
Change-Id: I01da1862719b6623727deae10a706f30ee6cabbf
1 parent 2c86ef2 commit 48f36f9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffDriver.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@
2828
@SuppressWarnings({"ImmutableEnumChecker", "nls"})
2929
public enum DiffDriver {
3030
/**
31-
* Built-in diff driver for <a
32-
* href="https://learn.microsoft.com/en-us/cpp/cpp/cpp-language-reference">c++</a>
31+
* Built-in diff driver for <a href=
32+
* "https://learn.microsoft.com/en-us/cpp/cpp/cpp-language-reference">c++</a>
3333
*/
3434
cpp(List.of(
3535
/* Jump targets or access declarations */
3636
"^[ \\t]*[A-Za-z_][A-Za-z_0-9]*:\\s*($|/[/*])"), List.of(
3737
/* functions/methods, variables, and compounds at top level */
3838
"^((::\\s*)?[A-Za-z_].*)$")),
3939
/**
40-
* Built-in diff driver for <a
41-
* href="https://devicetree-specification.readthedocs.io/en/stable/source-language.html">device
40+
* Built-in diff driver for <a href=
41+
* "https://devicetree-specification.readthedocs.io/en/stable/source-language.html">device
4242
* tree files</a>
4343
*/
4444
dts(List.of(";", "="), List.of(
4545
/* lines beginning with a word optionally preceded by '&' or the root */
4646
"^[ \\t]*((/[ \\t]*\\{|&?[a-zA-Z_]).*)")),
4747
/**
48-
* Built-in diff driver for <a
49-
* href="https://docs.oracle.com/javase/specs/jls/se21/html/index.html">java</a>
48+
* Built-in diff driver for <a href=
49+
* "https://docs.oracle.com/javase/specs/jls/se21/html/index.html">java</a>
5050
*/
5151
java(List.of(
5252
"^[ \\t]*(catch|do|for|if|instanceof|new|return|switch|throw|while)"),
@@ -58,13 +58,13 @@ public enum DiffDriver {
5858
"^[ \\t]*(([A-Za-z_<>&\\]\\[][?&<>.,A-Za-z_0-9]*[ \\t]+)+[A-Za-z_]"
5959
+ "[A-Za-z_0-9]*[ \\t]*\\([^;]*)$")),
6060
/**
61-
* Built-in diff driver for <a
62-
* href="https://docs.python.org/3/reference/index.html">python</a>
61+
* Built-in diff driver for
62+
* <a href="https://docs.python.org/3/reference/index.html">python</a>
6363
*/
6464
python(List.of("^[ \\t]*((class|(async[ \\t]+)?def)[ \\t].*)$")),
6565
/**
66-
* Built-in diff driver for <a *
67-
* href="https://doc.rust-lang.org/reference/introduction.html">java</a>
66+
* Built-in diff driver for
67+
* <a href="https://doc.rust-lang.org/reference/introduction.html">java</a>
6868
*/
6969
rust(List.of("^[\\t ]*((pub(\\([^\\)]+\\))?[\\t ]+)?"
7070
+ "((async|const|unsafe|extern([\\t ]+\"[^\"]+\"))[\\t ]+)?"

0 commit comments

Comments
 (0)