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

Change import of AtomiInteger in SpotTrackIDFeatureComputer #281

Merged
merged 3 commits into from
Feb 21, 2024

Conversation

stefanhahmann
Copy link
Collaborator

@stefanhahmann stefanhahmann commented Feb 21, 2024

  • The import of io.humble.ferry.AtomicInteger creates an unnecessary dependency on humble video library
  • The java.util.concurrent.atomic.AtomicInteger, which is part of java, is sufficient in this this class

Resolves #280

stefanhahmann and others added 3 commits February 1, 2024 11:11
While searching for a method that can directly compute the distance between 2 spots in the Mastodon code base, I found the distance method in this class. Later, I learned that there is the same method in imglib2.

In order to simplify the code I suggest to replace this re-implementation by using the imglib2 version of this method.
…icInteger to java.util.concurrent.atomic.AtomicInteger;

* The import of io.humble.ferry.AtomicInteger creates an unnecessary dependency on humble video library
* The java.util.concurrent.atomic.AtomicInteger which is part of java is sufficient in this this class
@tinevez
Copy link
Contributor

tinevez commented Feb 21, 2024

Shall we merge it to master and re-release immediately?

@stefanhahmann
Copy link
Collaborator Author

Shall we merge it to master and re-release immediately?

I would prefer merging to dev and then merge dev to master and then re-release. But you can also only merge this to master

@tinevez tinevez changed the base branch from dev to master February 21, 2024 14:53
@tinevez tinevez merged commit 085b50a into mastodon-sc:master Feb 21, 2024
1 check passed
@stefanhahmann stefanhahmann deleted the fix_humble_import branch February 26, 2024 12:51
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.

Compute features option not working in Mastodon
2 participants