From 82fe136898db1f26ddd4fbbd8c7a74ca998b9574 Mon Sep 17 00:00:00 2001 From: bossi Date: Fri, 12 Mar 2021 22:06:31 +1100 Subject: [PATCH] Correct minor typo in exception message * Correct a minor typo in the exception message that responds to a failed attempt to add a folder to the Java source path which is already implicitly included by one of its parents Signed-off-by: bossi --- .../src/org/eclipse/jdt/ls/core/internal/ProjectUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/ProjectUtils.java b/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/ProjectUtils.java index ed14ddfd49..5f151b8dbf 100644 --- a/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/ProjectUtils.java +++ b/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/ProjectUtils.java @@ -172,7 +172,7 @@ public static boolean addSourcePath(IPath sourcePath, IPath[] exclusionPaths, IJ if (!parentSrcPaths.isEmpty()) { throw new CoreException(new Status(IStatus.ERROR, IConstants.PLUGIN_ID, Messages - .format("Cannot add the folder ''{0}'' to the source path because it''s parent folder is already in the source path of the project ''{1}''.", new String[] { sourcePath.toOSString(), project.getProject().getName() }))); + .format("Cannot add the folder ''{0}'' to the source path because its parent folder is already in the source path of the project ''{1}''.", new String[] { sourcePath.toOSString(), project.getProject().getName() }))); } if (exclusionPaths != null) {