Kuangcp/JavaBase

View on GitHub
concurrency/src/main/java/com/github/kuangcp/list/ShowCopyOnWrite.java

Summary

Maintainability
A
1 hr
Test Coverage

Method main has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public static void main(String[] a) {
    final CountDownLatch firstLatch = new CountDownLatch(1);
    final CountDownLatch secondLatch = new CountDownLatch(1);
    // 使用不可变对象
    final BuildFactory.Builder builder = new BuildFactory.Builder();

    There are no issues that match your filters.

    Category
    Status