acoburn commented on a change in pull request #797: ISSUE 230: Enable
Checkstyle on the meta package
URL: https://github.com/apache/bookkeeper/pull/797#discussion_r154230138
##########
File path:
bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java
##########
@@ -146,21 +144,21 @@
* @param failureRc
* Failure RC code passed to finalCb when exceptions occured.
*/
- public void asyncProcessLedgers(Processor<Long> processor,
AsyncCallback.VoidCallback finalCb,
+ void asyncProcessLedgers(Processor<Long> processor,
AsyncCallback.VoidCallback finalCb,
Object context, int successRc, int
failureRc);
/**
- * Loop to scan a range of metadata from metadata storage
+ * Loop to scan a range of metadata from metadata storage.
*
* @return will return a iterator of the Ranges
*/
- public LedgerRangeIterator getLedgerRanges();
+ LedgerRangeIterator getLedgerRanges();
- /*
+ /**
* Used to represent the Ledgers range returned from the
* current scan.
*/
- public static class LedgerRange {
Review comment:
`static` is implied in an interface. Reverting that change results in:
[ERROR]
/Users/acoburn/Projects/bookkeeper/bookkeeper-server/src/main/java/org/apache/bookkeeper/meta/LedgerManager.java:161:5:
Redundant 'static' modifier. [RedundantModifier]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services