Fixed tests

This commit is contained in:
Gonzalo Bellver
2011-11-24 14:44:16 -03:00
parent adb52b1b4a
commit d5f88e0004
9 changed files with 1 additions and 1 deletions

View File

@@ -213,7 +213,7 @@ public class ExporterFactory {
int index = imgUrl.lastIndexOf("/");
elem.removeAttribute("href");
if (index != -1) {
final String iconName = imgUrl.substring(index);
final String iconName = imgUrl.substring(index+1);
// Hack for backward compatibility . This can be removed in 2012. :)
String imgPath;
if (imgUrl.contains("images")) {