Fixed FileIssue formatting and extended properties.

* The extended properties table was using the maxKeyLength for both keys and
  values.
* FileIssue was not persisting the file when extended properties were updated.
This commit is contained in:
Jonathan Bernard
2011-12-08 15:48:00 -06:00
parent 31b9802477
commit 952064d903
4 changed files with 12 additions and 8 deletions

View File

@ -110,6 +110,10 @@ public class FileIssue extends Issue {
super.setText(text)
writeFile() }
public def propertyMissing(String name, def value) {
super.propertyMissing(name, value)
writeFile() }
boolean deleteFile() { return source.deleteDir() }
public static boolean isValidFilename(String name) {
@ -153,7 +157,7 @@ public class FileIssue extends Issue {
extOutput[ks] = vs
if (ks.length() > maxKeyLen) { maxKeyLen = ks.length() }
if (vs.length() > maxKeyLen) { maxValLen = vs.length() } }
if (vs.length() > maxValLen) { maxValLen = vs.length() } }
result.append("=".multiply(maxKeyLen + 1))
result.append(" ")