|
/** |
|
* 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:
zae-lambda-java-gate/src/main/java/co/zeroae/gate/Utils.java
Lines 44 to 59 in 6957e88
Before we do this, we need to: