[jbosstools-commits] JBoss Tools SVN: r43983 - branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Sep 24 21:50:49 EDT 2012


Author: rob.stryker at jboss.com
Date: 2012-09-24 21:50:49 -0400 (Mon, 24 Sep 2012)
New Revision: 43983

Modified:
   branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
Log:
fix for unit test regressions caused by JBIDE-12494

Modified: branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java
===================================================================
--- branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-25 01:36:57 UTC (rev 43982)
+++ branches/jbosstools-4.0.0.Alpha2/archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/util/PathUtils.java	2012-09-25 01:50:49 UTC (rev 43983)
@@ -66,9 +66,6 @@
 	// Get an absolute path, workspace-absolute or fs-absolute
 	public static String getAbsoluteLocation(String expression,
 			String projectName, boolean inWorkspace, double version) {
-		if( inWorkspace && projectName == null )
-			return null;
-		
 		if( inWorkspace && ("".equals(expression) || ".".equals(expression))) //$NON-NLS-1$ //$NON-NLS-2$
 			return new Path(projectName).makeAbsolute().toString();
 



More information about the jbosstools-commits mailing list