jni: consmetic refactor to consistent appearance