common_code/src/main/java/com/xiongyingqi/utils/code/CodeBuilder.java
public void build() {
        filterInclude();
        filterExclude();

        for (final File file : files) {
            ThreadPool.invoke(new Thread() {
                @Override
                public void run() {
                    new CodeProcessor(file, CodeBuilder.this);
                }
            }); // 在线程池内运行
        }

        ThreadPool.shutDown();// 开启停止线程
    }
public void build() {
        filterInclude();
        filterExclude();

        for (final File file : files) {
            ThreadPool.invoke(new Thread() {
                @Override
                public void run() {
                    new CodeProcessor(file, CodeBuilder.this);
                }
            }); // 在线程池内运行
        }

        ThreadPool.shutDown();// 开启停止线程
    }
public void build ( ) { filterInclude ( ) ; filterExclude ( ) ; for ( final File file : files ) { ThreadPool . invoke ( new Thread ( ) { @ Override public void run ( ) { new CodeProcessor ( file , CodeBuilder . this ) ; } } ) ; // 在线程池内运行 } ThreadPool . shutDown ( ) ; // 开启停止线程 }
开始重写文件
开始重写文件