ConsoleOutputStreamProvider.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:n4js 作者:
private Color toColor(OutputStreamType type) {
    switch (type) {
    case STD_OUT:
        return getDisplay().getSystemColor(COLOR_LIST_FOREGROUND);
    case STD_ERR:
        return getDisplay().getSystemColor(COLOR_RED);
    default:
        throw new IllegalArgumentException("Unexpected output stream type.");
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号