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:
@@ -39,8 +39,6 @@ import org.springframework.security.core.context.SecurityContextHolder;
|
||||
*/
|
||||
public class AuthenticationSimpleHttpInvokerRequestExecutorTests {
|
||||
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
@After
|
||||
public void tearDown() {
|
||||
SecurityContextHolder.clearContext();
|
||||
@@ -95,9 +93,6 @@ public class AuthenticationSimpleHttpInvokerRequestExecutorTests {
|
||||
assertThat(conn.getRequestProperty("Authorization")).isNull();
|
||||
}
|
||||
|
||||
// ~ Inner Classes
|
||||
// ==================================================================================================
|
||||
|
||||
private class MockHttpURLConnection extends HttpURLConnection {
|
||||
|
||||
private Map<String, String> requestProperties = new HashMap<>();
|
||||
|
||||
@@ -39,8 +39,6 @@ import org.springframework.test.util.ReflectionTestUtils;
|
||||
*/
|
||||
public class ContextPropagatingRemoteInvocationTests {
|
||||
|
||||
// ~ Methods
|
||||
// ========================================================================================================
|
||||
@After
|
||||
public void tearDown() {
|
||||
SecurityContextHolder.clearContext();
|
||||
|
||||
Reference in New Issue
Block a user