Skip to content

Commit

Permalink
refactor: make private
Browse files Browse the repository at this point in the history
  • Loading branch information
dwickern committed Nov 5, 2023
1 parent 6dbe7ce commit e752c08
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ object SwaggerPlayTestPlugin extends AutoPlugin {
},
)

def toJson(path: String): JsValue = {
private def toJson(path: String): JsValue = {
Json.parse(IO.readBytes(file(path)))
}

def httpRequest(requestUrl: URL): Unit = {
private def httpRequest(requestUrl: URL): Unit = {
@tailrec def read(attempts: Int): String = {
try {
val conn = requestUrl.openConnection().asInstanceOf[java.net.HttpURLConnection]
Expand Down

0 comments on commit e752c08

Please sign in to comment.