Rewrite & revalidate componentparts splitter.
commit1be399590272478d90cfdfa06b8ef28c0e7c791b
authorAndrew McMillan <andrew@morphoss.com>
Tue, 29 Nov 2011 07:56:03 +0000 (29 20:56 +1300)
committerAndrew McMillan <andrew@morphoss.com>
Tue, 29 Nov 2011 07:56:03 +0000 (29 20:56 +1300)
treecaea6781c9b6758c3177e8b9b76a185096fa390d
parentcb4249a55a7e812def430681bd291ee0a2fec975
Rewrite & revalidate componentparts splitter.

There were some problems handling components with CRLF line endings vs.
components with LF line endings.  This fixes them so that aCal is now
completely line-ending agnostic. It should also be marginally be faster.

This is complex low-level stuff, so I'll leave the debugging in but
commented out.  There is a unit test for this which the code does now
pass.

Further efficiency could probably be gained by getting rid of the
regular expression matching.
src/com/morphoss/acal/davacal/VComponent.java