refactor jar parse - rubocop edit