Added defaults in switches.

This commit is contained in:
Simone Bordet 2012-04-02 10:07:51 +02:00
parent fff059f7a9
commit 00b31b6577
1 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,10 @@ public class GoAwayBodyParser extends ControlFrameBodyParser
state = State.STATUS_CODE; state = State.STATUS_CODE;
break; break;
} }
default:
{
throw new IllegalStateException();
}
} }
} }
else else
@ -87,6 +91,10 @@ public class GoAwayBodyParser extends ControlFrameBodyParser
state = State.STATUS_CODE; state = State.STATUS_CODE;
break; break;
} }
default:
{
throw new IllegalStateException();
}
} }
} }
break; break;