Skip to content

Commit

Permalink
empty output handling fixed
Browse files Browse the repository at this point in the history
release 1.0.9
  • Loading branch information
koral-- committed Jun 10, 2015
1 parent 4d4a19e commit f3cb73e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project.ext {
VERSION_NAME=1.0.9-SNAPSHOT
VERSION_NAME=1.0.9
GROUP=pl.droidsonroids.gradle.localization

POM_DESCRIPTION=Gradle plugin for generating localized string resources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ class ParserEngine {
//the key indicate all language string
def keys = new HashSet(cells.length)
builder.addResource({
if (cells.length <= 1)
return
def stringAttrs = new LinkedHashMap<>(2)
def pluralsMap = new HashMap<String, HashSet<PluralItem>>()
def arrays = new HashMap<String, List<StringArrayItem>>()
Expand Down

0 comments on commit f3cb73e

Please sign in to comment.