GP-0: Fixing javadoc error

This commit is contained in:
Ryan Kurtz
2024-12-05 07:00:39 -05:00
parent 233b05e2b9
commit 586a526b1a

View File

@@ -110,7 +110,7 @@ public class FileDataTypeManager extends StandAloneDataTypeManager
* @param languageId valid language ID (see appropriate *.ldefs file for defined IDs)
* @param compilerSpecId valid compiler spec ID which corresponds to the language ID.
* @return data-type manager backed by the specified packedDbFile
* @returns DuplicateFileException if {@code packedDbFile} already exists
* @throws DuplicateFileException if {@code packedDbFile} already exists
* @throws LanguageNotFoundException if specified {@code languageId} not defined.
* @throws CompilerSpecNotFoundException if specified {@code compilerSpecId} is not defined
* for the specified language.
@@ -338,9 +338,8 @@ public class FileDataTypeManager extends StandAloneDataTypeManager
try {
root.setName(newName);
}
catch (DuplicateNameException e) {
}
catch (InvalidNameException e) {
catch (InvalidNameException | DuplicateNameException e) {
// do nothing
}
}