在 Void 方法上缺少返回值?
下面的代码给了我编译时错误:缺少返回值和缺少返回语句,我将为此Void类型返回什么值?
final SwingWorker<Void, Void> worker = new SwingWorker<Void, Void>() {
    @Override
    protected Void doInBackground() throws Exception {
        // some code
        if (something) {
            return;
        }
    }
}