Skip to content

Commit 645c7e8

Browse files
committed
Polishing
1 parent bee5e0b commit 645c7e8

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

spring-cloud-function-adapters/spring-cloud-function-serverless-web/src/main/java/org/springframework/cloud/function/serverless/web/ServerlessAutoConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public void afterPropertiesSet() throws Exception {
9696
throw new IllegalStateException("Faild to create Spring MVC DispatcherServlet proxy", e);
9797
}
9898
for (ServletContextInitializer initializer : new ServletContextInitializerBeans(this.applicationContext)) {
99-
System.out.println("==> INITIALIZING " + initializer);
10099
initializer.onStartup(servletContext);
101100
}
102101
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2023-2023 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
package org.springframework.cloud.function.test.app;
18+
19+
import org.springframework.stereotype.Controller;
20+
import org.springframework.web.bind.annotation.GetMapping;
21+
22+
@Controller
23+
public class FreemarkerController {
24+
25+
public FreemarkerController() {
26+
}
27+
28+
@GetMapping("/index")
29+
public String something2() {
30+
return "index";
31+
}
32+
}

0 commit comments

Comments
 (0)