general cleanup
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user