private static final Function<Dependency, String> FORMAT_GRADLE_DEPENDENCY = new Function<Dependency, String>() {
@NotNull
@Override
public String apply(@NotNull Dependency dependency) {
if (useClosure(dependency)) {
<BUG>return String.format("%s(%s) {\n%s}",

dependency.getConfiguration(), toStringNotation(dependency), getClosureContent(dependency));
</BUG>
}

private static final Function<Dependency, String> FORMAT_GRADLE_DEPENDENCY = new Function<Dependency, String>() {
@NotNull
@Override
public String apply(@NotNull Dependency dependency) {
if (useClosure(dependency)) {
return String.format("%s(%s) {%s%s}",
dependency.getConfiguration(), toStringNotation(dependency), NEW_LINE, getClosureContent(dependency));
}
