general cleanup

This commit is contained in:
Oleg Zhurakousky
2018-10-26 16:11:55 +02:00
parent bf9ab3ac0a
commit 265a9d61aa
3 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- <groupId>org.springframework.cloud</groupId> -->
<artifactId>spring-cloud-function-docs</artifactId>
<parent>
<groupId>org.springframework.cloud</groupId>

View File

@@ -28,7 +28,7 @@ import org.springframework.core.ResolvableType;
public interface JsonMapper {
/**
* @deprecated in favor of {@link #toObject(String, Type)}
* @deprecated since v2.0 in favor of {@link #toObject(String, Type)}
*/
@Deprecated
default <T> List<T> toList(String json, Class<T> type) {
@@ -45,7 +45,7 @@ public interface JsonMapper {
<T> T toObject(String json, Type type);
/**
* @deprecated in favor of {@link #toObject(String, Type)}
* @deprecated since v2.0 in favor of {@link #toObject(String, Type)}
*/
default <T> T toSingle(String json, Class<T> type) {
return toObject(json, type);

View File

@@ -183,7 +183,7 @@ class FunctionEndpointInitializer
logger.info("Server started");
try {
double uptime = ManagementFactory.getRuntimeMXBean().getUptime();
System.err.println("JVM running for " + uptime + "ms");
logger.error("JVM running for " + uptime + "ms");
}
catch (Throwable e) {
// ignore