ProjectKorra/ProjectKorra — pull request #12 by HiddenCloud (2014-08-01 22:52:00+00:00)
Title: Simplification of the code

Instead of 3 if statements containing almost the same code, one switch statement and one small helper method.