Author: tfmorris
Date: 2008-11-23 22:18:57-0800
New Revision: 16163
Modified:
trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java
Log:
Remove deprecated methods that is tied to removed XmiWriter methods
Modified: trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java?view=diff&rev=16163&p1=trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java&p2=trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java&r1=16162&r2=16163
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java (original)
+++ trunk/src/argouml-app/src/org/argouml/persistence/XmiInputStream.java 2008-11-23 22:18:57-0800
@@ -91,38 +91,12 @@
xmiExtensionParser = extParser;
progressMgr = prgrssMgr;
}
-
- /**
- * Construct a new XmlInputStream.
- *
- * @param inputStream the input stream to wrap.
- * @param extParser the parser to call to read any
- * XMI.extension elements
- * @param len the expected length of the input stream
- * @param spacing the number of characters to read before
- * firing a progress event.
- * @param prgrssMgr the progress manager
- * @deprecated by Linus Tolke for 0.25.3.
- * Use the constructor
- * {@link #XmiInputStream(InputStream, XmiExtensionParser,
- * long, ProgressMgr)} that doesn't specify length
- */
- @Deprecated
- public XmiInputStream(
- InputStream inputStream,
- XmiExtensionParser extParser,
- long len,
- long spacing,
- ProgressMgr prgrssMgr) {
- super(inputStream);
- eventSpacing = spacing;
- xmiExtensionParser = extParser;
- progressMgr = prgrssMgr;
- }
+
/*
* @see java.io.InputStream#read()
*/
+ @Override
public synchronized int read() throws IOException {
if (endFound) {
@@ -214,6 +188,7 @@
/*
* @see java.io.InputStream#read(byte[], int, int)
*/
+ @Override
public synchronized int read(byte[] b, int off, int len)
throws IOException {
@@ -243,6 +218,7 @@
* Use realClose() to finally close the stream for real.
* @throws IOException to satisfy ancestor but will never happen.
*/
+ @Override
public void close() throws IOException {
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.