From adcb0b1aa0a7d63e45ee0a7b55665ce08a01827b Mon Sep 17 00:00:00 2001 From: Florian Angerer <florian.angerer@oracle.com> Date: Thu, 30 Nov 2017 09:47:47 +0100 Subject: [PATCH] Naming conventions. --- .../src/com/oracle/truffle/r/nodes/builtin/base/Rm.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Rm.java b/com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Rm.java index f3839b1da0..f7433458c1 100644 --- a/com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Rm.java +++ b/com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/Rm.java @@ -61,10 +61,10 @@ public abstract class Rm extends RBuiltinNode.Arg3 { @Specialization @TruffleBoundary protected Object rm(RAbstractStringVector list, REnvironment envir, boolean inherits, - @Cached("createSlowPath(list)") VectorAccess access) { - try (SequentialIterator access2 = access.access(list)) { - while (access.next(access2)) { - String key = access.getString(access2); + @Cached("createSlowPath(list)") VectorAccess listAccess) { + try (SequentialIterator listIter = listAccess.access(list)) { + while (listAccess.next(listIter)) { + String key = listAccess.getString(listIter); if (!removeFromEnv(envir, key, inherits)) { warning(RError.Message.UNKNOWN_OBJECT, key); } -- GitLab