DATACMNS-681 - Removed some compiler warnings.

Removed unused constants. Removed usage of deprecated method in RepositoryBeanDefinitionParser.
This commit is contained in:
Oliver Gierke
2015-04-13 13:04:59 +02:00
parent 74b452433e
commit d48fddf9e6
3 changed files with 11 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2015 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.
@@ -51,7 +51,6 @@ final class AnnotationAuditingMetadata {
private static final Map<Class<?>, AnnotationAuditingMetadata> METADATA_CACHE = new ConcurrentHashMap<Class<?>, AnnotationAuditingMetadata>();
private static final String JDK8_TIME_PACKAGE_PREFIX = "java.time";
public static final boolean IS_JDK_8 = org.springframework.util.ClassUtils.isPresent("java.time.Clock",
AnnotationAuditingMetadata.class.getClassLoader());