Clean up warnings in Jsr354NumberFormatAnnotationFormatterFactory

This commit is contained in:
Sam Brannen
2020-03-18 17:04:28 +01:00
parent 678b6edad2
commit e6814f6609

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,9 +53,8 @@ public class Jsr354NumberFormatAnnotationFormatterFactory extends EmbeddedValueR
@Override
@SuppressWarnings("unchecked")
public Set<Class<?>> getFieldTypes() {
return (Set) Collections.singleton(MonetaryAmount.class);
return Collections.singleton(MonetaryAmount.class);
}
@Override