mirror of https://github.com/apache/nifi.git
NIFI-1239: Fixed bug that caused the cache to hold 0 elements instead of 100
This commit is contained in:
parent
6a8c2dba12
commit
02dc7e82b2
|
@ -172,7 +172,7 @@ public class ConvertJSONToSQL extends AbstractProcessor {
|
|||
|
||||
@Override
|
||||
protected boolean removeEldestEntry(Map.Entry<SchemaKey,TableSchema> eldest) {
|
||||
return true;
|
||||
return size() >= 100;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue