File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
spring-beans/src/main/java/org/springframework/beans Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ public int hashCode() {
96
96
97
97
@ Override
98
98
public String toString () {
99
- return "metadata attribute '" + this .name + "'" ;
99
+ return "metadata attribute: name= '" + this .name + "'; value=" + this . value ;
100
100
}
101
101
102
102
}
Original file line number Diff line number Diff line change @@ -1383,15 +1383,15 @@ public int hashCode() {
1383
1383
1384
1384
@ Override
1385
1385
public String toString () {
1386
- StringBuilder sb = new StringBuilder ("class [" );
1387
- sb .append (getBeanClassName ()).append (']' );
1386
+ StringBuilder sb = new StringBuilder ("class=" ).append (getBeanClassName ());
1388
1387
sb .append ("; scope=" ).append (this .scope );
1389
1388
sb .append ("; abstract=" ).append (this .abstractFlag );
1390
1389
sb .append ("; lazyInit=" ).append (this .lazyInit );
1391
1390
sb .append ("; autowireMode=" ).append (this .autowireMode );
1392
1391
sb .append ("; dependencyCheck=" ).append (this .dependencyCheck );
1393
1392
sb .append ("; autowireCandidate=" ).append (this .autowireCandidate );
1394
1393
sb .append ("; primary=" ).append (this .primary );
1394
+ sb .append ("; fallback=" ).append (this .fallback );
1395
1395
sb .append ("; factoryBeanName=" ).append (this .factoryBeanName );
1396
1396
sb .append ("; factoryMethodName=" ).append (this .factoryMethodName );
1397
1397
sb .append ("; initMethodNames=" ).append (Arrays .toString (this .initMethodNames ));
You can’t perform that action at this time.
0 commit comments