google / google/google-java-format

Inconsistent treatment of **/ at end of Javadoc

Đang mở
#67 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.2k
Fork
937
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
3

Mô tả

After formatting, this:

```
public class DoubleTrailingAsterisk {

/**
* Here is a multi-line comment that ends with a double asterisk.
**/
public void m1() {}

/** Here is a single-line comment that ends with a double asterisk. **/
public void m2() {}
}
```

becomes this:

```
public class DoubleTrailingAsterisk {

/** Here is a multi-line comment that ends with a double asterisk. */
public void m1() {}

/** Here is a single-line comment that ends with a double asterisk. * */
public void m2() {}
}
```

where the second Javadoc comment contains an extra "*".

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.