Author: fbricon
Date: 2012-08-31 08:43:17 -0400 (Fri, 31 Aug 2012)
New Revision: 43350
Modified:
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java
Log:
Don't identify non-existing files
Modified:
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java
===================================================================
---
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java 2012-08-31
08:54:00 UTC (rev 43349)
+++
trunk/maven/plugins/org.jboss.tools.maven.core/src/org/jboss/tools/maven/core/internal/identification/FileIdentificationManager.java 2012-08-31
12:43:17 UTC (rev 43350)
@@ -72,7 +72,7 @@
}
public ArtifactKey identify(File file, IProgressMonitor monitor) throws CoreException {
- if (file == null) {
+ if (file == null || !file.exists()) {
return null;
}
if (monitor == null) {
Show replies by date