mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Update Guice to 7.0.0 (#430)
Co-authored-by: Josua Parks <[email protected]>
This commit is contained in:
1 parent
5541935653
commit
2a2e76f491
10 files changed
+90
-38
No files matched your search
@@ -342,7 +342,7 @@ public final class FactoryProvider3<F> // Carbon - public
|
||||
Key<?> paramKey = Annotations.getKey(param, method, paramAnnotations[p++], errors);
|
||||
Class<?> underlylingType = paramKey.getTypeLiteral().getRawType();
|
||||
if (underlylingType.equals(Provider.class)
|
||||
|| underlylingType.equals(javax.inject.Provider.class)) {
|
||||
|| underlylingType.equals(jakarta.inject.Provider.class)) {
|
||||
errors.addMessage(
|
||||
"A Provider may not be a type in a factory method of an AssistedInject."
|
||||
+ "\n Offending instance is parameter [%s] with key [%s] on method [%s]",
|
||||
|
||||
Reference in new issue
Block a user