Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
oops. eclipse liked the code, javac did not.
  • Loading branch information
chenson42 committed Jun 15, 2008
1 parent 86b8478 commit 718a950
Showing 1 changed file with 3 additions and 7 deletions.
Expand Up @@ -114,7 +114,7 @@ public String getNodeConcurrencyStatisticsAsText() {
for (String pool : stats.keySet()) {
out.append("---------------------------------------------------------------------------------------------------------");
out.append(lineFeed);
out.append(" CONNECTION TYPE:");
out.append(" CONNECTION TYPE: ");
out.append(pool);
out.append(lineFeed);
out.append("---------------------------------------------------------------------------------------------------------");
Expand Down Expand Up @@ -152,17 +152,13 @@ public String getNodesInWhiteList() {
}

@ManagedOperation(description = "Add a node id to the list of nodes that will always get through the concurrency manager")
@ManagedOperationParameters( {
@ManagedOperationParameter(name = "nodeId", description = "The node id to add to the white list"),
})
@ManagedOperationParameters( {@ManagedOperationParameter(name = "nodeId", description = "The node id to add to the white list")})
public void addNodeToWhiteList(String nodeId) {
concurrentConnectionManager.addToWhitelist(nodeId);
}

@ManagedOperation(description = "Remove a node id to the list of nodes that will always get through the concurrency manager")
@ManagedOperationParameters( {
@ManagedOperationParameter(name = "nodeId", description = "The node id to remove from the white list"),
})
@ManagedOperationParameters( {@ManagedOperationParameter(name = "nodeId", description = "The node id to remove from the white list")})
public void removeNodeFromWhiteList(String nodeId) {
concurrentConnectionManager.removeFromWhiteList(nodeId);
}
Expand Down

0 comments on commit 718a950

Please sign in to comment.