RFR: 8264162: PickResult.toString() is missing the closing square bracket

Kevin Rushforth kcr at openjdk.java.net
Thu Mar 25 13:49:26 UTC 2021


On Thu, 25 Mar 2021 13:18:24 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

>> Simple fix to add a missing closing bracket to `PickResult::toString`. This includes a unit test that fails without the fix and passes with the fix.
>
> modules/javafx.graphics/src/main/java/javafx/scene/input/PickResult.java line 204:
> 
>> 202:         }
>> 203:         if (getIntersectedTexCoord() != null) {
>> 204:                 sb.append(", texCoord = ").append(getIntersectedTexCoord());
> 
> Can you fix the double indentation in the `if` bodies?

Sure, as long as I am there, I'll do that.

-------------

PR: https://git.openjdk.java.net/jfx/pull/443


More information about the openjfx-dev mailing list