Uploaded image for project: 'WildFly Common'
  1. WildFly Common
  2. WFCOM-71

Port Consumers.close() and Functions.identity() from org.wildfly:wildfly-clustering-common

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.6.1.Final
    • 1.6.0.Final
    • None
    • False
    • None
    • False

      Introduce 2 new methods to org.wildfly.common.function.Functions:

      1. <T extends AutoCloseable> Consumer<T> closingConsumer();
        Returns a consumer that quietly closes its argument, logging any exceptions.
      2. <T extends R, R> Function<T, R> identityFunction()
        A subclass permissive variant of java.util.Function.identity()

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Archiver:
              ranumula@redhat.com Raju Anumula

                Created:
                Updated:
                Resolved:
                Archived: