()
| 143 | } |
| 144 | |
| 145 | public String ToString() |
| 146 | { |
| 147 | Iterator<Integer> i; |
| 148 | String out = new String(""); |
| 149 | boolean firstpass = true; |
| 150 | String name; |
| 151 | |
| 152 | for (i = enabledSecTypes.iterator(); i.hasNext(); ) { |
| 153 | name = secTypeName((Integer)i.next()); |
| 154 | if (name.startsWith("[")) /* Unknown security type */ |
| 155 | continue; |
| 156 | |
| 157 | if (!firstpass) |
| 158 | out = out.concat(","); |
| 159 | else |
| 160 | firstpass = false; |
| 161 | out = out.concat(name); |
| 162 | } |
| 163 | |
| 164 | return out; |
| 165 | } |
| 166 | |
| 167 | public void DisableSecType(int secType) { enabledSecTypes.remove((Object)secType); } |
| 168 |
no test coverage detected