minor refactor for PgArrayJavaType