fixed magic number checkstyle except nio
fixed variable
Merge pull request #2823 from hasancelik/checkstyleMagicNumber

fixed magic number checkstyle except nio