MOB-2395 code moved to seperate methods, typo fixed, redudant field removed, added break in for loop, variable name changed, magic numbers removed, null check added