Skip to content
Snippets Groups Projects
Commit 82950f48 authored by srosse's avatar srosse
Browse files

OO-1483: remove info and error after the not found flag, nobody used the infos

parent 0dcc3ad7
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,6 @@ import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.UnsupportedEncodingException;
import java.io.Writer;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
......@@ -521,17 +520,18 @@ public class UserActivityLoggerImpl implements IUserActivityLogger {
}
for (Iterator<ContextEntry> it = bcContextEntriesCopy.iterator(); it.hasNext();) {
ContextEntry ce = it.next();
boolean foundIt = false;
// SR: see below boolean foundIt = false;
for (Iterator<ILoggingResourceable> it2 = inputCopy.iterator(); it2.hasNext();) {
ILoggingResourceable resourceInfo = it2.next();
if (resourceInfo.correspondsTo(ce)) {
// perfecto
result.add(resourceInfo);
it2.remove();
foundIt = true;
// SR: see below foundIt = true;
break;
}
}
/*
if (!foundIt) {
String oresourceableOres = "n/a (null)";
// SR: why generate exception for unuseable information???
......@@ -565,6 +565,7 @@ public class UserActivityLoggerImpl implements IUserActivityLogger {
log_.warn("Could not find any LoggingResourceable corresponding to this ContextEntry: "+ce.toString(), null);
}
}
*/
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment