Revision: 9451
          http://gate.svn.sourceforge.net/gate/?rev=9451&view=rev
Author:   ian_roberts
Date:     2008-02-21 04:50:07 -0800 (Thu, 21 Feb 2008)

Log Message:
-----------
A couple of bug fixes in document reset PR:

- Previously, it was not possible to keep the default annotation set - even if
  you added null to the list of setsToKeep the default set would still be
  cleared.  Now it is kept if setsToKeep contains either null or the empty
  string "".

- Previously, if keepOriginalMarkupsAS was true, the PR would attempt to add
  "Original markups" to the setsToKeep list passed in as a parameter, causing
  an exception if the passed-in list was not growable (e.g. if it had been
  created via Arrays.asList()).  It now copies setsToKeep into a new temporary
  ArrayList local to execute() instead (which has the nice side effect that you
  don't get extra "Original markups" entries mysteriously added to your
  setsToKeep parameter).

Modified Paths:
--------------
    gate/trunk/src/gate/creole/annotdelete/AnnotationDeletePR.java


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to