From 56a84884d454cb04f8bad319d5b7c38496328a50 Mon Sep 17 00:00:00 2001 From: digitalbuddha Date: Thu, 19 Jan 2017 11:40:22 -0500 Subject: [PATCH] update version, make MultiParser public --- README.md | 2 +- app/build.gradle | 8 +++++--- .../android/external/store/base/impl/MultiParser.java | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 495d7e7..3a7c274 100644 --- a/README.md +++ b/README.md @@ -256,7 +256,7 @@ public class SampleStore extends RealStore { ### Artifacts Note: Release is in Sync with current state of master (not develop) branch -CurrentVersion = 1.0.3 +CurrentVersion = 1.0.4 Since this is android, we have split Store into 4 artifacts: + **Cache** Cache extracted from Guava (~200 methods) diff --git a/app/build.gradle b/app/build.gradle index e167834..7509600 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -53,10 +53,12 @@ dependencies { testCompile 'junit:junit:4.12' // compile project(path: ':store') +// compile project(path: ':middleware') // compile project(path: ':cache') - compile 'com.nytimes.android:store:1.0.3' - compile 'com.nytimes.android:middleware:1.0.3' - compile 'com.nytimes.android:filesystem:1.0.3' +// compile project(path: ':filesystem') + compile 'com.nytimes.android:store:1.0.4' + compile'com.nytimes.android:middleware:1.0.4' + compile 'com.nytimes.android:filesystem:1.0.4' retrolambdaConfig libraries.retrolambda compile libraries.rxAndroid diff --git a/store/src/main/java/com/nytimes/android/external/store/base/impl/MultiParser.java b/store/src/main/java/com/nytimes/android/external/store/base/impl/MultiParser.java index a6d46c2..5b26ede 100644 --- a/store/src/main/java/com/nytimes/android/external/store/base/impl/MultiParser.java +++ b/store/src/main/java/com/nytimes/android/external/store/base/impl/MultiParser.java @@ -9,11 +9,11 @@ import java.util.List; import static com.nytimes.android.external.cache.Preconditions.checkArgument; import static com.nytimes.android.external.cache.Preconditions.checkNotNull; -class MultiParser implements Parser { +public class MultiParser implements Parser { private final List parsers = new ArrayList<>(); - MultiParser(List parsers) { + public MultiParser(List parsers) { checkNotNull(parsers, "Parsers can't be null."); checkArgument(!parsers.isEmpty(), "Parsers can't be empty."); for (Parser parser : parsers) {