commit pair java