MCPcopy Index your code
hub / github.com/Belluxx/Java2Smali / checkPath

Method checkPath

src/com/belluxx/java2smali/Main.java:112–118  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

110 }
111
112 private void checkPath(String path) {
113 if (new File(path).isDirectory() && path.contains(" ")) {
114 print("[E] The path provided contains spaces.");
115 print("[I] Only the conversion of single files is available for paths that contain spaces.");
116 System.exit(1);
117 }
118 }
119}

Callers 1

convertAndCleanMethod · 0.95

Calls 1

printMethod · 0.95

Tested by

no test coverage detected