-
Notifications
You must be signed in to change notification settings - Fork 22
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
Javadocs for merlin.protocol #378
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved due to detection of the following labels: documentation
b316b49
to
cebc582
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically approved due to detection of the following labels: documentation
I was going to put this comment on #318 , but it may be more appropriate here since you're in the process of explaining all the things 😉 (Let me know if you think otherwise and I can re-post on the other PR) My first question was regarding Task vs TaskFactory - previously, ActivityActions would call Just thinking out loud, the one observable difference I can think of is that previously calling Also - I remember we went back and forth on how to consolidate the two |
Here is fine!
Well, the difference between The difference between a daemon task and regular task delegation is simply when Also, using
I think we had debated adding a special Does that answer your questions? 🤔 |
Also, one of the original motivations for It turns out that I'm really considering making the |
Huh! Looks like I never made |
Well, that escalated quickly. #382 is the culmination of moving more things to using |
Could we get one more approval on these Javadocs? 👀 |
merlin-sdk/src/main/java/gov/nasa/jpl/aerie/merlin/protocol/driver/Initializer.java
Outdated
Show resolved
Hide resolved
cebc582
to
44ff0e7
Compare
Description
This PR contains a bunch of actual Javadocs for the
merlin.protocol
package. It's still in progress, but this is the kind of thing that can be done incrementally!Also, a fair amount of "documentation" came in #318, which reorganized and renamed many of the entities in
merlin.protocol
to give a better baseline of self-documenting code. That isn't to say that prose documentation isn't needed (heavens, no!) -- only that readers of the prose documentation herein will greatly benefit from the much tighter naming and organization prepared in #318.As usual, this PR also comes with a (small) prefix of refactors that came up during the main work. (Really, #318 was the prefix for this work, but it was separated out because of how much there was to it -- and the bug it ultimately fixed.) Here, I've cleaned up some Gradle dependencies in
merlin-sdk
and removed a type parameter that no longer matters.Verification
It all compiles and runs; the changes made in this PR are either documentation-only or do not impinge on business logic. (For instance, the type parameter removal is the kind of thing where, if it's wrong, the system should simply not compile. Type checking is a form of testing!)
Documentation
Lots of javadocs were added, but nothing existing needs to change.
Future work
Document all the things!