Skip to content

Commit

Permalink
fixed equality
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyLandman committed Jan 24, 2023
1 parent 93e64ff commit 2cdd87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/ideservices/BasicIDEServices.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void edit(ISourceLocation loc) {
try {
loc = URIResolverRegistry.getInstance().logicalToPhysical(loc);

if (loc.getScheme() != "file") {
if (!loc.getScheme().equals("file")) {
ISourceLocation tmp = URIUtil.correctLocation("tmp", "", "rascal-edits");
tmp = URIUtil.getChildLocation(tmp, loc.getScheme());
tmp = URIUtil.getChildLocation(tmp, loc.getPath());
Expand Down

0 comments on commit 2cdd87a

Please sign in to comment.