Skip to content

Commit 97a2b99

Browse files
committed
test controller
1 parent 30b4cd2 commit 97a2b99

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

freemarker/src/main/java/info/xiaomo/freemarker/FreemarkerMain.kt

+3-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,8 @@ import org.springframework.context.annotation.ComponentScan
2323
@ComponentScan("info.xiaomo")
2424
@EntityScan("info.xiaomo.*.model")
2525
@EnableAutoConfiguration(exclude = arrayOf(DataSourceAutoConfiguration::class, HibernateJpaAutoConfiguration::class))
26-
class FreemarkerMain {
27-
28-
fun main(args: Array<String>) {
29-
SpringApplication.run(FreemarkerMain::class.java, *args)
30-
}
31-
26+
class FreemarkerMain
3227

28+
fun main(args: Array<String>) {
29+
SpringApplication.run(FreemarkerMain::class.java, *args)
3330
}

0 commit comments

Comments
 (0)