/** * Adds existing search path to the file list. * Non existing files are ignored. * If path is a folder, it will be scanned for all files. */ protected void addPath(File path) { if (!path.exists()) { return; } if (pathList == null) { pathList = new JoddArrayList<>(); } pathList.add(path); }
rules.smartMode(); todoFiles = new JoddArrayList<>(); todoFolders = new JoddArrayList<>(); pathList = new JoddArrayList<>(); return;
JoddArrayList<Node> nodes = new JoddArrayList<>(); int childCount = rootNode.getChildNodesCount(); for (int i = 0; i < childCount; i++) {