[java-support] 01/02: Checkstyle

Tom Zeller tzeller at dragonacea.biz
Tue Sep 6 11:25:02 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=e029a16eed75f9854ec83986f5c378ecc1dded93

commit e029a16eed75f9854ec83986f5c378ecc1dded93
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Sep 6 10:23:31 2016 -0500

    Checkstyle
---
 .../utilities/java/support/security/DataSealer.java          | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
index 2b6314d..2c3dd4c 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/security/DataSealer.java
@@ -106,19 +106,19 @@ public class DataSealer extends AbstractInitializableComponent {
      * Sets the encoder to use to produce a ciphertext string from bytes. Default is standard base-64 encoding without
      * line breaks.
      *
-     * @param encoder Byte-to-string encoder.
+     * @param e Byte-to-string encoder.
      */
-    public void setEncoder(@Nonnull final BinaryEncoder encoder) {
-        this.encoder = Constraint.isNotNull(encoder, "Encoder cannot be null");
+    public void setEncoder(@Nonnull final BinaryEncoder e) {
+        encoder = Constraint.isNotNull(e, "Encoder cannot be null");
     }
 
     /**
      * Sets the decoder to use to convert a ciphertext string to bytes. Default is standard base-64 decoding.
      *
-     * @param decoder String-to-byte decoder.
+     * @param d String-to-byte decoder.
      */
-    public void setDecoder(@Nonnull final BinaryDecoder decoder) {
-        this.decoder = Constraint.isNotNull(decoder, "Decoder cannot be null");
+    public void setDecoder(@Nonnull final BinaryDecoder d) {
+        decoder = Constraint.isNotNull(d, "Decoder cannot be null");
     }
 
     /** {@inheritDoc} */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list