diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/image/MultiPostprocessor.java b/ReactAndroid/src/main/java/com/facebook/react/views/image/MultiPostprocessor.java index fd441f10642824..d6cf6a3ca8d6c4 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/image/MultiPostprocessor.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/image/MultiPostprocessor.java @@ -40,15 +40,14 @@ private MultiPostprocessor(List postprocessors) { @Override public String getName () { - StringBuilder name = new StringBuilder("MultiPostProcessor ("); - boolean first = true; + StringBuilder name = new StringBuilder(); for (Postprocessor p: mPostprocessors) { - if (!first) { + if (name.length() > 0) { name.append(","); } name.append(p.getName()); - first = false; } + name.insert(0, "MultiPostProcessor ("); name.append(")"); return name.toString(); }