summaryrefslogtreecommitdiffstats
path: root/Scruf.java
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-12-21 09:21:15 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-12-21 09:21:15 +0530
commit86c7e3798569604e83e9f13adfe232021cdb0967 (patch)
tree29b185937090e09f800bc01a907891389505f7d2 /Scruf.java
parent92f629c0109fd23ed5859beb8b5f126318451469 (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.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/Scruf.java b/Scruf.java
index fc8b310..b8fa579 100644
--- a/Scruf.java
+++ b/Scruf.java
@@ -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);
}