google / google/google-java-format

Formatter fails with Javadoc on import

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

説明

The annotation is wrong for the Java file, but this is a compiling, small reproducing case. The following file complains about syntax errors:

```java
package foo;

import groovy.transform.CompileStatic;

/**
* Created.
*/
import java.util.ArrayList;

/**
* Created.
*/
@CompileStatic
public class Broken {
ArrayList list;
}
```

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

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

評価

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

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

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