Index: trunk/cortado/src/com/fluendo/plugin/HTTPSrc.java |
— | — | @@ -405,13 +405,13 @@ |
406 | 406 | documentBase = (URL)value; |
407 | 407 | } |
408 | 408 | else if (name.equals("userId")) { |
409 | | - userId = String.valueOf(value); |
| 409 | + userId = (value == null) ? null : String.valueOf(value); |
410 | 410 | } |
411 | 411 | else if (name.equals("userAgent")) { |
412 | 412 | userAgent = String.valueOf(value); |
413 | 413 | } |
414 | 414 | else if (name.equals("password")) { |
415 | | - password = String.valueOf(value); |
| 415 | + password = (value == null) ? null : String.valueOf(value); |
416 | 416 | } |
417 | 417 | else if (name.equals("readSize")) { |
418 | 418 | readSize = Integer.parseInt((String)value); |