Skip to content

Commit

Permalink
cleanup useless comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Jun 5, 2020
1 parent 7c93d8d commit 2370f22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

@SuppressWarnings("WeakerAccess")
public class TableFormatOptions implements MutableDataSetter {
// NOTE: the value of \u001f is hardcoded in Parsing patterns
final public static char INTELLIJ_DUMMY_IDENTIFIER_CHAR = SequenceUtils.US;
final public static String INTELLIJ_DUMMY_IDENTIFIER = SequenceUtils.US_CHARS;
final public static CharPredicate INTELLIJ_DUMMY_IDENTIFIER_SET = value -> value == SequenceUtils.US;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ public Parsing(DataHolder options) {
*/
@Deprecated
public String EXCLUDED_0_TO_SPACE() {
// NOTE: hardcoded because of dependency on it being '\u001f'
return EXCLUDED_0_TO_SPACE(intellijDummyIdentifier);
}

Expand All @@ -456,7 +455,6 @@ public String EXCLUDED_0_TO_SPACE() {
*/
@Deprecated
public String ADDITIONAL_CHARS() {
// NOTE: hardcoded because of dependency on it being '\u001f'
return ADDITIONAL_CHARS(intellijDummyIdentifier);
}

Expand All @@ -465,22 +463,18 @@ public String ADDITIONAL_CHARS() {
*/
@Deprecated
public String ADDITIONAL_CHARS_SET(String quantifier) {
// NOTE: hardcoded because of dependency on it being '\u001f'
return ADDITIONAL_CHARS_SET(intellijDummyIdentifier, quantifier);
}

public static String EXCLUDED_0_TO_SPACE(boolean intellijDummyIdentifier) {
// NOTE: hardcoded because of dependency on it being '\u001f'
return intellijDummyIdentifier ? ST_EXCLUDED_0_TO_SPACE_IDI : ST_EXCLUDED_0_TO_SPACE_NO_IDI;
}

public static String ADDITIONAL_CHARS(boolean intellijDummyIdentifier) {
// NOTE: hardcoded because of dependency on it being '\u001f'
return intellijDummyIdentifier ? ST_ADDITIONAL_CHARS_IDI : ST_ADDITIONAL_CHARS_NO_IDI;
}

public static String ADDITIONAL_CHARS_SET(boolean intellijDummyIdentifier, String quantifier) {
// NOTE: hardcoded because of dependency on it being '\u001f'
return intellijDummyIdentifier ? ST_ADDITIONAL_CHARS_SET_IDI + quantifier : ST_ADDITIONAL_CHARS_SET_NO_IDI;
}

Expand Down

0 comments on commit 2370f22

Please sign in to comment.