Skip to content

Commit

Permalink
Grr Java
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonHaynes committed Mar 21, 2015
1 parent 9ef2352 commit a9fca68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edu/washington/escience/myria/io/UriSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public UriSource(@JsonProperty(value = "uri", required = true) final String uri)
public InputStream getInputStream() throws IOException {
URI parsedUri = URI.create(uri);

return parsedUri.getScheme() == "http" || parsedUri.getScheme() == "https"
return parsedUri.getScheme().equals("http") || parsedUri.getScheme().equals("https")
? parsedUri.toURL().openConnection().getInputStream()
: getHadoopFileSystemInputStream(parsedUri);
}
Expand Down

0 comments on commit a9fca68

Please sign in to comment.