Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove OpEnvironment.infoTree() #151

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

gselzer
Copy link
Member

@gselzer gselzer commented Apr 18, 2024

Was no longer necessary with the Ops.infoTree() utility method

The only reason I can think of to keep this is because it is extensible. Notably, Ops.infoTree() only works if the passed argument is a RichOp, which is not a requirement of OpEnvironment.op(), or the OpBuilder calls. Therefore, removing this method could prevent us from obtaining InfoTrees from future OpEnvironment implementations. This could be a YAGNI at the end of the day, looking for others' opinions.

Was no longer necessary with the Ops.infoTree() utility method
@gselzer gselzer added the enhancement New feature or request label Apr 18, 2024
@gselzer gselzer requested review from ctrueden and hinerm April 18, 2024 18:33
@gselzer gselzer self-assigned this Apr 18, 2024
@hinerm hinerm merged commit cfd86a1 into main Apr 18, 2024
2 checks passed
@hinerm hinerm deleted the scijava-ops-api/remove-infotree branch April 18, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants