Menu

Commit [r4345]  Maximize  Restore  History

Changed the way VectorOptions are represented. Before, a VectorOption

did not allow the empty vector, it did not allow empty strings as elements,
and the strings could not contain the delimiter.
Delimiter (default: ",") gets escaped as "\,".
Backslash "\" gets escaped as "\\".
The empty string "" now represents the empty vector (previously "[]").
The string "[]" now represents a vector with one element, the empty string.
"[,]" is a vector with two empty strings.
"[\\,\,]" is a vector with two strings, "\" and ",".

M src/edu/rice/cs/drjava/config/VectorOption.java
M src/edu/rice/cs/drjava/config/VectorOptionTest.java

mgricken 2008-02-18

changed /trunk/drjava/src/edu/rice/cs/drjava/config/VectorOption.java
changed /trunk/drjava/src/edu/rice/cs/drjava/config/VectorOptionTest.java
/trunk/drjava/src/edu/rice/cs/drjava/config/VectorOption.java Diff Switch to side-by-side view
Loading...
/trunk/drjava/src/edu/rice/cs/drjava/config/VectorOptionTest.java Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB