diff --git a/spring-core/src/main/java/org/springframework/core/KotlinDetector.java b/spring-core/src/main/java/org/springframework/core/KotlinDetector.java index ea5b4115baf..3be5346c7c2 100644 --- a/spring-core/src/main/java/org/springframework/core/KotlinDetector.java +++ b/spring-core/src/main/java/org/springframework/core/KotlinDetector.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,9 +18,6 @@ package org.springframework.core; import java.lang.annotation.Annotation; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; @@ -34,8 +31,6 @@ import org.springframework.util.ClassUtils; @SuppressWarnings("unchecked") public abstract class KotlinDetector { - private static final Log logger = LogFactory.getLog(KotlinDetector.class); - @Nullable private static final Class kotlinMetadata; @@ -53,9 +48,6 @@ public abstract class KotlinDetector { } kotlinMetadata = (Class) metadata; kotlinReflectPresent = ClassUtils.isPresent("kotlin.reflect.full.KClasses", classLoader); - if (kotlinMetadata != null && !kotlinReflectPresent) { - logger.info("Kotlin reflection implementation not found at runtime, related features won't be available."); - } }