mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
upgrade resteasy, legman and hibernate-validator
* resteasy from 3.6.2.Final to 4.4.1.Final * legman from 1.5.1 to 1.6.0 * hibernate-validator from 5.3.6.Final to 6.1.0.Final
This commit is contained in:
@@ -72,8 +72,13 @@ public class ResteasyAllInOneServletDispatcher extends HttpServletDispatcher {
|
||||
|
||||
// ensure everything gets cleared, to avoid classloader leaks
|
||||
ResteasyProviderFactory.clearInstanceIfEqual(ResteasyProviderFactory.getInstance());
|
||||
ResteasyProviderFactory.clearContextData();
|
||||
RuntimeDelegate.setInstance(null);
|
||||
|
||||
removeDeploymentFromServletContext();
|
||||
}
|
||||
|
||||
private void removeDeploymentFromServletContext() {
|
||||
getServletContext().removeAttribute(ResteasyDeployment.class.getName());
|
||||
}
|
||||
|
||||
private ResteasyDeployment getDeploymentFromServletContext() {
|
||||
|
||||
Reference in New Issue
Block a user