Some commons codes that I use when developing Java codes