Skip to content

Commit e2962c0

Browse files
committed
fixed negative array size issue
1 parent 5888b7b commit e2962c0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
targetSdkVersion 27
1313
flavorDimensions "default"
1414

15-
versionName "v6.12"
16-
versionCode 201
15+
versionName "v6.13"
16+
versionCode 202
1717
}
1818
buildTypes {
1919
release {
@@ -60,5 +60,5 @@ dependencies {
6060
implementation 'net.sourceforge.htmlcleaner:htmlcleaner:2.6'
6161
implementation 'com.jayway.jsonpath:json-path:2.4.0'
6262
implementation 'org.jsoup:jsoup:1.11.3'
63-
implementation 'it.andreuzzi:CompareString2:1.0.5'
63+
implementation 'com.github.fAndreuzzi:CompareString2:v1.0.9'
6464
}

app/src/main/java/ohi/andre/consolelauncher/managers/suggestions/SuggestionsManager.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,12 +1022,9 @@ private void suggestApp(List<AppsManager.LaunchInfo> apps, List<Suggestion> sugg
10221022
canInsert--;
10231023

10241024
suggestions.add(new Suggestion(beforeLastSpace , l.publicLabel, canClickToLaunch && clickToLaunch, Suggestion.TYPE_APP, l));
1025-
Tuils.log(new Suggestion(beforeLastSpace , l.publicLabel, canClickToLaunch && clickToLaunch, Suggestion.TYPE_APP, l).getText());
10261025
}
10271026
} else {
10281027
AppsManager.LaunchInfo[] infos = CompareObjects.topMatchesWithDeadline(afterLastSpace, apps.size(), apps, canInsert, suggestionsDeadline, SPLITTERS, algInstance, alg);
1029-
Tuils.log(Arrays.toString(infos));
1030-
10311028
for(AppsManager.LaunchInfo i : infos) {
10321029
if(i == null) break;
10331030

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ buildscript {
44
jcenter()
55
mavenCentral()
66
google()
7+
maven {
8+
url "https://jitpack.io"
9+
}
710
}
811

912
dependencies {

0 commit comments

Comments
 (0)