Corrected the indenting of the warning for getState()