Remove $ sign from routes in scripted tests; warnings in Scala 3.9.0 · playframework/playframework@daaee03 · GitHub
Skip to content

Commit daaee03

Browse files
committed
Remove $ sign from routes in scripted tests; warnings in Scala 3.9.0
"The identifier xxxx should not contain `$`, which is reserved for internal compiler use."
1 parent 90498fe commit daaee03

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

  • dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin

dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation-with-request-passed/app/controllers/πø$7ß.java renamed to dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation-with-request-passed/app/controllers/πø7ß.java

Lines changed: 2 additions & 2 deletions

‎dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation-with-request-passed/conf/routes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ GET /take-java-list controllers.Application.takeJavaList(x: java
1818

1919
GET /urlcoding/:d/*s controllers.Application.urlcoding(d, s, req: Request, q)
2020

21-
GET /ident/:è27 controllers.πø$7ß.ôü65$t(req: Request, è27: Integer)
21+
GET /ident/:è27 controllers.πø7ß.ôü65t(req: Request, è27: Integer)
2222

2323
GET /hello controllers.Application.hello(req: Request)
2424
GET /hello2 controllers.Application.hello(req: Request)

dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation/app/controllers/πø$7ß.scala renamed to dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation/app/controllers/πø7ß.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package controllers
77
import play.api.mvc._
88
import jakarta.inject.Inject
99

10-
class πø$7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11-
def ôü65$t(i: Int) = Action {
10+
class πø7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11+
def ôü65t(i: Int) = Action {
1212
Ok
1313
}
1414
}

‎dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-injected-routes-compilation/conf/routes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GET /take-ticked-params controllers.Application.takeTickedParams(`b[
2020

2121
GET /urlcoding/:d/*s controllers.Application.urlcoding(d, s, q)
2222

23-
GET /ident/:è27 controllers.πø$7ß.ôü65$t(è27: Int)
23+
GET /ident/:è27 controllers.πø7ß.ôü65t(è27: Int)
2424

2525
GET /hello controllers.Application.hello
2626
GET /hello2 controllers.Application.hello

dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-no-package-declaration-in-routes-file/app/router/πø$7ß.scala renamed to dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-no-package-declaration-in-routes-file/app/router/πø7ß.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package router
77
import play.api.mvc._
88
import jakarta.inject.Inject
99

10-
class πø$7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11-
def ôü65$t(i: Int) = Action {
10+
class πø7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11+
def ôü65t(i: Int) = Action {
1212
Ok
1313
}
1414
}

‎dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-no-package-declaration-in-routes-file/conf/routes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GET /take-ticked-params Application.takeTickedParams(`b[]`: List[Int
2020

2121
GET /urlcoding/:d/*s Application.urlcoding(d, s, q)
2222

23-
GET /ident/:è27 πø$7ß.ôü65$t(è27: Int)
23+
GET /ident/:è27 πø7ß.ôü65t(è27: Int)
2424

2525
GET /hello Application.hello
2626
GET /hello2 Application.hello

dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-routes-compilation/app/controllers/πø$7ß.scala renamed to dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-routes-compilation/app/controllers/πø7ß.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ package controllers
77
import play.api.mvc._
88
import jakarta.inject.Inject
99

10-
class πø$7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11-
def ôü65$t(i: Int) = Action {
10+
class πø7ß @Inject() (c: ControllerComponents) extends AbstractController(c) {
11+
def ôü65t(i: Int) = Action {
1212
Ok
1313
}
1414
}

‎dev-mode/sbt-plugin/src/sbt-test/play-sbt-plugin/routes-compiler-routes-compilation/conf/routes‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)