diff options
author | Vikas Chandra | 2021-07-07 15:08:23 +0000 |
---|---|---|
committer | Vikas Chandra | 2021-07-12 07:52:37 +0000 |
commit | 2263dfb1695b6d0def814a3981aeaf652558a57f (patch) | |
tree | 4fb9cc1e67bd881206e4c24e5edf314e0d00ecb9 | |
parent | aa094e38b2d6cd045bb71b5b5ee628763df9a5a9 (diff) | |
download | eclipse.pde.ui-2263dfb1695b6d0def814a3981aeaf652558a57f.tar.gz eclipse.pde.ui-2263dfb1695b6d0def814a3981aeaf652558a57f.tar.xz eclipse.pde.ui-2263dfb1695b6d0def814a3981aeaf652558a57f.zip |
Bug 310538 - Missing quick fix when workspace encoding does not matchI20210713-1800I20210712-1800I20210712-0340
build.properties
Change-Id: I6532b2a53baf3f69e59b1e7b3149d360cc16ce7e
Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
Reviewed-on: https://git.eclipse.org/r/c/pde/eclipse.pde.ui/+/182859
-rw-r--r-- | ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/SourceEntryErrorReporter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/SourceEntryErrorReporter.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/SourceEntryErrorReporter.java index a54b148b6e..80a34e8de7 100644 --- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/SourceEntryErrorReporter.java +++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/SourceEntryErrorReporter.java @@ -647,7 +647,7 @@ public class SourceEntryErrorReporter extends BuildErrorReporter { String expected = fDefaultLibraryEncodings.remove(lib); if (expected != null) { if (!specified.equals(expected)) { - prepareError(name, specified, NLS.bind(PDECoreMessages.SourceEntryErrorReporter_0, new String[] {expected, specified, lib}), PDEMarkerFactory.M_ONLY_CONFIG_SEV, fEncodingSeverity,CompilerFlags.P_BUILD_ENCODINGS, PDEMarkerFactory.CAT_OTHER); + prepareError(name, expected, NLS.bind(PDECoreMessages.SourceEntryErrorReporter_0, new String[] {expected, specified, lib}), PDEMarkerFactory.B_REPLACE, fEncodingSeverity,CompilerFlags.P_BUILD_ENCODINGS, PDEMarkerFactory.CAT_OTHER); } } else { // encoding is specified, but workspace does not specify one |