Skip to content

Commit

Permalink
fixed negative array size issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fandreuz committed Feb 15, 2019
1 parent 5888b7b commit e2962c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
targetSdkVersion 27
flavorDimensions "default"

versionName "v6.12"
versionCode 201
versionName "v6.13"
versionCode 202
}
buildTypes {
release {
Expand Down Expand Up @@ -60,5 +60,5 @@ dependencies {
implementation 'net.sourceforge.htmlcleaner:htmlcleaner:2.6'
implementation 'com.jayway.jsonpath:json-path:2.4.0'
implementation 'org.jsoup:jsoup:1.11.3'
implementation 'it.andreuzzi:CompareString2:1.0.5'
implementation 'com.github.fAndreuzzi:CompareString2:v1.0.9'
}
Original file line number Diff line number Diff line change
Expand Up @@ -1022,12 +1022,9 @@ private void suggestApp(List<AppsManager.LaunchInfo> apps, List<Suggestion> sugg
canInsert--;

suggestions.add(new Suggestion(beforeLastSpace , l.publicLabel, canClickToLaunch && clickToLaunch, Suggestion.TYPE_APP, l));
Tuils.log(new Suggestion(beforeLastSpace , l.publicLabel, canClickToLaunch && clickToLaunch, Suggestion.TYPE_APP, l).getText());
}
} else {
AppsManager.LaunchInfo[] infos = CompareObjects.topMatchesWithDeadline(afterLastSpace, apps.size(), apps, canInsert, suggestionsDeadline, SPLITTERS, algInstance, alg);
Tuils.log(Arrays.toString(infos));

for(AppsManager.LaunchInfo i : infos) {
if(i == null) break;

Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ buildscript {
jcenter()
mavenCentral()
google()
maven {
url "https://jitpack.io"
}
}

dependencies {
Expand Down

0 comments on commit e2962c0

Please sign in to comment.