Moved & renamed GenerateTuplesAndFunctions.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Generated by TuplesAndFunctionsGenerator
|
||||
// Generated by org.jetbrains.jet.generators.GenerateTuplesAndFunctions
|
||||
|
||||
package jet
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Generated by TuplesAndFunctionsGenerator
|
||||
// Generated by org.jetbrains.jet.generators.GenerateTuplesAndFunctions
|
||||
|
||||
package jet
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Generated by TuplesAndFunctionsGenerator
|
||||
// Generated by org.jetbrains.jet.generators.GenerateTuplesAndFunctions
|
||||
|
||||
package jet
|
||||
|
||||
|
||||
+8
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2012 JetBrains s.r.o.
|
||||
* Copyright 2010-2012 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -14,6 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.jetbrains.jet.generators;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.PrintStream;
|
||||
@@ -21,7 +23,7 @@ import java.io.PrintStream;
|
||||
/**
|
||||
* @author abreslav
|
||||
*/
|
||||
public class TuplesAndFunctionsGenerator {
|
||||
public class GenerateTuplesAndFunctions {
|
||||
private static final int TUPLE_COUNT = 23;
|
||||
|
||||
private static void generateTuples(PrintStream out, int count) {
|
||||
@@ -78,7 +80,7 @@ public class TuplesAndFunctionsGenerator {
|
||||
}
|
||||
|
||||
private static void generated(PrintStream out) {
|
||||
out.println("// Generated by " + TuplesAndFunctionsGenerator.class.getCanonicalName());
|
||||
out.println("// Generated by " + GenerateTuplesAndFunctions.class.getName());
|
||||
out.println();
|
||||
out.println("package jet");
|
||||
out.println();
|
||||
@@ -100,4 +102,7 @@ public class TuplesAndFunctionsGenerator {
|
||||
generateFunctions(extensionFunctions, TUPLE_COUNT, true);
|
||||
extensionFunctions.close();
|
||||
}
|
||||
|
||||
private GenerateTuplesAndFunctions() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user