fixed toString handling (SPR-5582)
This commit is contained in:
parent
4ca54fb415
commit
a70f525d4e
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -194,6 +194,7 @@ public class TransactionAwareDataSourceProxy extends DelegatingDataSource {
|
||||||
else {
|
else {
|
||||||
sb.append(" from DataSource [").append(this.targetDataSource).append("]");
|
sb.append(" from DataSource [").append(this.targetDataSource).append("]");
|
||||||
}
|
}
|
||||||
|
return sb.toString();
|
||||||
}
|
}
|
||||||
else if (method.getName().equals("isClosed")) {
|
else if (method.getName().equals("isClosed")) {
|
||||||
return this.closed;
|
return this.closed;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue