Skip to content

Commit

Permalink
Switch checkCharactersCount() from public to private.
Browse files Browse the repository at this point in the history
  • Loading branch information
rengwuxian committed Mar 29, 2015
1 parent 4da151b commit 5a3ef81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ private int getBottomEllipsisWidth() {
return singleLineEllipsis ? (bottomEllipsisSize * 5 + getPixel(4)) : 0;
}

public void checkCharactersCount() {
private void checkCharactersCount() {
charactersCountValid = !hasCharatersCounter() || getText() == null || getText().length() == 0 || (getText().length() >= minCharacters && (maxCharacters <= 0 || getText().length() <= maxCharacters));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ private int getBottomEllipsisWidth() {
return singleLineEllipsis ? (bottomEllipsisSize * 5 + getPixel(4)) : 0;
}

public void checkCharactersCount() {
private void checkCharactersCount() {
charactersCountValid = !hasCharatersCounter() || getText() == null || getText().length() == 0 || (getText().length() >= minCharacters && (maxCharacters <= 0 || getText().length() <= maxCharacters));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ private int getBottomEllipsisWidth() {
return singleLineEllipsis ? (bottomEllipsisSize * 5 + getPixel(4)) : 0;
}

public void checkCharactersCount() {
private void checkCharactersCount() {
charactersCountValid = !hasCharatersCounter() || getText() == null || getText().length() == 0 || (getText().length() >= minCharacters && (maxCharacters <= 0 || getText().length() <= maxCharacters));
}

Expand Down

0 comments on commit 5a3ef81

Please sign in to comment.