File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
javamoney-cdi/src/main/java/org/javamoney/cdi/internal Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class CDISEServiceProvider implements ServiceProvider {
4141 /**
4242 * Default provider, using ServiceLoader.
4343 */
44- private ServiceProvider defaultServiceProvider = new PriorityAwareServiceProvider ();
44+ private final ServiceProvider defaultServiceProvider = new PriorityAwareServiceProvider ();
4545
4646 @ Override
4747 public <T > List <T > getServices (Class <T > serviceType ) {
Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ public static MonetaryAmountFactory amountFactory(InjectionPoint ip){
183183 }
184184
185185
186+ @ SuppressWarnings ("unchecked" )
186187 @ Produces @ Dependent
187188 public static Collection <MonetaryAmountFactory > amountFactories (InjectionPoint ip ){
188189 AmountSpec specAnnot = ip .getAnnotated ()!=null ?ip .getAnnotated ().getAnnotation (AmountSpec .class ):null ;
You can’t perform that action at this time.
0 commit comments