Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1500: Renaming of explicit groups changes entries accordingly #1539

Merged
merged 6 commits into from
Jul 13, 2016

Conversation

tobiasdiez
Copy link
Member

Also moved the code responsible for carrying over previous assignments from the gui to logic; add tests for it.

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Screenshots added (for bigger UI changes)

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Jul 3, 2016
addPreviousEntries();
}
}
mResultingGroup = new ExplicitGroup(m_name.getText().trim(), getContext());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you are touching that code anyway: How about refactoring the names here according to Java code conventions? m_name -> mName. What does the m stand for, btw?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@lenhard
Copy link
Member

lenhard commented Jul 8, 2016

Only minor remarks. LGTM.

private final JCheckBox m_sgRegExp = new JCheckBox(Localization.lang("regular expression"));
private final JTextField sgSearchExpression = new JTextField(GroupDialog.TEXTFIELD_LENGTH);
private final JCheckBox sgCaseSensitive = new JCheckBox(Localization.lang("Case sensitive"));
private final JCheckBox sgRegExp = new JCheckBox(Localization.lang("regular expression"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does sg stand for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

searchGroup, I would make an exception here for the general rule of no abbreviations since searchGroupRegualarExpressionCheckBox is a bit to big ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not convinced. As sg is not really that common. Why not searchGroupRegExCheckBox?

@simonharrer
Copy link
Contributor

LGTM, just merge after you addressed the minor comments.

@stefan-kolb
Copy link
Member

LGTM 👍

@tobiasdiez tobiasdiez added this to the v3.5 milestone Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants