-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Conversation
addPreviousEntries(); | ||
} | ||
} | ||
mResultingGroup = new ExplicitGroup(m_name.getText().trim(), getContext()); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Only minor remarks. LGTM. |
2e27827
to
7e1f066
Compare
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")); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 ;)
There was a problem hiding this comment.
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?
LGTM, just merge after you addressed the minor comments. |
LGTM 👍 |
8321360
to
44d69f3
Compare
Also moved the code responsible for carrying over previous assignments from the gui to logic; add tests for it.