-
Notifications
You must be signed in to change notification settings - Fork 12
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
Explicitly add imports for java classes #29
base: master
Are you sure you want to change the base?
Conversation
dce6259
to
30b43e1
Compare
Codecov Report
@@ Coverage Diff @@
## master #29 +/- ##
==========================================
- Coverage 67.82% 67.77% -0.06%
==========================================
Files 9 9
Lines 575 574 -1
Branches 70 70
==========================================
- Hits 390 389 -1
Misses 115 115
Partials 70 70
Continue to review full report at Codecov.
|
d83c575
to
8eb0610
Compare
- Type hints were in the wrong place - Protocol type hints seem to have to be fully qualified (at least when used with potemkin - Remove typehints where not needed
8eb0610
to
2834568
Compare
(->X509Certificate ^java.security.cert.X509Certificate [this] | ||
(^java.security.cert.X509Certificate ->X509Certificate [this] |
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.
I'm pretty sure the :tag
is supposed to go on the argslist and not the method name
^java.security.PrivateKey [this] | ||
^java.security.PrivateKey [this ^String algorithm] | ||
[this] | ||
[this ^String algorithm] |
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.
what's the reason for removing these tags?
I'm of two minds about a change like this. I do like making the code a little less cluttery by importing all of the class names. It makes working on the library code a little nicer. On the other hand, I think having the full class names present everywhere makes the library easier to use for consumers of the library. If you're using the library and you jump to a function definition it saves you a step to know it takes a |
No description provided.