1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Renamed IErrorParser3.streamFinished method to endOfStream and adjusted

Javadoc comments.
This commit is contained in:
Sergey Prigogin 2012-04-19 13:44:58 -07:00
parent d557165f90
commit a8bcd69646
3 changed files with 7 additions and 6 deletions

View file

@ -918,7 +918,7 @@ outer:
for (IErrorParser[] parsers : fErrorParsers.values()) { for (IErrorParser[] parsers : fErrorParsers.values()) {
for (IErrorParser parser : parsers) { for (IErrorParser parser : parsers) {
if (parser instanceof IErrorParser3) { if (parser instanceof IErrorParser3) {
((IErrorParser3) parser).streamFinished(); ((IErrorParser3) parser).endOfStream();
} }
} }
} }

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* IBM - Initial API and implementation * IBM - Initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core; package org.eclipse.cdt.core;
@ -24,8 +24,8 @@ public interface IConsoleParser {
public boolean processLine(String line); public boolean processLine(String line);
/** /**
* Finalization of a console parser when the stream is closed. * Called to let the parser know that the end of the error stream has been reached.
* Can be used by the parser to flush its internal buffers.
*/ */
public void shutdown(); public void shutdown();
} }

View file

@ -15,7 +15,8 @@ package org.eclipse.cdt.core;
*/ */
public interface IErrorParser3 extends IErrorParser2 { public interface IErrorParser3 extends IErrorParser2 {
/** /**
* Notification that the stream of data to parse has ended. * Called to let the parser know that the end of the error stream has been reached.
* Can be used by the parser to flush its internal buffers.
*/ */
void streamFinished(); void endOfStream();
} }