From 9138dc2e1864fd8738f408c8bd75dcbc7432c57a Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sat, 2 Aug 2014 22:16:48 -0400 Subject: [PATCH] `{{` was tripping up Github --- _posts/2014-08-01-replatform-retrospective.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_posts/2014-08-01-replatform-retrospective.md b/_posts/2014-08-01-replatform-retrospective.md index 36b3f26..24d69bf 100644 --- a/_posts/2014-08-01-replatform-retrospective.md +++ b/_posts/2014-08-01-replatform-retrospective.md @@ -61,10 +61,10 @@ Both modules provide a singleton list that is used as configuration. It will not class MainConfig { @Provides @Singleton List provideValidCategories() { - return new ArrayList() {{ - put(Category1); - put(Category2); - }}; + List categoryList = new ArrayList(); + categoryList.put(Category1); + categoryList.put(Category2); + return categoryList; } } {% endhighlight %} @@ -75,9 +75,9 @@ class MainConfig { class TestConfig { @Provides @Singleton List provideValidCategories() { - return new ArrayList() {{ - put(mockCategory1); - }}; + List categoryList = new ArrayList(); + categoryList.put(mockCategory1); + return categoryList; } } {% endhighlight %}