google / google/google-java-format

Formatter repeatedly adds <p> tags to @code blocks inside Javadoc

オープン
#254 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.2k
フォーク
937
平均マージ
6分
マージ済み PR(30日)
3

説明

The formatter repeatedly adds

tags to items inside an \@code block in Javadoc.

Expected: consistent output when the formatter is run repeatedly
Impact: Difficulty adding the formatter to our CI

```
$ cat Example.java

package com.foo.bar;

/**
* {@code public enum MyFile {
*
*

// A cool new thing
*
* } }
*/

$ java -jar google-java-format-1.5-all-deps.jar -i Example.java
$ cat Example.java

package com.foo.bar;

/**
* {@code public enum MyFile {
*
*

// A cool new thing
*
*

} }
*/

$ java -jar google-java-format-1.5-all-deps.jar -i Example.java
$ cat Example.java
package com.foo.bar;

/**
* {@code public enum MyFile {
*
*

// A cool new thing
*
*

} }
*/
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。