Remove the implements of funcional interface

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-08-29 21:31:09 -03:00
parent 51450a363d
commit e89b3c1f13
1 changed files with 3 additions and 4 deletions

View File

@ -24,7 +24,6 @@ import java.util.AbstractMap.SimpleEntry;
import java.util.Map.Entry;
import java.util.concurrent.atomic.AtomicReference;
import io.cloudevents.fun.BinaryFormatAttributeMapper;
import io.cloudevents.v03.ContextAttributes;
/**
@ -32,12 +31,12 @@ import io.cloudevents.v03.ContextAttributes;
* @author fabiojose
*
*/
public class BinaryFormatAttributeMapperImpl implements BinaryFormatAttributeMapper {
public class BinaryFormatAttributeMapperImpl {
private BinaryFormatAttributeMapperImpl() {}
public static final String HEADER_PREFIX = "ce-";
@Override
public Map<String, String> map(final Map<String, Object> headers) {
public static Map<String, String> map(final Map<String, Object> headers) {
Objects.requireNonNull(headers);
headers.keySet()