Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
82950f48
Commit
82950f48
authored
10 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/core/logging/activity/UserActivityLoggerImpl.java
+4
-3
4 additions, 3 deletions
...rg/olat/core/logging/activity/UserActivityLoggerImpl.java
with
4 additions
and
3 deletions
src/main/java/org/olat/core/logging/activity/UserActivityLoggerImpl.java
+
4
−
3
View file @
82950f48
...
...
@@ -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);
}
}
*/
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment