OPEN - BATCH-659: unused classes deprecation/removal

added deprecations
This commit is contained in:
robokaso
2008-06-10 09:06:05 +00:00
parent 83e3e48762
commit 4f3294d127
6 changed files with 13 additions and 3 deletions

View File

@@ -12,6 +12,8 @@ import org.springframework.util.Assert;
/**
* Class used to wrap XMLEventReader. Events from wrapped reader are stored in
* {@link EventSequence} to support transactions.
*
* @deprecated no longer used, to be removed in 2.0
*
* @author Tomas Slanina
* @author Robert Kasanicky

View File

@@ -7,6 +7,8 @@ import javax.xml.stream.events.XMLEvent;
/**
* Holds a list of XML events, typically corresponding to a single record.
*
* @deprecated no longer used, to be removed in 2.0
*
* @author tomas.slanina
*/

View File

@@ -5,6 +5,8 @@ import javax.xml.stream.XMLEventReader;
/**
* XMLEventReader with transactional capabilities (ability to rollback to last commit point).
*
* @deprecated no longer used, to be removed in 2.0
*
* @author Robert Kasanicky
*/
public interface TransactionalEventReader extends XMLEventReader{

View File

@@ -34,8 +34,8 @@ public class DefaultFragmentEventReaderTests extends TestCase {
*/
protected void setUp() throws Exception {
Resource input = new ByteArrayResource(xml.getBytes());
eventReader = new DefaultTransactionalEventReader(XMLInputFactory.newInstance().createXMLEventReader(
input.getInputStream()));
eventReader = XMLInputFactory.newInstance().createXMLEventReader(
input.getInputStream());
fragmentReader = new DefaultFragmentEventReader(eventReader);
}

View File

@@ -12,6 +12,8 @@ import org.springframework.core.io.Resource;
/**
* Tests for {@link DefaultTransactionalEventReader}.
*
* @deprecated no longer used, to be removed in 2.0
*
* @author Robert Kasanicky
*/
public class DefaultTransactionalEventReaderTests extends TestCase {

View File

@@ -6,7 +6,9 @@ import javax.xml.stream.events.XMLEvent;
import junit.framework.TestCase;
/**
* Tests for {@link EventSequence}
* Tests for {@link EventSequence}.
*
* @deprecated no longer used, to be removed in 2.0
*
* @author Robert Kasanicky
*/