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 12, 2017
1 parent 571631a commit 5751c0d
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 5751c0d

Please sign in to comment.