Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4034

Replace lambda with method reference

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None

    Description

      replace

      static final Supplier<Socket> DEFAULT_SOCKET_FACTORY = () -> new Socket();
      

      with

      static final Supplier<Socket> DEFAULT_SOCKET_FACTORY = Socket::new;
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lan_ok LiAoNan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m