Skip to content

Commit

Permalink
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -47,8 +47,12 @@ public Rope getRope(String string) {
if (key != null) {
final WeakReference<Rope> ropeReference = ropesTable.get(key);

if (ropeReference != null && ropeReference.get() != null) {
return ropeReference.get();
if (ropeReference != null) {
final Rope rope = ropeReference.get();

if (rope != null) {
return rope;
}
}
}
} finally {

0 comments on commit 45b9937

Please sign in to comment.