Skip to content

Commit

Permalink
Fix #51
Browse files Browse the repository at this point in the history
  • Loading branch information
xkr47 committed Mar 11, 2013
1 parent 8b50165 commit d9b4a8f
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
Expand Down Expand Up @@ -125,11 +124,7 @@ private IFile getBestFileForLocation(IWorkspaceRoot root, IPath path) {
}

private URI uriForPath(IPath path) {
try {
return new URI("file", null, path.toString(), null);
} catch (URISyntaxException e) {
throw new RuntimeException(e);
}
return new File(path.toString()).toURI();
}

@Override
Expand Down

0 comments on commit d9b4a8f

Please sign in to comment.