Skip to content

Commit

Permalink
Correct minor typo in exception message
Browse files Browse the repository at this point in the history
* 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 <bossitoxin@gmail.com>
  • Loading branch information
b0ssi committed Mar 13, 2021
1 parent c8d6d7d commit 82fe136
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 82fe136

Please sign in to comment.