You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by bf...@apache.org on 2011/06/09 20:53:04 UTC

svn commit: r1134036 - /oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java

Author: bfoster
Date: Thu Jun  9 18:53:04 2011
New Revision: 1134036

URL: http://svn.apache.org/viewvc?rev=1134036&view=rev
Log:

- updates to ProtocolFIle getParent()

--------------
OODT-194

Modified:
    oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java

Modified: oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java
URL: http://svn.apache.org/viewvc/oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java?rev=1134036&r1=1134035&r2=1134036&view=diff
==============================================================================
--- oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java (original)
+++ oodt/branches/protocol/protocol-api/src/main/java/org/apache/oodt/cas/protocol/ProtocolFile.java Thu Jun  9 18:53:04 2011
@@ -104,7 +104,7 @@ public class ProtocolFile {
 	 */
 	public ProtocolFile getAbsoluteFile() {
 		if (this.isRelative()) {
-			ProtocolFile parent = this.getParent();
+			ProtocolFile parent = this.getParent().getAbsoluteFile();
 			if (parent != null) {
 				return new ProtocolFile(StringUtils.chomp(parent.getPath(), SEPARATOR)
 						+ SEPARATOR + this.getPath(), this.isDir());