strip html from message

This commit is contained in:
adam-m 2013-01-16 14:15:29 -05:00
parent 4156200a57
commit 06efec11f6

View File

@ -184,9 +184,9 @@ public class Installer extends ModuleInstall {
WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
@Override
public void run() {
final String msg = "<html>Indexing server port " + curFailPort + " is not available. "
final String msg = "Indexing server port " + curFailPort + " is not available. "
+ " Consider changing " + Server.PROPERTIES_CURRENT_SERVER_PORT + " in "
+ Server.PROPERTIES_FILE + " property file in the application user folder.</html>";
+ Server.PROPERTIES_FILE + " property file in the application user folder.";
MessageNotifyUtil.Notify.error("Error initializing Keyword Search module", msg);
}
});
@ -196,9 +196,9 @@ public class Installer extends ModuleInstall {
WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
@Override
public void run() {
final String msg = "<html>Indexing server stop port " + curFailPort + " is not available. "
final String msg = "Indexing server stop port " + curFailPort + " is not available. "
+ " Consider changing " + Server.PROPERTIES_CURRENT_STOP_PORT + " in "
+ Server.PROPERTIES_FILE + " property file in the application user folder.</html>";
+ Server.PROPERTIES_FILE + " property file in the application user folder.";
MessageNotifyUtil.Notify.error("Error initializing Keyword Search module", msg);
}
});
@ -208,9 +208,8 @@ public class Installer extends ModuleInstall {
WindowManager.getDefault().invokeWhenUIReady(new Runnable() {
@Override
public void run() {
final String msg = "<html>Error initializing Keyword Search module.<br />"
+ "File indexing and search will not be functional.<br />"
+ "Please try to restart your computer and the application.</html>";
final String msg = "File indexing and search will not be functional."
+ "Please try to restart your computer and the application.";
MessageNotifyUtil.Notify.error("Error initializing Keyword Search module", msg);
}
});