Skip to content

Commit

Permalink
[Truffle] Fix a couple Eclipse warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 1, 2016
1 parent e820f0f commit c583ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -24,6 +24,7 @@ private static String doGetMessage(Throwable cause) {
return cause.getMessage();
}

@SuppressWarnings("sync-override")
@Override
public final Throwable fillInStackTrace() {
return null;
Expand Down
Expand Up @@ -369,7 +369,7 @@ public int parseStringIntoBuffer(RubyLexer lexer, ByteList buffer, Encoding enc[
/* ignore backslashed spaces in %w */
} else if (c != end && !(begin != '\0' && c == begin)) {
buffer.append('\\');
lexer.pushback(c);;
lexer.pushback(c);
continue;
}
}
Expand Down

0 comments on commit c583ea3

Please sign in to comment.