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:
@ -1,11 +1,11 @@
|
||||
#Thu, 08 Dec 2011 14:35:45 -0600
|
||||
#Thu, 08 Dec 2011 15:46:01 -0600
|
||||
#Sat Apr 24 17:08:00 CDT 2010
|
||||
build.dir=build
|
||||
src.dir=src
|
||||
lib.shared.dir=../shared-libs
|
||||
test.dir=test
|
||||
build.number=0
|
||||
version=3.2.1
|
||||
build.number=2
|
||||
version=3.2.2
|
||||
name=libpit
|
||||
lib.dir=lib
|
||||
lib.local=true
|
||||
|
@ -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(" ")
|
||||
|
Reference in New Issue
Block a user