Change-Id: I546219be7348da37bb4a35d4cda208942b155b18
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
}
@SuppressWarnings({ "rawtypes", "unchecked" })
- public static InstanceIdentifierBuilder<?> builder(InstanceIdentifier<?> basePath) {
- return new BuilderImpl(basePath.path,basePath.targetType);
+ public static <T extends DataObject> InstanceIdentifierBuilder<T> builder(InstanceIdentifier<T> basePath) {
+ return new BuilderImpl<T>(basePath.path,basePath.targetType);
}
private static final class BuilderImpl<T extends DataObject> implements InstanceIdentifierBuilder<T> {