Skip to content

Commit 2b0c5bf

Browse files
committed
LocationService: small tweaks
1 parent 6bfb4ff commit 2b0c5bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scijava/io/location/LocationService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public interface LocationService extends HandlerService<URI, LocationResolver>,
5050
{
5151

5252
/**
53-
* Turns the given string into an {@link URI}, then resolves it to a
53+
* Turns the given string into a {@link URI}, then resolves it to a
5454
* {@link Location}.
5555
*
5656
* @param uriString the uri to resolve
@@ -80,7 +80,7 @@ default Location resolve(final String uriString) throws URISyntaxException {
8080
*/
8181
default Location resolve(URI uri) throws URISyntaxException {
8282
if (uri.getScheme() == null) { // Fallback for local files
83-
uri = new File(uri.getPath()).toURI();
83+
uri = new File(uri.getPath()).toURI();
8484
}
8585
final LocationResolver resolver = getResolver(uri);
8686
return resolver != null ? resolver.resolve(uri) : null;

0 commit comments

Comments
 (0)