From 3a0442d9026bf6732e334b5d5db3cb6feddc8975 Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Sun, 10 Sep 2023 17:36:00 +0200 Subject: [PATCH] Clean-up and simplify Tracing-Options processing --- .../org/eclipse/pde/internal/core/TracingOptionsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/TracingOptionsManager.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/TracingOptionsManager.java index 5d53461899e..cca17177a92 100644 --- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/TracingOptionsManager.java +++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/TracingOptionsManager.java @@ -193,7 +193,7 @@ private static Properties getOptions(IPluginModelBase model) { private static void loadComments(InputStream stream, Properties modelOptions) throws IOException { String prevComment = ""; //$NON-NLS-1$ try (BufferedReader bufferedReader = new BufferedReader( - // Properties.store() always uses ISO_8859_1 encoding + // Properties.store() always uses ISO_8859_1 encoding new InputStreamReader(stream, StandardCharsets.ISO_8859_1))) { for (String line; (line = bufferedReader.readLine()) != null;) { if (line.startsWith("#") || line.trim().isEmpty()) { //$NON-NLS-1$