Eclipse gives me a warning on the declaration of "out". Is this a false positive?

```
Random r = new Random();
try(PrintWriter out1 = new PrintWriter("one.txt");
    PrintWriter out2 = new PrintWriter("two.txt"))
{
  PrintWriter out = r.nextBoolean()?out1:out2;
  out.println("x");
}

```

P.S.: The warning is "*Resource leak: 'out' is never closed*".