mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -151,6 +151,14 @@ class BuildMessageDispatcher extends SimpleChannelHandler {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) throws Exception {
|
||||
final Throwable cause = e.getCause();
|
||||
if (cause != null) {
|
||||
LOG.info(cause);
|
||||
}
|
||||
ctx.sendUpstream(e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
|
||||
|
||||
+13
@@ -503,4 +503,17 @@ public class JavaFormatterIndentationTest extends AbstractJavaFormatterTest {
|
||||
"// This is a line comment"
|
||||
);
|
||||
}
|
||||
|
||||
public void testMultilineComment() {
|
||||
// IDEA-90860
|
||||
String text =
|
||||
"\n" +
|
||||
"/*\n" +
|
||||
" * comment\n" +
|
||||
" */\n" +
|
||||
"\n" +
|
||||
"class Test {\n" +
|
||||
"}";
|
||||
doTextTest(text, text);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user