MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / run

Method run

utils-dev/ReorderErrors.java:91–105  ·  view source on GitHub ↗

Processes everything. @throws IOException On read/write errors. @since 2017/10/26

()

Source from the content-addressed store, hash-verified

89 * @since 2017/10/26
90 */
91 public void run()
92 throws IOException
93 {
94 Path path = this.path;
95
96 // Obtain Java source files
97 Set<Path> files = new TreeSet<>();
98 Files.walk(path).filter((__p) -> !Files.isDirectory(__p)).
99 filter((__p) -> __p.toString().endsWith(".java")).
100 forEach(files::add);
101
102 // Go through all files since they must be parsed to recode versions
103 for (Path file : files)
104 __process(file);
105 }
106
107 /**
108 * Processes the given path.

Callers

nothing calls this directly

Calls 4

isDirectoryMethod · 0.95
__processMethod · 0.95
endsWithMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected