Fixed bug that caused and exception on empty Strings

FEA: ItEr02S03MigracionZK5
This commit is contained in:
Farruco Sanjurjo 2010-09-01 13:30:51 +02:00
parent d69fd6935c
commit e2a3b7d1d8

View file

@ -586,7 +586,7 @@ public abstract class ChartFiller implements IChartFiller {
*the application webpath
* */
private String adaptCallbackForTimePlot(String uri){
return uri.substring(1);
return ! uri.equals("") ? uri.substring(1) : uri;
}
@Override
public void appendPlotinfo(Timeplot chart, Plotinfo plotinfo,