Browse Source

Cleanup of duplicate semicolons

Issue: SPR-15654
pull/1505/head
Juergen Hoeller 8 years ago
parent
commit
779deb0fa7
  1. 8
      spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceBindingTests.java
  2. 4
      spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationManager.java
  3. 2
      spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.java
  4. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsView.java

8
spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceBindingTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -74,19 +74,19 @@ public class AroundAdviceBindingTests { @@ -74,19 +74,19 @@ public class AroundAdviceBindingTests {
@Test
public void testOneObjectArgBoundToTarget() {
testBeanProxy.getAge();
verify(mockCollaborator).oneObjectArg(this.testBeanTarget);;
verify(mockCollaborator).oneObjectArg(this.testBeanTarget);
}
@Test
public void testOneIntAndOneObjectArgs() {
testBeanProxy.setAge(5);
verify(mockCollaborator).oneIntAndOneObject(5, this.testBeanProxy);;
verify(mockCollaborator).oneIntAndOneObject(5, this.testBeanProxy);
}
@Test
public void testJustJoinPoint() {
testBeanProxy.getAge();
verify(mockCollaborator).justJoinPoint("getAge");;
verify(mockCollaborator).justJoinPoint("getAge");
}
}

4
spring-tx/src/main/java/org/springframework/transaction/support/TransactionSynchronizationManager.java

@ -470,8 +470,8 @@ public abstract class TransactionSynchronizationManager { @@ -470,8 +470,8 @@ public abstract class TransactionSynchronizationManager {
public static void clear() {
synchronizations.remove();
currentTransactionName.remove();
currentTransactionReadOnly.remove();;
currentTransactionIsolationLevel.remove();;
currentTransactionReadOnly.remove();
currentTransactionIsolationLevel.remove();
actualTransactionActive.remove();
}

2
spring-web/src/test/java/org/springframework/web/context/request/async/WebAsyncManagerTests.java

@ -328,7 +328,7 @@ public class WebAsyncManagerTests { @@ -328,7 +328,7 @@ public class WebAsyncManagerTests {
Exception exception = new Exception();
DeferredResultProcessingInterceptor interceptor = mock(DeferredResultProcessingInterceptor.class);
willThrow(exception).given(interceptor).postProcess(this.asyncWebRequest, deferredResult, 25);;
willThrow(exception).given(interceptor).postProcess(this.asyncWebRequest, deferredResult, 25);
setupDefaultAsyncScenario();

2
spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractXlsView.java

@ -70,7 +70,7 @@ public abstract class AbstractXlsView extends AbstractView { @@ -70,7 +70,7 @@ public abstract class AbstractXlsView extends AbstractView {
response.setContentType(getContentType());
// Flush byte array to servlet output stream.
renderWorkbook(workbook, response);;
renderWorkbook(workbook, response);
}

Loading…
Cancel
Save