Skip to content

Commit

Permalink
Remove unused @RegisterForReflection annotations (#7797)
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Dec 4, 2023
1 parent 8fb85b7 commit aa97c9a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package org.projectnessie.quarkus.config;

import io.quarkus.runtime.annotations.RegisterForReflection;
import io.quarkus.runtime.annotations.StaticInitSafe;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithConverter;
Expand All @@ -27,7 +26,6 @@

@StaticInitSafe
@ConfigMapping(prefix = "nessie.version.store.persist")
@RegisterForReflection(targets = RepoIdConverter.class)
public interface QuarkusStoreConfig extends StoreConfig {

@WithName(CONFIG_REPOSITORY_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package org.projectnessie.quarkus.config;

import io.quarkus.runtime.annotations.RegisterForReflection;
import io.quarkus.runtime.annotations.StaticInitSafe;
import io.smallrye.config.ConfigMapping;
import io.smallrye.config.WithDefault;
Expand All @@ -26,7 +25,6 @@
@ConfigMapping(prefix = "nessie.version.store")
public interface VersionStoreConfig {

@RegisterForReflection
enum VersionStoreType {
IN_MEMORY,
ROCKSDB,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import static org.projectnessie.versioned.storage.common.logic.Logics.repositoryLogic;

import io.micrometer.core.instrument.MeterRegistry;
import io.quarkus.runtime.annotations.RegisterForReflection;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.inject.Any;
import jakarta.enterprise.inject.Default;
Expand All @@ -44,11 +43,6 @@
import org.slf4j.LoggerFactory;

@ApplicationScoped
@RegisterForReflection(
classNames = {
"com.github.benmanes.caffeine.cache.SSSMW",
"com.github.benmanes.caffeine.cache.PSMW"
})
public class PersistProvider {
private static final Logger LOGGER = LoggerFactory.getLogger(PersistProvider.class);

Expand Down

0 comments on commit aa97c9a

Please sign in to comment.