aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-12-21 09:25:21 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-12-21 09:25:21 +0530
commit3d807dc03b68d3991fdf3d7e147b5309bd6f3703 (patch)
tree105cff44facc39a2683281649175bbe75b6db27b
parent86c7e3798569604e83e9f13adfe232021cdb0967 (diff)
downloadscruf-3d807dc03b68d3991fdf3d7e147b5309bd6f3703.tar.gz
scruf-3d807dc03b68d3991fdf3d7e147b5309bd6f3703.tar.bz2
scruf-3d807dc03b68d3991fdf3d7e147b5309bd6f3703.tar.xz
scruf-3d807dc03b68d3991fdf3d7e147b5309bd6f3703.zip
[method named changed]: The method named 'resolve()' in styling/StyleChecker.java is changed to 'check()'.
modified: conversion/ConvertDirectory.java styling/StyleChecker.java
-rw-r--r--conversion/ConvertDirectory.java2
-rw-r--r--styling/StyleChecker.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/conversion/ConvertDirectory.java b/conversion/ConvertDirectory.java
index 32446da..87a0145 100644
--- a/conversion/ConvertDirectory.java
+++ b/conversion/ConvertDirectory.java
@@ -76,7 +76,7 @@ public class ConvertDirectory {
// if styleFlag is set, check for style sheet in
// in the directory.
if(styleFlag) {
- styleSheet.resolve(directory);
+ styleSheet.check(directory);
}
boolean convertIndex = (index.shouldConvert() ||
canConvert.check(index.indexFile()));
diff --git a/styling/StyleChecker.java b/styling/StyleChecker.java
index 68d7b46..3a2cc4e 100644
--- a/styling/StyleChecker.java
+++ b/styling/StyleChecker.java
@@ -28,7 +28,7 @@ public class StyleChecker {
private File curDir;
private String styleContent;
- public void resolve(File curDir) {
+ public void check(File curDir) {
this.curDir = curDir.getAbsoluteFile();
styleSheet = new File(curDir,"style.css");
// if style shee doesn't exists, copy default sheet