mirror of
https://github.com/google/nomulus.git
synced 2025-05-20 11:19:35 +02:00
Merge pull request #6 from wolfgangmeyers/java7-compatibility-fix
Make ForeignKeyIndex java 7 compatible
This commit is contained in:
commit
a31a626b16
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ public abstract class ForeignKeyIndex<E extends EppResource> extends BackupGroup
|
||||||
|
|
||||||
/** Create a {@link ForeignKeyIndex} key for a resource. */
|
/** Create a {@link ForeignKeyIndex} key for a resource. */
|
||||||
public static Key<ForeignKeyIndex<?>> createKey(EppResource resource) {
|
public static Key<ForeignKeyIndex<?>> createKey(EppResource resource) {
|
||||||
return Key.create(
|
return Key.<ForeignKeyIndex<?>>create(
|
||||||
RESOURCE_CLASS_TO_FKI_CLASS.get(resource.getClass()), resource.getForeignKey());
|
RESOURCE_CLASS_TO_FKI_CLASS.get(resource.getClass()), resource.getForeignKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue