private void updateButtonState(boolean dataChanged){
  btnApply.setEnabled(dataChanged);
  btnRevert.setEnabled(dataChanged);
}

private void updateButtonState ( boolean dataChanged ) { btnApply . setEnabled ( dataChanged ) ; btnRevert . setEnabled ( dataChanged ) ; }
update button apply / revert state .
