From 86c7e3798569604e83e9f13adfe232021cdb0967 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Fri, 21 Dec 2012 09:21:15 +0530 Subject: [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 --- Scruf.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'Scruf.java') 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); } -- cgit v1.2.3