-
Notifications
You must be signed in to change notification settings - Fork 42
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
Use spotless gradle plugin for unified formatting #162
Conversation
core/src/main/java/com/yubico/yubikit/core/internal/codec/DefaultBase64Codec.java
Dismissed
Show dismissed
Hide dismissed
core/src/main/java/com/yubico/yubikit/core/internal/codec/DefaultBase64Codec.java
Dismissed
Show dismissed
Hide dismissed
oath/src/main/java/com/yubico/yubikit/oath/CredentialIdUtils.java
Dismissed
Show dismissed
Hide dismissed
piv/src/main/java/com/yubico/yubikit/piv/jca/PivCipherSpi.java
Dismissed
Show dismissed
Hide dismissed
piv/src/main/java/com/yubico/yubikit/piv/jca/PivProvider.java
Dismissed
Show dismissed
Hide dismissed
piv/src/main/java/com/yubico/yubikit/piv/jca/PivRsaSignatureSpi.java
Dismissed
Show dismissed
Hide dismissed
testing/src/main/java/com/yubico/yubikit/testing/piv/PivTestUtils.java
Dismissed
Show dismissed
Hide dismissed
yubiotp/src/main/java/com/yubico/yubikit/yubiotp/HmacSha1SlotConfiguration.java
Dismissed
Show dismissed
Hide dismissed
core/src/main/java/com/yubico/yubikit/core/smartcard/scp/ScpState.java
Dismissed
Show dismissed
Hide dismissed
core/src/main/java/com/yubico/yubikit/core/smartcard/scp/ScpState.java
Dismissed
Show dismissed
Hide dismissed
core/src/main/java/com/yubico/yubikit/core/smartcard/scp/ScpState.java
Dismissed
Show dismissed
Hide dismissed
fido/src/main/java/com/yubico/yubikit/fido/ctap/PinUvAuthProtocolV1.java
Dismissed
Show dismissed
Hide dismissed
fido/src/main/java/com/yubico/yubikit/fido/ctap/PinUvAuthProtocolV1.java
Dismissed
Show dismissed
Hide dismissed
piv/src/main/java/com/yubico/yubikit/piv/jca/PivRsaSignatureSpi.java
Dismissed
Show dismissed
Hide dismissed
testing/src/main/java/com/yubico/yubikit/testing/openpgp/OpenPgpDeviceTests.java
Dismissed
Show dismissed
Hide dismissed
testing/src/main/java/com/yubico/yubikit/testing/openpgp/OpenPgpDeviceTests.java
Dismissed
Show dismissed
Hide dismissed
testing/src/main/java/com/yubico/yubikit/testing/piv/PivJcaDecryptTests.java
Dismissed
Show dismissed
Hide dismissed
testing/src/main/java/com/yubico/yubikit/testing/piv/PivTestUtils.java
Dismissed
Show dismissed
Hide dismissed
d5ed19e
to
dcee355
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.
Looks good to me!
I also noticed that Spotless can maintain license headers, if that's something we're interested in using. We don't currently use that in java-webauthn-server, but I'd like to at least try it out.
Thanks for the review, I verified the I am aware of the "license header" functionality but I have not considered it for this PR although I tested it. I am open to synchronize this (including the |
Adds spotless setup with Google Java Style and reformats existing java sources.
./gradlew spotlessApply
Todo:
./gradlew spotlessJavaCheck
Note:
Because this PR also reformatted all files, for review please see the following 2 commits:
7ea9ae2
dcee355