Fix string case.

This commit is contained in:
Paulo Gustavo Veiga 2013-03-24 16:48:14 -03:00
parent abfc06c7d5
commit 3b47ed2e52

View File

@ -174,7 +174,8 @@ public class AdminController extends BaseController {
private boolean isWelcomeMap(@NotNull Mindmap mindmap) throws UnsupportedEncodingException {
// Is welcome map ?
final String xmlStr = mindmap.getXmlStr();
return xmlStr.contains("Welcome To") && xmlStr.contains("My Wisemaps");
boolean oldWelcomeMap = xmlStr.contains("Welcome to WiseMapping") && xmlStr.contains("My Wisemaps");
return oldWelcomeMap;
}
public boolean isSimpleMap(@NotNull Mindmap mindmap) throws UnsupportedEncodingException {