Remove superfluous comments

Use '^\s+//\ \~\ .*$' and '^\s+//\ ============+$' regular expression
searches to remove superfluous comments.

Prior to this commit, many classes would have comments to indicate
blocks of code (such as constructors/methods/instance fields). These
added a lot of noise and weren't all that helpful, especially given
the outline views available in most modern IDEs.

Issue gh-8945
This commit is contained in:
Phillip Webb
2020-07-23 15:09:07 -07:00
committed by Rob Winch
parent b7fc18262d
commit 71bc145ae4
406 changed files with 12 additions and 2190 deletions

View File

@@ -24,15 +24,12 @@ import java.io.Serializable;
* @author Ben Alex
*/
public class Contact implements Serializable {
// ~ Instance fields
// ================================================================================================
private Long id;
private String email;
private String name;
// ~ Constructors
// ===================================================================================================
public Contact(String name, String email) {
this.name = name;
@@ -42,8 +39,6 @@ public class Contact implements Serializable {
public Contact() {
}
// ~ Methods
// ========================================================================================================
/**
* @return Returns the email.