From 830de8d18a423cab0f2fbdc1414b1bc983e796c2 Mon Sep 17 00:00:00 2001 From: Arved Solth Date: Tue, 18 May 2021 12:50:15 +0200 Subject: [PATCH] Fix Codacy issues --- .../java/org/kitodo/production/channel/SystemMessageChannel.java | 1 + .../main/java/org/kitodo/production/forms/SystemWarningForm.java | 1 + Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js | 1 + 3 files changed, 3 insertions(+) diff --git a/Kitodo/src/main/java/org/kitodo/production/channel/SystemMessageChannel.java b/Kitodo/src/main/java/org/kitodo/production/channel/SystemMessageChannel.java index 74c05e50b5c..eff669ab637 100644 --- a/Kitodo/src/main/java/org/kitodo/production/channel/SystemMessageChannel.java +++ b/Kitodo/src/main/java/org/kitodo/production/channel/SystemMessageChannel.java @@ -13,6 +13,7 @@ import java.util.HashMap; import java.util.Set; + import javax.enterprise.context.ApplicationScoped; import javax.faces.push.Push; import javax.faces.push.PushContext; diff --git a/Kitodo/src/main/java/org/kitodo/production/forms/SystemWarningForm.java b/Kitodo/src/main/java/org/kitodo/production/forms/SystemWarningForm.java index 9fe96f16333..5c8a7b0e4f5 100644 --- a/Kitodo/src/main/java/org/kitodo/production/forms/SystemWarningForm.java +++ b/Kitodo/src/main/java/org/kitodo/production/forms/SystemWarningForm.java @@ -12,6 +12,7 @@ package org.kitodo.production.forms; import java.io.Serializable; + import javax.enterprise.context.SessionScoped; import javax.inject.Inject; import javax.inject.Named; diff --git a/Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js b/Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js index 8a4788b8782..f52b24ca3e7 100644 --- a/Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js +++ b/Kitodo/src/main/webapp/WEB-INF/resources/js/defaultScript.js @@ -8,6 +8,7 @@ * For the full copyright and license information, please read the * GPL3-License.txt file that was distributed with this source code. */ +/* globals updateSystemMessageDialog, updateUserTable */ $(document).ready(function() { $('#loadingScreen').hide();