]> git.mxchange.org Git - jcustomer-core.git/commitdiff
Some empty lines added/removed
authorRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 20:49:19 +0000 (21:49 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 20 Feb 2016 20:49:19 +0000 (21:49 +0100)
src/org/mxchange/jshopcore/model/basket/AddableBasketItem.java
src/org/mxchange/jshopcore/model/customer/CustomerUtils.java

index d81bc8d0fa64045db60260372300a7fe289e08da..366783ee3dff8e489d5749e08e5d5600a254a37b 100644 (file)
@@ -32,7 +32,7 @@ public interface AddableBasketItem extends Serializable {
         * @param object Other object to check
         */
        @Override
-        boolean equals (final Object object);
+       boolean equals (final Object object);
 
        /**
         * Getter for item amount
@@ -94,7 +94,7 @@ public interface AddableBasketItem extends Serializable {
         * Hash-code calculation
         */
        @Override
-        int hashCode ();
+       int hashCode ();
 
        /**
         * Determines whether the item has a Product instance set
index c3f2e1dc75df04cd037894ce035071fbf46c269a..d763937e536bd2962a3191bb19c470756102007d 100644 (file)
@@ -52,13 +52,13 @@ public class CustomerUtils extends BaseFrameworkSystem {
                        // Not open
                        throw new IllegalStateException("Entity manager is closed.");
                }
-               
+
                // Generate fake order instance
                Orderable orderable = null;
-               
+
                // Generate access keyy
                String accessKey = null;
-               
+
                // Default is found
                boolean isFound = true;
 
@@ -66,10 +66,10 @@ public class CustomerUtils extends BaseFrameworkSystem {
                while (isFound) {
                        // Both number parts
                        String randString = String.format("%s:%s:%s", Long.toHexString(Math.round(Math.random() * 1_000_000)), em, customer.getCustomerNumber());
-                       
+
                        // Generate access key, use SHA512 hashing and BASE64-encoding for strong key generation
                        accessKey = Base64.encodeBase64String(Sha2Crypt.sha512Crypt(randString.getBytes()).getBytes()).substring(0, 100);
-                       
+
                        // Try this
                        try {
                                // Get reference