File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
spring-integration-core/src/main/java/org/springframework/integration/endpoint Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -112,18 +112,13 @@ private void logComponentSubscriptionEvent(boolean add) {
112
112
componentName =
113
113
(StringUtils .hasText (componentName ) && componentName .contains ("#" )) ? "" : ":" + componentName ;
114
114
StringBuilder buffer = new StringBuilder ();
115
+ buffer .append (add ? "Adding " : "Removing " );
115
116
buffer .append ("{" )
116
117
.append (componentType )
117
118
.append (componentName )
118
119
.append ("} as a subscriber to the '" )
119
120
.append (namedChannel .getComponentName ())
120
121
.append ("' channel" );
121
- if (add ) {
122
- buffer .insert (0 , "Adding " );
123
- }
124
- else {
125
- buffer .insert (0 , "Removing " );
126
- }
127
122
logger .info (buffer .toString ());
128
123
}
129
124
}
You can’t perform that action at this time.
0 commit comments