aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsiddharth <rsiddharth@ninthfloor.org>2013-11-06 17:43:13 +0530
committerrsiddharth <rsiddharth@ninthfloor.org>2013-11-06 17:43:13 +0530
commit3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd (patch)
tree48002283a87f4fbe7f91e28ef773fd31f9285c39
parent78ade7c700f7c1e0523890748fcb2290da208499 (diff)
downloadscruf-3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd.tar.gz
scruf-3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd.tar.bz2
scruf-3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd.tar.xz
scruf-3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd.zip
removed extraneous whitspace.
-rw-r--r--license/gpl2
-rw-r--r--parsers/UList.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/license/gpl b/license/gpl
index 48a3e5a..0204948 100644
--- a/license/gpl
+++ b/license/gpl
@@ -1,6 +1,6 @@
/*+
* Copyright 2012, 2013 rsiddharth <rsiddharth@ninthfloor.org>
- *
+ *
* This file is part of Scruf.
*
* Scruf is free software: you can redistribute it and/or modify
diff --git a/parsers/UList.java b/parsers/UList.java
index 95e9393..6d55954 100644
--- a/parsers/UList.java
+++ b/parsers/UList.java
@@ -1,6 +1,6 @@
/*+
* Copyright 2012, 2013 rsiddharth <rsiddharth@ninthfloor.org>
- *
+ *
* This file is part of Scruf.
*
* Scruf is free software: you can redistribute it and/or modify
@@ -35,7 +35,7 @@ public class UList implements Parser {
public String parse(String fileContent) {
StringBuffer sbuffer = new StringBuffer();
matcher = pattern.matcher(fileContent);
-
+
int lastEnd=0;
while(matcher.find()) {
int diff = matcher.start() - lastEnd;
@@ -48,7 +48,7 @@ public class UList implements Parser {
// means, we are at a new list now.
// so, got close the ol' one.
sbuffer.append("\n</ul>\n");
-
+
// open the new list.
matcher.appendReplacement(sbuffer, "<ul>\n " + list);
}
@@ -56,7 +56,7 @@ public class UList implements Parser {
matcher.appendReplacement(sbuffer, list);
}
lastEnd = matcher.end();
-
+
}
// close the last found list
if(lastEnd !=0) // meaning a list was found.