On 12/22/2013 08:40 PM, Brian Goetz wrote:
I can take on java.lang.

When your IDE tells you about "unnecessary boxing" in Integer.valueOf(), or "inner class can be converted to lambda" in LambdaMetafacory, don't believe it :)



I've found that bug recently, test with your favorite IDE:
  Runnable runnable = new Runnable() {
    public strictfp void run() {  // works with synchronized too
       ...
    }
  };

It will trigger a refactoring to:
  Runnable runnable = () -> { ... };  // where is my strictfp ?

Lambda Refactoring is a bit too young to be trusted :)

Rémi


Reply via email to