GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Error Prone
  • Bug Patterns
  • Docs
  • GitHub

This view

  • Original page
  • New address

GeezerVison is showing errorprone.info — FutureTransformAsync

FutureTransformAsync
Use transform instead of transformAsync when all returns are an immediate future.

Severity
WARNING

The problem

The usage of transformAsync, callAsync and submitAsync is not necessary when all the return values of the transformation function are immediate futures. In this case, the usage of transform, call and submit is preferred.

Note that transform cannot be used if the body of the transformation function throws checked exceptions.

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("FutureTransformAsync") to the enclosing element.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.