forked from loafle/openapi-generator-original
* Optimize: replace keySet + N get calls with entrySet saving N calls to get method in a few places * missed one performance optimization * Rolling back a change that was dependent on Java 11
* Optimize: replace keySet + N get calls with entrySet saving N calls to get method in a few places * missed one performance optimization * Rolling back a change that was dependent on Java 11