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

@@ -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
*/