Author: rob.stryker(a)jboss.com
Date: 2009-04-02 01:59:36 -0400 (Thu, 02 Apr 2009)
New Revision: 14441
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java
Log:
NPE
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java
===================================================================
---
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java 2009-04-02
05:59:04 UTC (rev 14440)
+++
trunk/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/internal/ArchiveImpl.java 2009-04-02
05:59:36 UTC (rev 14441)
@@ -164,7 +164,7 @@
public void setDestinationPath(IPath path) {
String destPath = getRawDestinationPath();
attributeChanged(DESTINATION_ATTRIBUTE, destPath == null ? null : destPath.toString(),
path == null ? null : path.toString());
- packageDelegate.setToDir(path.toString());
+ packageDelegate.setToDir(path == null ? null : path.toString());
}
/*
Show replies by date