[java-identity-provider] branch master updated: IDP-1451 code tidy

Rod Widdowson rdw at steadingsoftware.com
Sun Jun 16 11:19:21 EDT 2019


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

rdw 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=743798c2e1a057d2dd164d49fa4e6f44b979e82a

The following commit(s) were added to refs/heads/master by this push:
       new  743798c   IDP-1451 code tidy
743798c is described below

commit 743798c2e1a057d2dd164d49fa4e6f44b979e82a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jun 16 16:19:15 2019 +0100

    IDP-1451 code tidy
---
 idp-war/src/main/webapp/WEB-INF/jsp/status.jsp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
index a01484c..8c5fd21 100644
--- a/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
+++ b/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
@@ -119,11 +119,7 @@ for (final ReloadableService service : (Collection<ReloadableService>) request.g
     	for (final Entry<String, Instant> en : entrySet) {
 			final Instant lastFail = en.getValue();
 			final String connectorId = en.getKey();
-	    	if (null != lastFail) {
-                out.println("\tDataConnector " +  connectorId + ": last failed at " + dateTimeFormatter.format(lastFail));
-            } else {
-                out.println("\tDataConnector " +  connectorId + ": has never failed");
-            }
+			out.println("\tDataConnector " +  connectorId + ": last failed at " + dateTimeFormatter.format(lastFail));
             out.println();
         }   
     }    

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


More information about the commits mailing list