diff options
author | rsiddharth <rsiddharth@ninthfloor.org> | 2012-12-21 09:21:15 +0530 |
---|---|---|
committer | rsiddharth <rsiddharth@ninthfloor.org> | 2012-12-21 09:21:15 +0530 |
commit | 86c7e3798569604e83e9f13adfe232021cdb0967 (patch) | |
tree | 29b185937090e09f800bc01a907891389505f7d2 /Scruf.java | |
parent | 92f629c0109fd23ed5859beb8b5f126318451469 (diff) |
[bug-fix]: Each directory is checked if it contains the style.css, if
not present a new style.css in copied to the respective location.
To reflect this, styling.StyleChecker class is used in
conversion.ConvertDirectory instead of scruf.Scruf.
modified:
Scruf.java
conversion/ConvertDirectory.java
Diffstat (limited to 'Scruf.java')
-rw-r--r-- | Scruf.java | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -36,14 +36,12 @@ public class Scruf { String dirs[] = readList.split("\n"); File directory; ConvertDirectory html = new ConvertDirectory(); - StyleChecker styleSheet = new StyleChecker(); for(String dir:dirs) { // if empty string, do nothing. if(dir.length()==0) { continue; } directory = new File(dir).getAbsoluteFile(); - styleSheet.resolve(directory); DirectoryInfo.level=0; html.convert(directory); } |