fix(java_common): make FactEmitters Closeable (#3793)

5 files changed