From 18a85b433349d8c3479941fe604634efe8cf0cc8 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 27 Nov 2019 10:56:08 +0100 Subject: [PATCH] findbugs --- findbugs-excludes.xml | 5 +---- .../sebserver/gui/InstitutionalAuthenticationEntryPoint.java | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/findbugs-excludes.xml b/findbugs-excludes.xml index 92080fab..76bfcb37 100644 --- a/findbugs-excludes.xml +++ b/findbugs-excludes.xml @@ -22,6 +22,7 @@ + @@ -32,8 +33,4 @@ - - - - \ No newline at end of file diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/InstitutionalAuthenticationEntryPoint.java b/src/main/java/ch/ethz/seb/sebserver/gui/InstitutionalAuthenticationEntryPoint.java index f737ec2e..2f87130c 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/InstitutionalAuthenticationEntryPoint.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/InstitutionalAuthenticationEntryPoint.java @@ -84,9 +84,7 @@ final class InstitutionalAuthenticationEntryPoint implements AuthenticationEntry Charsets.UTF_8); _defaultLogo = FileCopyUtils.copyToString(reader); - } catch (final IOException e) { - log.warn("Failed to load default logo image from filesystem: {}", defaultLogoFileName); - _defaultLogo = null; + } catch (final Exception e) { log.warn("Failed to load default logo image from filesystem: {}", defaultLogoFileName); _defaultLogo = null;