Please do not override the method parameters value and change it to a local variable (e.g. String trimmedLicense = ...).See http://sourcemaking.com/refactoring/remove-assignments-to-parameters for reasoning.