mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-12 22:28:48 +00:00
fixed NPE
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@383 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
33b37691c4
commit
2dfb7f18e1
1 changed files with 3 additions and 1 deletions
|
@ -1278,7 +1278,9 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
if (!pp.isEmptyElementTag())
|
||||
{
|
||||
XmlPullUtil.enter(pp, "value");
|
||||
value = pp.getText().trim();
|
||||
value = pp.getText();
|
||||
if (value != null)
|
||||
value = value.trim();
|
||||
XmlPullUtil.exit(pp, "value");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue