(String str)
| 685 | } |
| 686 | |
| 687 | private static int parseColor(String str) |
| 688 | { |
| 689 | if (str == null) |
| 690 | { |
| 691 | return -1; |
| 692 | } |
| 693 | else |
| 694 | { |
| 695 | str = str.trim(); |
| 696 | |
| 697 | try |
| 698 | { |
| 699 | int i = Integer.parseInt(str, 16) & 16777215; |
| 700 | return i; |
| 701 | } |
| 702 | catch (NumberFormatException var2) |
| 703 | { |
| 704 | return -1; |
| 705 | } |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | private static Vec3 readColorVec3(Properties props, String name) |
| 710 | { |
no test coverage detected