mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logging for EA-100336 - NPE: CopyFilesOrDirectoriesHandler.copyToDirectory
This commit is contained in:
+1
@@ -325,6 +325,7 @@ public class CopyFilesOrDirectoriesHandler extends CopyHandlerDelegateBase {
|
||||
.toArray(SmartPsiElementPointer[]::new);
|
||||
for (SmartPsiElementPointer child : children) {
|
||||
PsiFileSystemItem item = (PsiFileSystemItem)child.getElement();
|
||||
LOG.assertTrue(item != null, child.getVirtualFile());
|
||||
PsiFile f = copyToDirectory(item, item.getName(), subdirectory, choice, title);
|
||||
if (firstFile == null) {
|
||||
firstFile = f;
|
||||
|
||||
Reference in New Issue
Block a user