Skip to content

Commit f60f307

Browse files
committed
Fix compile issues + missing licenses
1 parent 602518f commit f60f307

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

json-data-utils/src/main/java/net/minecraftforge/util/data/OS.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55
package net.minecraftforge.util.data;
66

7-
import net.minecraftforge.util.logging.SimpleLogger;
87
import org.jetbrains.annotations.Nullable;
98

109
import java.io.IOException;

json-data-utils/src/main/java/net/minecraftforge/util/data/json/AssetsIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) Forge Development LLC and contributors
2+
* Copyright (c) Forge Development LLC
33
* SPDX-License-Identifier: LGPL-2.1-only
44
*/
55
package net.minecraftforge.util.data.json;

json-data-utils/src/main/java/net/minecraftforge/util/data/json/Config.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
2-
* Copyright (c) Forge Development LLC and contributors
2+
* Copyright (c) Forge Development LLC
33
* SPDX-License-Identifier: LGPL-2.1-only
44
*/
5-
65
package net.minecraftforge.util.data.json;
76

87
public class Config {

json-data-utils/src/main/java/net/minecraftforge/util/data/json/MCPConfig.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) Forge Development LLC and contributors
2+
* Copyright (c) Forge Development LLC
33
* SPDX-License-Identifier: LGPL-2.1-only
44
*/
55
package net.minecraftforge.util.data.json;
@@ -36,17 +36,17 @@ public Function getFunction(String name) {
3636
}
3737

3838
public List<Map<String, String>> getSteps(String side) {
39-
var ret = this.steps == null ? null : this.steps.get(side);
39+
List<Map<String, String>> ret = this.steps == null ? null : this.steps.get(side);
4040
return ret == null ? Collections.emptyList() : ret;
4141
}
4242

43-
public record Function(
44-
String version,
45-
String repo,
46-
List<String> args,
47-
List<String> jvmargs,
48-
Integer java_version
49-
) {
43+
public static final class Function {
44+
public String version;
45+
public String repo;
46+
public List<String> args;
47+
public List<String> jvmargs;
48+
public Integer java_version;
49+
5050
public int getJavaVersion(V2 parent) {
5151
return java_version == null ? parent.java_target : java_version;
5252
}

json-data-utils/src/main/java/net/minecraftforge/util/data/json/PatcherConfig.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
/*
2-
* Copyright (c) Forge Development LLC and contributors
2+
* Copyright (c) Forge Development LLC
33
* SPDX-License-Identifier: LGPL-2.1-only
44
*/
55
package net.minecraftforge.util.data.json;
66

7-
import net.minecraftforge.mcmaven.impl.util.Artifact;
8-
97
import java.util.Collections;
108
import java.util.List;
119
import java.util.Map;

json-data-utils/src/main/java/net/minecraftforge/util/data/json/PromosSlim.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) Forge Development LLC and contributors
2+
* Copyright (c) Forge Development LLC
33
* SPDX-License-Identifier: LGPL-2.1-only
44
*/
55
package net.minecraftforge.util.data.json;

json-data-utils/src/main/java/net/minecraftforge/util/data/json/RunConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) Forge Development LLC
3+
* SPDX-License-Identifier: LGPL-2.1-only
4+
*/
15
package net.minecraftforge.util.data.json;
26

37
import java.util.List;

0 commit comments

Comments
 (0)