mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 16:40:30 +00:00
fix use of java6 api
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@335 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
9a2a66391f
commit
1469210538
3 changed files with 3 additions and 3 deletions
|
@ -1267,7 +1267,7 @@ public abstract class AbstractEfaProvider implements NetworkProvider
|
|||
|
||||
public int[] lineColors(final String line)
|
||||
{
|
||||
if (line.isEmpty())
|
||||
if (line.length() == 0)
|
||||
return null;
|
||||
return LINES.get(line.charAt(0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue