#fixed code
                             @SuppressWarnings("unchecked")
	private static Map<Class<?>, BiConsumer<ValueBinder<?>, Iterable>> createIterableTypeMapping() {
		Map<Class<?>, BiConsumer<ValueBinder<?>, Iterable>> map = new LinkedHashMap<>();
		map.put(com.google.cloud.Date.class, ValueBinder::toDateArray);
		map.put(Boolean.class, ValueBinder::toBoolArray);
		map.put(Long.class, ValueBinder::toInt64Array);
		map.put(String.class, ValueBinder::toStringArray);
		map.put(Double.class, ValueBinder::toFloat64Array);
		map.put(Timestamp.class, ValueBinder::toTimestampArray);
		map.put(ByteArray.class, ValueBinder::toBytesArray);

		return Collections.unmodifiableMap(map);
	}
#vulnerable code 
                             @SuppressWarnings("unchecked")
	private static Map<Class<?>, BiConsumer<ValueBinder<?>, Iterable>> createIterableTypeMapping() {
		// Java 8 has compile errors when using the builder extension methods
		// @formatter:off
		ImmutableMap.Builder<Class<?>, BiConsumer<ValueBinder<?>, Iterable>> builder =
						new ImmutableMap.Builder<>();
		// @formatter:on

		builder.put(com.google.cloud.Date.class, ValueBinder::toDateArray);
		builder.put(Boolean.class, ValueBinder::toBoolArray);
		builder.put(Long.class, ValueBinder::toInt64Array);
		builder.put(String.class, ValueBinder::toStringArray);
		builder.put(Double.class, ValueBinder::toFloat64Array);
		builder.put(Timestamp.class, ValueBinder::toTimestampArray);
		builder.put(ByteArray.class, ValueBinder::toBytesArray);

		return builder.build();
	} 
                            #location 2 
                            #vulnerability type CHECKERS_IMMUTABLE_CAST