Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

setProfileDirectory in DefaultWebDriverSupplier producing Java IO Converter issue #106

Closed
jguglielmi opened this issue Dec 27, 2013 · 4 comments

Comments

@jguglielmi
Copy link

Instead of taking a file as input, the user should also have the option of providing a string input as well for the location of a profile directory.

Proposed Change:

public void setProfileDirectory(String profileDirectory) {
this.profileDirectory = new File(profileDirectory);
}

public void setProfileDirectory(File profileDirectory) {
    this.profileDirectory = profileDirectory;
}
@raboof
Copy link
Contributor

raboof commented May 7, 2014

Does FitNesse correctly support having 2 methods with the same names and the same number of arguments, and choose the right one based on the types?

@jguglielmi
Copy link
Author

I jist use the string implementation and not the file. I've gotten that way and not the other.

@jguglielmi
Copy link
Author

I tried the file implementation and it threw file not found exceptions. This was 2-3 months ago. Not sure why. The string value was accepted though.

@jguglielmi
Copy link
Author

Solved upstream.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants