正在显示
1 个修改的文件
包含
2 行增加
和
7 行删除
| @@ -562,17 +562,12 @@ public class Convert | @@ -562,17 +562,12 @@ public class Convert | ||
| 562 | switch (valueStr) | 562 | switch (valueStr) |
| 563 | { | 563 | { |
| 564 | case "true": | 564 | case "true": |
| 565 | - return true; | ||
| 566 | - case "false": | ||
| 567 | - return false; | ||
| 568 | case "yes": | 565 | case "yes": |
| 569 | - return true; | ||
| 570 | case "ok": | 566 | case "ok": |
| 571 | - return true; | ||
| 572 | - case "no": | ||
| 573 | - return false; | ||
| 574 | case "1": | 567 | case "1": |
| 575 | return true; | 568 | return true; |
| 569 | + case "false": | ||
| 570 | + case "no": | ||
| 576 | case "0": | 571 | case "0": |
| 577 | return false; | 572 | return false; |
| 578 | default: | 573 | default: |
-
请 注册 或 登录 后发表评论