Skip to content

Commit 4d6536e

Browse files
committed
Fix PMD
1 parent fde4cb9 commit 4d6536e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/src/main/java/software/xdev/tci/serviceloading/TCIServiceLoader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public <T> T service(final Class<T> clazz)
5757
* @implNote This method uses best effort thread safety. It WILL fail when another Thread that didn't inherit from
5858
* the current Thread is causing a deadlock, for example <code>ForkJoinPool.commonPool</code>
5959
*/
60+
@SuppressWarnings("PMD.AvoidSynchronizedStatement")
6061
protected <T> void initService(final Class<T> clazz)
6162
{
6263
final LinkedHashSet<Class<?>> detectRecursiveInitServices;

0 commit comments

Comments
 (0)