Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor String path -> Path path #70

Closed
nygrenh opened this issue Sep 2, 2015 · 4 comments
Closed

Refactor String path -> Path path #70

nygrenh opened this issue Sep 2, 2015 · 4 comments
Milestone

Comments

@nygrenh
Copy link
Member

nygrenh commented Sep 2, 2015

Instead of strings for paths, we should prefer java.nio.file.Path.

@tieSari
Copy link

tieSari commented Sep 2, 2015

I could take this.
Sari R

@jamo
Copy link
Member

jamo commented Sep 2, 2015

You should be aware of the similar work at testmycode/tmc-netbeans#111

@tieSari
Copy link

tieSari commented Sep 3, 2015

Ok!
Sari

@ljleppan
Copy link
Member

ljleppan commented Sep 4, 2015

NB: Prefer usage of java.nio instead of java.io.

That is, use Files.exists(Path path)* instead of path.toFile().exists() etc. and preferably replace any existing usage of the class File with Path.

*) http://docs.oracle.com/javase/7/docs/api/java/nio/file/Files.html.

@jamo jamo modified the milestone: 2.0 Apr 13, 2016
@jamo jamo closed this as completed Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants