Skip to content

Update Transform.java to remove redundant check of datatype#31

Open
Siril20 wants to merge 1 commit intograetz23:masterfrom
Siril20:remove-redundant-check
Open

Update Transform.java to remove redundant check of datatype#31
Siril20 wants to merge 1 commit intograetz23:masterfrom
Siril20:remove-redundant-check

Conversation

@Siril20
Copy link
Copy Markdown

@Siril20 Siril20 commented Apr 14, 2026

This PR removes a redundant instanceof check in the Transform constructor. Since the parameter is already typed as BasicTransform, the check will always evaluate to true (except for null, which is already handled).

This PR removes a redundant instanceof check in the Transform constructor.
Since the parameter is already typed as BasicTransform, the check will always evaluate to true (except for null, which is already handled).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant