[spring-extensions] branch master updated: Fix a deprecated method call.

Scott Cantor cantor.2 at osu.edu
Mon Feb 4 10:21:18 EST 2019


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=cdc9cb51126568f201c06bdb89e459f489e233ea

The following commit(s) were added to refs/heads/master by this push:
       new  cdc9cb5   Fix a deprecated method call.
cdc9cb5 is described below

commit cdc9cb51126568f201c06bdb89e459f489e233ea
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 4 10:21:14 2019 -0500

    Fix a deprecated method call.
---
 src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java b/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
index ddb522e..325db6f 100644
--- a/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
+++ b/src/main/java/net/shibboleth/ext/spring/velocity/VelocityView.java
@@ -351,7 +351,7 @@ public class VelocityView extends AbstractTemplateView {
         try {
             t.merge(context, response.getWriter());
         } catch (final MethodInvocationException ex) {
-            final Throwable cause = ex.getWrappedThrowable();
+            final Throwable cause = ex.getCause();
             throw new NestedServletException(
                     "Method invocation failed during rendering of Velocity view with name '" +
                     getBeanName() + "': " + ex.getMessage() + "; reference [" + ex.getReferenceName() +

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list