mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-03 05:57:42 -05:00
Reformat to use Fabric API's checkstyle (#137)
* Reformat to use Fabric API's checkstyle * Fix * Fix * Update * Travis and fixes * possible fix for checkstyle? * Helps if i push the checkstyle.xml file... * Log checkstyle issues to console - used by travis * Fix some more issues * opps
This commit is contained in:
@@ -24,17 +24,15 @@
|
||||
|
||||
package net.fabricmc.loom.util;
|
||||
|
||||
import groovy.util.Node;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
public final class GroovyXmlUtil {
|
||||
private GroovyXmlUtil() {
|
||||
import groovy.util.Node;
|
||||
|
||||
}
|
||||
public final class GroovyXmlUtil {
|
||||
private GroovyXmlUtil() { }
|
||||
|
||||
public static Node getOrCreateNode(Node parent, String name) {
|
||||
for (Object object : parent.children()) {
|
||||
|
||||
Reference in New Issue
Block a user