Skip to content

Commit

Permalink
[BEAM-1950] Add missing 'static' keyword to MicrobatchSource#initRead…
Browse files Browse the repository at this point in the history
…erCache
  • Loading branch information
aviemzur committed Apr 13, 2017
1 parent dc672f4 commit fdabd41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public BoundedReader<T> getOrCreateReader(
}
}

private synchronized void initReaderCache(long readerCacheInterval) {
private static synchronized void initReaderCache(long readerCacheInterval) {
if (readerCache == null) {
LOG.info("Creating reader cache. Cache interval = " + readerCacheInterval + " ms.");
readerCache =
Expand Down

0 comments on commit fdabd41

Please sign in to comment.