mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:06:50 +00:00
refactor/ update dependencies in pom.xml and clean up NewStyle.scala
This commit is contained in:
parent
96ed2bf0ec
commit
7f504008e6
@ -531,14 +531,8 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.sun.activation</groupId>
|
||||
<artifactId>javax.activation</artifactId>
|
||||
<version>1.2.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.sun.mail</groupId>
|
||||
<artifactId>jakarta.mail</artifactId>
|
||||
<version>1.6.7</version>
|
||||
<artifactId>jakarta.activation</artifactId>
|
||||
<version>1.2.2</version>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/com.nulab-inc/zxcvbn -->
|
||||
|
||||
@ -802,12 +802,10 @@ object NewStyle extends MdcLoggable{
|
||||
Failure(s"$failMsg. Details: ${e.getMessage}", Full(e), Empty)
|
||||
}
|
||||
} map {
|
||||
// Convert `Box[T]` to `Future[T]` using `unboxFullOrFail`
|
||||
x => unboxFullOrFail(x, callContext, failMsg, failCode)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def extractHttpParamsFromUrl(url: String): Future[List[HTTPParam]] = {
|
||||
createHttpParamsByUrlFuture(url) map { unboxFull(_) }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user