Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
radovanradic committed Nov 27, 2024
1 parent fda224f commit 9face31
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import io.micronaut.context.annotation.Parameter;
import io.micronaut.core.annotation.AnnotationMetadata;
import io.micronaut.core.annotation.AnnotationValue;
import io.micronaut.core.annotation.Internal;
import io.micronaut.core.annotation.NonNull;
import io.micronaut.core.annotation.Nullable;
import io.micronaut.core.util.CollectionUtils;
Expand Down Expand Up @@ -53,7 +54,7 @@
* @since 4.11
*/
@EachBean(DataSource.class)
//@Requires(condition = OracleClientInfoCondition.class)
@Internal
final class OracleClientInfoConnectionCustomizer implements ConnectionCustomizer {

private static final String NAME_MEMBER = "name";
Expand Down Expand Up @@ -88,8 +89,8 @@ final class OracleClientInfoConnectionCustomizer implements ConnectionCustomizer

private final boolean enabled;

OracleClientInfoConnectionCustomizer(@Nullable DataSource dataSource,
@Parameter DataJdbcConfiguration jdbcConfiguration,
OracleClientInfoConnectionCustomizer(@Parameter DataJdbcConfiguration jdbcConfiguration,
@Nullable DataSource dataSource,
ApplicationContext applicationContext,
@Nullable ApplicationConfiguration applicationConfiguration) {
this.applicationName = applicationConfiguration != null ? applicationConfiguration.getName().orElse(null) : null;
Expand Down

0 comments on commit 9face31

Please sign in to comment.