update version, make MultiParser public
This commit is contained in:
parent
a0fe7be2b6
commit
56a84884d4
3 changed files with 8 additions and 6 deletions
|
@ -256,7 +256,7 @@ public class SampleStore extends RealStore<String> {
|
|||
|
||||
### 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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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<Raw, Parsed> implements Parser<Raw, Parsed> {
|
||||
public class MultiParser<Raw, Parsed> implements Parser<Raw, Parsed> {
|
||||
|
||||
private final List<Parser> parsers = new ArrayList<>();
|
||||
|
||||
MultiParser(List<Parser> parsers) {
|
||||
public MultiParser(List<Parser> parsers) {
|
||||
checkNotNull(parsers, "Parsers can't be null.");
|
||||
checkArgument(!parsers.isEmpty(), "Parsers can't be empty.");
|
||||
for (Parser parser : parsers) {
|
||||
|
|
Loading…
Reference in a new issue