Remove warnings (work package 1)
[anna.git] / source / app / Application.cpp
index bf5d6b7..d4a9570 100644 (file)
@@ -82,7 +82,6 @@ app::Application::Application(const char* shortName, const char* title, const ch
 app::Component* app::Application::find(const char* className)
 throw() {
   Component* component;
-
   for(iterator ii = begin(), maxii = end(); ii != maxii; ii ++) {
     component = Application::component(ii);
 
@@ -274,8 +273,9 @@ throw(RuntimeException) {
 
   if(ii != end()) {
     LOGINFORMATION(
-      string msg((*ii)->asString());
-      msg += " | Was previously attached";
+      //string msg((*ii)->asString());
+      string msg((*ii)->getClassName());
+      msg += " | Was previously attached !";
       Logger::write(Logger::Information, msg, ANNA_FILE_LOCATION);
     )
     return;