NIFI-1239: Fixed bug that caused the cache to hold 0 elements instead of 100

This commit is contained in:
Mark Payne 2015-12-02 16:39:40 -05:00
parent 6a8c2dba12
commit 02dc7e82b2
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class ConvertJSONToSQL extends AbstractProcessor {
@Override
protected boolean removeEldestEntry(Map.Entry<SchemaKey,TableSchema> eldest) {
return true;
return size() >= 100;
}
};