-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
zae-lambda-java-gate/src/main/java/co/zeroae/gate/Utils.java
Lines 44 to 59 in 6957e88
| /** | |
| * The Plugin.Component class has a bug when the baseUrl fails to resolve uniquely. | |
| * This fixes the bug by assigning the Class' hashCode instead of the Plugin level one. | |
| */ | |
| private static class UniqueHashComponent extends Plugin.Component { | |
| final private int hashCode; | |
| public UniqueHashComponent(Class<? extends Resource> resourceClass) throws MalformedURLException { | |
| super(resourceClass); | |
| hashCode = resourceClass.hashCode(); | |
| } | |
| @Override | |
| public int hashCode() { | |
| return hashCode; | |
| } | |
| } |
Before we do this, we need to:
- File Issue with GateNLP Project.
- Create PR if necessary.
- Wait for PR to be merged.
Metadata
Metadata
Assignees
Labels
No labels