package org.sagebionetworks.bridge.dynamodb;

import java.util.Map;

import com.amazonaws.services.dynamodbv2.document.Item;
import com.amazonaws.services.dynamodbv2.document.api.ScanApi;

public class DynamoScanHelper {
    /** Scan a DDB object. */
    public Iterable<Item> scan(ScanApi scannable, String filterExpression, String projectionExpression, Map<String, String> nameMap, Map<String, Object> valueMap) {
        return scannable.scan(filterExpression, projectionExpression, nameMap, valueMap);
    }
}

@@ -43,31 +43,8 @@
 b;%0A%0A
-import java.util.Map;%0A%0A
 impo
@@ -95,16 +95,16 @@
 t.Item;%0A
+
 import c
@@ -273,212 +273,42 @@
 able
-, String filterExpression, String projectionExpression, Map%3CString, String%3E nameMap, Map%3CString, Object%3E valueMap) %7B%0A        return scannable.scan(filterExpression, projectionExpression, nameMap, valueMap
+) %7B%0A        return scannable.scan(
 );%0A 

change scan args