This is an automated email from the git hooks/post-receive script. New change to branch develop in repository i18n. See https://gitlab.nuiton.org/nuiton/i18n.git from 844c154 Merge branch 'jdk11' into 'develop' new 606b658 Prevent bug (from sonarqube) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 606b6585237029f24152ff47393c7591a9d3be98 Author: jcouteau <couteau@codelutin.com> Date: Tue Aug 23 14:29:39 2022 +0200 Prevent bug (from sonarqube) Summary of changes: .../src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository i18n. See https://gitlab.nuiton.org/nuiton/i18n.git commit 606b6585237029f24152ff47393c7591a9d3be98 Author: jcouteau <couteau@codelutin.com> Date: Tue Aug 23 14:29:39 2022 +0200 Prevent bug (from sonarqube) --- .../src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nuiton-i18n/src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java b/nuiton-i18n/src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java index f09b16e..230e6b9 100644 --- a/nuiton-i18n/src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java +++ b/nuiton-i18n/src/main/java/org/nuiton/i18n/bundle/I18nBundleUtil.java @@ -567,11 +567,11 @@ public class I18nBundleUtil { */ String pattern = ".*i18n/.+\\.properties"; - try (ZipInputStream zis = new ZipInputStream(new FileInputStream(jarfile))) { - List<URL> result = new ArrayList<>(); - ClassLoader cl = new URLClassLoader( + try (ZipInputStream zis = new ZipInputStream(new FileInputStream(jarfile)); + URLClassLoader cl = new URLClassLoader( new URL[]{incomingURL}, - I18nBundleUtil.class.getClassLoader()); + I18nBundleUtil.class.getClassLoader())) { + List<URL> result = new ArrayList<>(); while (zis.available() != 0) { ZipEntry entry = zis.getNextEntry(); -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm