Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions labkey-client-api/src/org/labkey/remoteapi/Connection.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,11 @@ public Connection(String baseUrl, CredentialsProvider credentialsProvider)
* Constructs a new Connection object with a base URL that attempts authentication via .netrc/_netrc entry, if present.
* If not present, connects as guest.
* @param baseUrl The base URL
* @throws URISyntaxException if the given url is not a valid URI
* @throws IOException if there are problems reading the credentials
* @see NetrcCredentialsProvider
* @see #Connection(URI, CredentialsProvider)
*/
public Connection(String baseUrl) throws URISyntaxException, IOException
public Connection(String baseUrl) throws IOException
{
this(toURI(baseUrl), new NetrcCredentialsProvider(toURI(baseUrl)));
}
Expand Down
Loading