rdf4j icon indicating copy to clipboard operation
rdf4j copied to clipboard

Convert APIs using File to Path

Open abrokenjester opened this issue 7 years ago • 5 comments

(Migrated from https://openrdf.atlassian.net/browse/SES-1791)

As part of the Java-7 changes, we can support asynchronous IO calls and other enhancements by converting from File to Path in API calls.

http://docs.oracle.com/javase/tutorial/essential/io/legacy.html

abrokenjester avatar Sep 07 '16 00:09 abrokenjester

According to the same log, this is related to #476

barthanssens avatar Jul 23 '17 15:07 barthanssens

And replace some try-finally by try-with-resources in org.eclipse.rdf4j.common.io etc

barthanssens avatar Oct 02 '18 21:10 barthanssens

@barthanssens be aware that any changes in our public APIs for this will have to happen as part of a major new release - unless you can implement in a way that is backward compatible.

abrokenjester avatar Oct 02 '18 23:10 abrokenjester

Yeah, I was thinking on changing some internal stuff first, without changing the signatures of the methods... (breaking changes indeed require a major release)

barthanssens avatar Oct 03 '18 05:10 barthanssens

@barthanssens is this issue still on your radar?

abrokenjester avatar Apr 09 '21 01:04 abrokenjester