From c4a577ca076ac57ca365707e8219a398f7a9d520 Mon Sep 17 00:00:00 2001
From: Christian Humer <christian.humer@oracle.com>
Date: Wed, 22 Nov 2017 19:31:08 +0100
Subject: [PATCH] Style fix.

---
 .../src/com/oracle/truffle/r/ffi/impl/nodes/CoerceNodes.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/nodes/CoerceNodes.java b/com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/nodes/CoerceNodes.java
index 77f65033f8..64a35769df 100644
--- a/com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/nodes/CoerceNodes.java
+++ b/com.oracle.truffle.r.ffi.impl/src/com/oracle/truffle/r/ffi/impl/nodes/CoerceNodes.java
@@ -176,7 +176,7 @@ public final class CoerceNodes {
         }
 
         // Note: caches should cover all valid possibilities
-        @Specialization(guards = {"!isS4Object(value)", "cachedMode == mode", "isValidMode(cachedMode)", "isNotList(value)",}, limit = "99")
+        @Specialization(guards = {"!isS4Object(value)", "cachedMode == mode", "isValidMode(cachedMode)", "isNotList(value)"}, limit = "99")
         Object doCachedNotList(Object value, @SuppressWarnings("unused") int mode,
                         @Cached("mode") @SuppressWarnings("unused") int cachedMode,
                         @Cached("createCastNode(cachedMode)") CastNode castNode) {
@@ -192,7 +192,7 @@ public final class CoerceNodes {
         }
 
         @Specialization(replaces = {"doCachedNotList", "doCached"}, guards = {"!isS4Object(value)", "isValidMode(mode)"})
-        Object doCached(Object value, @SuppressWarnings("unused") int mode) {
+        Object doCached(Object value, int mode) {
             String type = value != null ? value.getClass().getSimpleName() : "null";
             throw RInternalError.unimplemented(String.format("Rf_coerceVector unimplemented for type %s or mode %s.", type, mode));
         }
-- 
GitLab