(String s, int defVal)
| 362 | } |
| 363 | |
| 364 | public static int parseInt(String s, int defVal) |
| 365 | { |
| 366 | if (s == null) |
| 367 | { |
| 368 | return defVal; |
| 369 | } |
| 370 | else |
| 371 | { |
| 372 | try |
| 373 | { |
| 374 | return Integer.parseInt(s); |
| 375 | } |
| 376 | catch (NumberFormatException var3) |
| 377 | { |
| 378 | return defVal; |
| 379 | } |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | public static boolean isFilled(String string) |
| 384 | { |
no outgoing calls
no test coverage detected