mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix string case.
This commit is contained in:
parent
abfc06c7d5
commit
3b47ed2e52
@ -174,7 +174,8 @@ public class AdminController extends BaseController {
|
|||||||
private boolean isWelcomeMap(@NotNull Mindmap mindmap) throws UnsupportedEncodingException {
|
private boolean isWelcomeMap(@NotNull Mindmap mindmap) throws UnsupportedEncodingException {
|
||||||
// Is welcome map ?
|
// Is welcome map ?
|
||||||
final String xmlStr = mindmap.getXmlStr();
|
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 {
|
public boolean isSimpleMap(@NotNull Mindmap mindmap) throws UnsupportedEncodingException {
|
||||||
|
Loading…
Reference in New Issue
Block a user