Skip to content

Commit 4b2ce60

Browse files
committed
Polishing
1 parent 98be36a commit 4b2ce60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractBeanFactoryAwareAdvisingPostProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* ({@link AutoProxyUtils#ORIGINAL_TARGET_CLASS_ATTRIBUTE}),
2929
* and participates in an externally enforced target-class mode for any given bean
3030
* ({@link AutoProxyUtils#PRESERVE_TARGET_CLASS_ATTRIBUTE}).
31+
* This post-processor is therefore aligned with {@link AbstractAutoProxyCreator}.
3132
*
3233
* @author Juergen Hoeller
3334
* @since 4.2.3

spring-core/src/main/java/org/springframework/util/FastByteArrayOutputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public void writeTo(OutputStream out) throws IOException {
263263
*/
264264
public void resize(int targetCapacity) {
265265
Assert.isTrue(targetCapacity >= size(), "New capacity must not be smaller than current size");
266-
if (buffers.peekFirst() == null) {
266+
if (this.buffers.peekFirst() == null) {
267267
this.nextBlockSize = targetCapacity - size();
268268
}
269269
else if (size() == targetCapacity && this.buffers.getFirst().length == targetCapacity) {

0 commit comments

Comments
 (0)