Added @Name annotation to JMX-enabled operation.

This commit is contained in:
Simone Bordet 2013-02-28 20:23:57 +01:00
parent 90b5ea2c5e
commit 951d8c8472
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ public class DoSFilter implements Filter
* @see #addWhitelistAddress(List, String)
*/
@ManagedOperation("removes an IP address that will not be rate limited")
public boolean removeWhitelistAddress(String address)
public boolean removeWhitelistAddress(@Name("address") String address)
{
return _whitelist.remove(address);
}