()
| 892 | } |
| 893 | |
| 894 | List<String> getNamedTempBonusList() |
| 895 | { |
| 896 | final List<String> aList = new ArrayList<>(); |
| 897 | Map<BonusObj, TempBonusInfo> filteredTempBonusList = getFilteredTempBonusList(); |
| 898 | |
| 899 | for (Map.Entry<BonusObj, TempBonusInfo> me : filteredTempBonusList.entrySet()) |
| 900 | { |
| 901 | BonusObj aBonus = me.getKey(); |
| 902 | if (aBonus == null) |
| 903 | { |
| 904 | continue; |
| 905 | } |
| 906 | |
| 907 | if (!pc.isApplied(aBonus)) |
| 908 | { |
| 909 | continue; |
| 910 | } |
| 911 | |
| 912 | final CDOMObject aCreator = (CDOMObject) me.getValue().source; |
| 913 | |
| 914 | if (aCreator == null) |
| 915 | { |
| 916 | continue; |
| 917 | } |
| 918 | |
| 919 | final String aName = aCreator.getKeyName(); |
| 920 | |
| 921 | if (!aList.contains(aName)) |
| 922 | { |
| 923 | aList.add(aName); |
| 924 | } |
| 925 | } |
| 926 | |
| 927 | return aList; |
| 928 | } |
| 929 | |
| 930 | public List<String> getNamedTempBonusDescList() |
| 931 | { |
nothing calls this directly
no test coverage detected