Added 'Save Actions' to avoid unformatted code
Added methods to ensure that an integer is equal or greater than 0
(should cover JSR-305 annotation @Nonnegative)