summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2012-10-27 16:34:13 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2012-10-27 16:34:13 +0530
commitf6f99c41dbd86f85ce816ea8d388e44e04aed6cc (patch)
tree467a4ca690cf4cbe2f5c6667c72c55a45ab2391f /io
parentd7245231e63111092aa364a48a757d83720137ff (diff)
modified:
.bzrignore conversion/ConvertDirectory.java (bug-fix) It is checked whether file "index" is modified since the last conversion. This check was not performed before. conversion/ConvertFile.java Some optimization there. Now we check if the file content is "empty" before we delve into conversion. index/IndexCreator.java # "index" file is created in the directory, if it is not created. # write() renamed to shouldConvert(). The method now returns true when a link is added to 'index' or when the index.html file does not exists. io/ReadFile.java # Exception message for made verbose. todo
Diffstat (limited to 'io')
-rw-r--r--io/ReadFile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/ReadFile.java b/io/ReadFile.java
index beccdc3..2607b16 100644
--- a/io/ReadFile.java
+++ b/io/ReadFile.java
@@ -44,7 +44,7 @@ public class ReadFile {
new FileReader(file));
}catch(FileNotFoundException e) {
throw new RuntimeException("Unable to open file :"
- +file.getName());
+ +file.getAbsolutePath());
}
String line;
StringBuilder sbuilder = new StringBuilder();