From 37cd71328c943e7ccc88baa8ea17ff650d3c922a Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Sun, 9 Jan 2022 14:38:36 +0100 Subject: [PATCH] Moved ``FuzzyScore`` to original Apache package --- .../commons/text}/similarity/FuzzyScore.java | 2 +- .../preferencesearch/PreferenceFuzzySearchFunction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/src/main/java/org/{schabi/newpipe/settings/preferencesearch => apache/commons/text}/similarity/FuzzyScore.java (98%) diff --git a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/similarity/FuzzyScore.java b/app/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java similarity index 98% rename from app/src/main/java/org/schabi/newpipe/settings/preferencesearch/similarity/FuzzyScore.java rename to app/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java index 4ab6bf60a..bbab7fd78 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/similarity/FuzzyScore.java +++ b/app/src/main/java/org/apache/commons/text/similarity/FuzzyScore.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.schabi.newpipe.settings.preferencesearch.similarity; +package org.apache.commons.text.similarity; import java.util.Locale; diff --git a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceFuzzySearchFunction.java b/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceFuzzySearchFunction.java index 88ef790c8..7c231cafb 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceFuzzySearchFunction.java +++ b/app/src/main/java/org/schabi/newpipe/settings/preferencesearch/PreferenceFuzzySearchFunction.java @@ -2,7 +2,7 @@ package org.schabi.newpipe.settings.preferencesearch; import android.text.TextUtils; -import org.schabi.newpipe.settings.preferencesearch.similarity.FuzzyScore; +import org.apache.commons.text.similarity.FuzzyScore; import java.util.Comparator; import java.util.Locale;