I notice in KryptonClient Data inner class, the same code is reused again and again in multiple methods (login, delete, recoverPassword...etc).
Better practice is to use the same method with different parameter. For these kind of purpose, probably we can benefit from the functional features provided by later versions of Java.
I notice in KryptonClient Data inner class, the same code is reused again and again in multiple methods (login, delete, recoverPassword...etc). Better practice is to use the same method with different parameter. For these kind of purpose, probably we can benefit from the functional features provided by later versions of Java.