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:
@@ -26,9 +26,6 @@ import javax.servlet.http.HttpServletRequest;
|
||||
*/
|
||||
public class MockOpenIDConsumer implements OpenIDConsumer {
|
||||
|
||||
// ~ Instance fields
|
||||
// ================================================================================================
|
||||
|
||||
private OpenIDAuthenticationToken token;
|
||||
|
||||
private String redirectUrl;
|
||||
@@ -49,9 +46,6 @@ public class MockOpenIDConsumer implements OpenIDConsumer {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
|
||||
public String beginConsumption(HttpServletRequest req, String claimedIdentity, String returnToUrl, String realm) {
|
||||
return redirectUrl;
|
||||
}
|
||||
|
||||
@@ -43,14 +43,8 @@ import org.springframework.security.core.userdetails.UserDetailsService;
|
||||
*/
|
||||
public class OpenIDAuthenticationProviderTests {
|
||||
|
||||
// ~ Static fields/initializers
|
||||
// =====================================================================================
|
||||
|
||||
private static final String USERNAME = "user.acegiopenid.com";
|
||||
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
|
||||
/*
|
||||
* Test method for
|
||||
* 'org.springframework.security.authentication.openid.OpenIDAuthenticationProvider.
|
||||
|
||||
Reference in New Issue
Block a user