Skip to content

Commit

Permalink
Update version for 2.0, fix some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mgod committed May 28, 2015
1 parent 26426aa commit 573ae53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=1.3.3
VERSION_CODE=5
VERSION_NAME=2.0
VERSION_CODE=6
GROUP=com.splitwise

ANDROID_BUILD_MIN_SDK_VERSION=14
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ public void allowCollapse(boolean allowCollapse) {
* Set a number of tokens limit.
* @param tokenLimit The number of tokens permitted. -1 value disables limit.
*/
@SuppressWarnings("unused")
public void setTokenLimit(int tokenLimit){
this.tokenLimit = tokenLimit;
}
Expand Down Expand Up @@ -761,7 +762,7 @@ protected void replaceText(CharSequence text) {
}

@Override
public boolean extractText(ExtractedTextRequest request, ExtractedText outText) {
public boolean extractText(@NonNull ExtractedTextRequest request, @NonNull ExtractedText outText) {
try {
return super.extractText(request, outText);
} catch (IndexOutOfBoundsException ignored) {
Expand Down Expand Up @@ -1086,6 +1087,7 @@ public static interface TokenListener<T> {

private class TokenSpanWatcher implements SpanWatcher {

@SuppressWarnings("unchecked cast")
@Override
public void onSpanAdded(Spannable text, Object what, int start, int end) {
if (what instanceof TokenCompleteTextView<?>.TokenImageSpan && !savingState && !focusChanging) {
Expand Down

0 comments on commit 573ae53

Please sign in to comment.