Commit 27b20ac2 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets not require the stream for output.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 02f22975
......@@ -292,16 +292,15 @@ public class ChangeCreator {
if (needSorting || (removeImports && !isused)) {
if (reportDebug) {
final MessageConsoleStream stream = TITANDebugConsole.getConsole().newMessageStream();
TITANDebugConsole.println("Removing "
+ "'"
+ doc.substring(startLineRegion.getOffset(), endLineRegion.getOffset()
+ endLineRegion.getLength() + delLength) + "'", stream);
+ endLineRegion.getLength() + delLength) + "'");
TITANDebugConsole.println("From "
+ startLineRegion.getOffset()
+ " till "
+ ((endLineRegion.getOffset() - startLineRegion.getOffset())
+ endLineRegion.getLength() + delLength), stream);
+ endLineRegion.getLength() + delLength));
}
removeEdit.addChild(new DeleteEdit(startLineRegion.getOffset(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment