Both setter and getter should start with word 'add'

This commit is contained in:
Dmitry Trofimov
2014-11-24 21:41:47 +03:00
parent 9154ce7821
commit e521c513d7
7 changed files with 36 additions and 35 deletions
@@ -276,23 +276,23 @@ public class PyIdeCommonOptionsForm implements AbstractPyCommonOptionsForm {
}
@Override
public boolean addContentRoots() {
public boolean shouldAddContentRoots() {
return myAddContentRootsCheckbox.isSelected();
}
@Override
public boolean addSourceRoots() {
public boolean shouldAddSourceRoots() {
return myAddSourceRootsCheckbox.isSelected();
}
@Override
public void addContentRoots(boolean add) {
myAddContentRootsCheckbox.setSelected(add);
public void setAddContentRoots(boolean flag) {
myAddContentRootsCheckbox.setSelected(flag);
}
@Override
public void addSourceRoots(boolean add) {
myAddSourceRootsCheckbox.setSelected(add);
public void setAddSourceRoots(boolean flag) {
myAddSourceRootsCheckbox.setSelected(flag);
}
private void createUIComponents() {