Skip to content

Commit

Permalink
[Truffle] The lock field of a RubyMutex should be final.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Feb 11, 2015
1 parent b2446b7 commit a114161
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -20,7 +20,7 @@
*/
public class RubyMutex extends RubyBasicObject {

private ReentrantLock lock = new ReentrantLock();
private final ReentrantLock lock = new ReentrantLock();

public RubyMutex(RubyClass rubyClass) {
super(rubyClass);
Expand Down

0 comments on commit a114161

Please sign in to comment.