mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-10 08:54:11 -08:00
Fixed accidental deletion of return statement.
This commit is contained in:
parent
3def1d2a62
commit
aff343bbe5
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user