You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2016/02/15 10:16:52 UTC

incubator-taverna-commandline git commit: File to Path in taverna-run-api

Repository: incubator-taverna-commandline
Updated Branches:
  refs/heads/master cd5b2ee27 -> fb5a48614


File to Path in taverna-run-api


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/commit/fb5a4861
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/tree/fb5a4861
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/diff/fb5a4861

Branch: refs/heads/master
Commit: fb5a486143a19145cbbcdfc820ff6211c154134d
Parents: cd5b2ee
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Mon Feb 15 09:16:41 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Mon Feb 15 09:16:41 2016 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/taverna/commandline/CommandLineTool.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-commandline/blob/fb5a4861/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java
----------------------------------------------------------------------
diff --git a/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java b/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java
index 92f6990..010c9a8 100644
--- a/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java
+++ b/taverna-commandline-common/src/main/java/org/apache/taverna/commandline/CommandLineTool.java
@@ -196,7 +196,7 @@ public class CommandLineTool {
 				 * know which user the command line tool will be running as).
 				 */
 				if (credentialManagerDirPath != null) {
-					credentialManager.setConfigurationDirectoryPath(new File(
+					credentialManager.setConfigurationDirectoryPath(Paths.get(
 							credentialManagerDirPath));
 				}