重构代码中的 if/else 嵌套和 switch 语句

NoSuchKey