Skip to content

Commit

Permalink
Remove private field injection from within our own extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
manovotn committed Oct 31, 2019
1 parent b03ae50 commit c395684
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ public class CDIDelegatingTransactionManager implements TransactionManager, Seri
*/
@Inject
@Initialized(TransactionScoped.class)
private Event<Transaction> transactionScopeInitialized;
Event<Transaction> transactionScopeInitialized;

/**
* An {@link Event} that can {@linkplain Event#fire(Object) fire}
* {@link Object}s before the {@linkplain TransactionScoped transaction scope} is destroyed.
*/
@Inject
@BeforeDestroyed(TransactionScoped.class)
private Event<Object> transactionScopeBeforeDestroyed;
Event<Object> transactionScopeBeforeDestroyed;

/**
* An {@link Event} that can {@linkplain Event#fire(Object) fire}
* {@link Object}s when the {@linkplain TransactionScoped transaction scope} is destroyed.
*/
@Inject
@Destroyed(TransactionScoped.class)
private Event<Object> transactionScopeDestroyed;
Event<Object> transactionScopeDestroyed;

/**
* Delegating transaction manager call to com.arjuna.ats.jta.{@link com.arjuna.ats.jta.TransactionManager}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public class QuarkusObjectMapperContextResolver implements ContextResolver<ObjectMapper> {

@Inject
private ObjectMapper objectMapper;
ObjectMapper objectMapper;

@Override
public ObjectMapper getContext(Class<?> type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class QuarkusJsonbContextResolver implements ContextResolver<Jsonb> {

@Inject
private Jsonb jsonb;
Jsonb jsonb;

@Override
public Jsonb getContext(Class<?> type) {
Expand Down

0 comments on commit c395684

Please sign in to comment.