[java-identity-provider] branch master updated: Deprecated method cleanup.

Scott Cantor cantor.2 at osu.edu
Mon Nov 25 21:15:22 EST 2019


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

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=c1d1a7e303941fca536559ece6680238e57ee727

The following commit(s) were added to refs/heads/master by this push:
       new  c1d1a7e   Deprecated method cleanup.
c1d1a7e is described below

commit c1d1a7e303941fca536559ece6680238e57ee727
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Nov 25 21:15:18 2019 -0500

    Deprecated method cleanup.
---
 .../net/shibboleth/idp/ui/context/RelyingPartyUIContext.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java b/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
index 64c14fb..9853893 100644
--- a/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
+++ b/idp-ui/src/main/java/net/shibboleth/idp/ui/context/RelyingPartyUIContext.java
@@ -733,14 +733,14 @@ public final class RelyingPartyUIContext extends BaseContext {
             final int maxHeight) {
         final int height;
         if (null == logo.getHeight()) {
-            log.warn("No height available for {} assuming a fit", logo.getURL());
+            log.warn("No height available for {} assuming a fit", logo.getURI());
             height = maxHeight -1;
         } else {
             height = logo.getHeight();
         }
         final int width;
         if (null == logo.getWidth()) {
-            log.warn("No width available for {} assuming a fit", logo.getURL());
+            log.warn("No width available for {} assuming a fit", logo.getURI());
             width = maxWidth - 1;
         } else {
             width = logo.getWidth();
@@ -773,7 +773,7 @@ public final class RelyingPartyUIContext extends BaseContext {
                 for (final Logo logo : logos.get(l)) {
                     log.trace("Found logo in UIInfo, ({} x {}) - {}", logo.getWidth(), logo.getHeight(), l);
                     if (logoFits(logo, minWidth, minHeight, maxWidth, maxHeight)) {
-                        final String result = policeURLLogo(logo.getURL());
+                        final String result = policeURLLogo(logo.getURI());
                         if (result != null) {
                             log.debug("Found locale logo from UIInfo, ({} x {}) : {}",
                                     logo.getWidth(), logo.getHeight(), result);
@@ -786,7 +786,7 @@ public final class RelyingPartyUIContext extends BaseContext {
                 for (final Logo logo : logos.get(l)) {
                     log.trace("Found logo in UIInfo, ({} x {}) - {}", logo.getWidth(), logo.getHeight(), l);
                     if (logoFits(logo, minWidth, minHeight, maxWidth, maxHeight)) {
-                        final String result = policeURLLogo(logo.getURL());
+                        final String result = policeURLLogo(logo.getURI());
                         if (result != null) {
                             log.debug("Found locale logo from UIInfo, ({} x {}) : {}",
                                     logo.getWidth(), logo.getHeight(), result);
@@ -802,10 +802,10 @@ public final class RelyingPartyUIContext extends BaseContext {
                 log.trace("Size Mismatch");
                 continue;
             }
-            final String result = policeURLLogo(logo.getURL());
+            final String result = policeURLLogo(logo.getURI());
             if (result != null) {
                 log.debug("Found nonlocale logo from UIInfo, ({} x {}) : {}",
-                        logo.getWidth(), logo.getHeight(), logo.getURL());
+                        logo.getWidth(), logo.getHeight(), logo.getURI());
                 return result;
             }
         }

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


More information about the commits mailing list