You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2021/11/29 11:01:22 UTC
[uima-uimaj] branch main updated: [UIMA-6397] Remove unnecessary code from Class_TCCL.java
This is an automated email from the ASF dual-hosted git repository.
rec pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
The following commit(s) were added to refs/heads/main by this push:
new dfb081c [UIMA-6397] Remove unnecessary code from Class_TCCL.java
dfb081c is described below
commit dfb081ccbfa8702ee2424ebe12e24ecea16ed08f
Author: matthkoch <bu...@web.de>
AuthorDate: Mon Nov 29 12:01:13 2021 +0100
[UIMA-6397] Remove unnecessary code from Class_TCCL.java
- The code that was removed was already executed via get_parent_cl and was therefor unecessary.
---
.../src/main/java/org/apache/uima/internal/util/Class_TCCL.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/uimaj-core/src/main/java/org/apache/uima/internal/util/Class_TCCL.java b/uimaj-core/src/main/java/org/apache/uima/internal/util/Class_TCCL.java
index 61963ae..e070107 100644
--- a/uimaj-core/src/main/java/org/apache/uima/internal/util/Class_TCCL.java
+++ b/uimaj-core/src/main/java/org/apache/uima/internal/util/Class_TCCL.java
@@ -73,11 +73,6 @@ public class Class_TCCL {
if (cl == null) {
cl = get_parent_cl();
- Thread.currentThread().getContextClassLoader();
- }
-
- if (cl == null) {
- cl = Class_TCCL.class.getClassLoader(); // this class's classloader
}
return cl;