diff options
author | rsiddharth <rsiddharth@ninthfloor.org> | 2013-11-06 17:43:13 +0530 |
---|---|---|
committer | rsiddharth <rsiddharth@ninthfloor.org> | 2013-11-06 17:43:13 +0530 |
commit | 3eb4332a0b4d87f2deccc0bbe3d37101d06a2ebd (patch) | |
tree | 48002283a87f4fbe7f91e28ef773fd31f9285c39 | |
parent | 78ade7c700f7c1e0523890748fcb2290da208499 (diff) |
removed extraneous whitspace.
-rw-r--r-- | license/gpl | 2 | ||||
-rw-r--r-- | parsers/UList.java | 8 |
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. |