Rename @CommandMetaData(descr) to description
In e51c428fe5 the metadata was
introduced using the attribute "descr". We do not usually permit
abbreviations in APIs, and especially should not have accepted it
for an API plugins can use.
Mark descr as deprecated so current plugins can migrate. Use
description if available, and fall back to descr for older code.
Change-Id: I662482cd228f81bf1537062b9fe03b6c23354a78
This commit is contained in:
committed by
David Pursehouse
parent
be2d53e50b
commit
5b70c223ba
@@ -52,7 +52,7 @@ import java.util.SortedMap;
|
||||
|
||||
/** Show the current cache states. */
|
||||
@RequiresCapability(GlobalCapability.VIEW_CACHES)
|
||||
@CommandMetaData(name = "show-caches", descr = "Display current cache statistics")
|
||||
@CommandMetaData(name = "show-caches", description = "Display current cache statistics")
|
||||
final class ShowCaches extends CacheCommand {
|
||||
private static volatile long serverStarted;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user