Skip to content

Commit 30e1d4e

Browse files
author
ageery
committed
Minor code cleanup
1 parent 54544a2 commit 30e1d4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bianmen-core/src/test/kotlin/dev/bombianating/bianmen/ModelExtTest.kt

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class ModelExtTest {
6363

6464
@Test
6565
fun `model plus prop test`() {
66+
@Suppress("SerialVersionUIDInSerializableClass")
6667
class Person(var firstName: String, var lastName: String): Serializable
6768
val personModel = +Person(firstName = "Santa", lastName = "Claus")
6869
val firstNameModel = personModel + Person::firstName

bianmen-example/src/main/kotlin/dev/bombinating/bianmen/example/BianmenExampleApp.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import java.util.EnumSet.allOf
1111
import javax.servlet.DispatcherType
1212

1313
@SpringBootApplication
14-
class RoqueExampleApp {
14+
class BianmenExampleApp {
1515

1616
@Bean
1717
fun helloWorld() = wicketConfig(::HelloWorldApp, "helloworld")
@@ -28,5 +28,5 @@ class RoqueExampleApp {
2828

2929

3030
fun main() {
31-
SpringApplication.run(RoqueExampleApp::class.java)
31+
SpringApplication.run(BianmenExampleApp::class.java)
3232
}

0 commit comments

Comments
 (0)