Fixed accidental deletion of return statement.

This commit is contained in:
Steve Hannah 2015-04-11 08:53:49 -07:00
parent 3def1d2a62
commit aff343bbe5

View File

@ -94,7 +94,7 @@ public class DateNativeGenerator implements Generator, DependencyPlugin {
} }
private void generateBuildNumericUTC(GeneratorContext context, SourceWriter writer) throws IOException { private void generateBuildNumericUTC(GeneratorContext context, SourceWriter writer) throws IOException {
writer.append("Date.UTC(").append(context.getParameterName(1)); writer.append("return Date.UTC(").append(context.getParameterName(1));
for (int i = 2; i <= 6; ++i) { for (int i = 2; i <= 6; ++i) {
writer.append(',').ws().append(context.getParameterName(i)); writer.append(',').ws().append(context.getParameterName(i));
} }