Skip to content

Commit 2133581

Browse files
committed
Remove IntegrationNode.Stats.deprecated const
1 parent a550ebf commit 2133581

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-integration-core/src/main/java/org/springframework/integration/graph/IntegrationNode.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,12 @@ public void addProperties(@Nullable Map<String, Object> props) {
109109

110110
public static class Stats {
111111

112-
private static final String deprecated = "stats are deprecated in favor of sendTimers and receiveCounters";
113-
114112
protected boolean isAvailable() {
115113
return false;
116114
}
117115

118116
public String getDeprecated() {
119-
return deprecated;
117+
return "stats are deprecated in favor of sendTimers and receiveCounters";
120118
}
121119

122120
}

0 commit comments

Comments
 (0)