[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[stellation-res] StringList
|
I have checked in an updated version of StringList alog with a Juit test for
it.
The following changes and enhancements have been made.
1. Added a new constructor that splits a string into a StringList based on
matching a sub-string. This is intended primarily to allow splitting of
line-separator terminated concatenated strings in a platform independent
manner but also adds general flexibility. The signature is
StringList(String source, String separator)
2. Changed the constructor that splits based on either whitespace or a
single character delimiter to split based on whitespace or on a array of
characters, any of which can be a delimiter. This was a safe change since
there were no uses of the second mode for this constructor.
The new signature is StringList(String source, char[] separators)
3. Introduced performance improvements by removing unnecessary String object
creation.
4. Added a comprehensive Junit test case for this class. This is the first
instance of using a parallel directory structure to store test cases. The
name of the root of the parallel tree is
org.eclipse.stellation.core/unittest.
Regards
Jonathan
Personal Email
jgossage@xxxxxxxx
Business Email
jonathan@xxxxxxxxxxxxxx