Skip to content

Commit

Permalink
Clean up modules listing on context
Browse files Browse the repository at this point in the history
  • Loading branch information
GedMarc committed Feb 29, 2024
1 parent d1417d1 commit 4231749
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 237 deletions.
8 changes: 3 additions & 5 deletions src/main/java/com/guicedee/guicedinjection/GuiceContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,17 @@
import com.google.common.base.*;
import com.google.inject.*;
import com.guicedee.client.*;
import com.guicedee.guicedinjection.abstractions.*;
import com.guicedee.guicedinjection.interfaces.*;
import com.guicedee.guicedinjection.interfaces.annotations.*;
import io.github.classgraph.*;
import jakarta.validation.constraints.*;
import lombok.extern.java.Log;
import lombok.extern.java.*;

import java.lang.annotation.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.logging.*;
import java.util.regex.Pattern;

import static com.guicedee.guicedinjection.properties.GlobalProperties.*;
import static com.guicedee.guicedinjection.properties.GlobalProperties.getSystemPropertyOrEnvironment;

/**
* Provides an interface for reflection and injection in one.
Expand Down Expand Up @@ -139,6 +136,7 @@ public synchronized Injector inject()
cModules.addAll(iGuiceModules);

//cModules.add(new GuiceInjectorModule());
log.config("Modules - " + Arrays.toString(cModules.toArray()));
GuiceContext.instance().injector = Guice.createInjector(cModules);
GuiceContext.buildingInjector = false;
GuiceContext
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

exports com.guicedee.guicedinjection;
//exports com.guicedee.guicedinjection.exceptions;
exports com.guicedee.guicedinjection.abstractions;
//exports com.guicedee.guicedinjection.abstractions;
//exports com.guicedee.guicedinjection.pairing;
//exports com.guicedee.services.jsonrepresentation.json;
exports com.guicedee.guicedinjection.representations;
Expand Down

This file was deleted.

0 comments on commit 4231749

Please sign in to comment.