mirror of
https://github.com/MinimalBible/MinimalBible.github.io
synced 2024-12-21 14:18:20 -05:00
{{
was tripping up Github
This commit is contained in:
parent
f0b4841efd
commit
9138dc2e18
@ -61,10 +61,10 @@ Both modules provide a singleton list that is used as configuration. It will not
|
|||||||
class MainConfig {
|
class MainConfig {
|
||||||
@Provides @Singleton
|
@Provides @Singleton
|
||||||
List<BookCategory> provideValidCategories() {
|
List<BookCategory> provideValidCategories() {
|
||||||
return new ArrayList<BookCategory>() {{
|
List<BookCategory> categoryList = new ArrayList<BookCategory>();
|
||||||
put(Category1);
|
categoryList.put(Category1);
|
||||||
put(Category2);
|
categoryList.put(Category2);
|
||||||
}};
|
return categoryList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -75,9 +75,9 @@ class MainConfig {
|
|||||||
class TestConfig {
|
class TestConfig {
|
||||||
@Provides @Singleton
|
@Provides @Singleton
|
||||||
List<BookCategory> provideValidCategories() {
|
List<BookCategory> provideValidCategories() {
|
||||||
return new ArrayList<BookCategory>() {{
|
List<BookCategory> categoryList = new ArrayList<BookCategory>();
|
||||||
put(mockCategory1);
|
categoryList.put(mockCategory1);
|
||||||
}};
|
return categoryList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
Loading…
Reference in New Issue
Block a user