[FEATURE] Fixed checkstyle errors in redirect class