Fix the "'<>' with anonymous inner classes is not supported" error.

PiperOrigin-RevId: 520705926
This commit is contained in:
Jiuqiang Tang 2023-03-30 12:03:11 -07:00 committed by Copybara-Service
parent d7fd5b0cf5
commit 984073bf73
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ public final class FaceStylizer extends BaseVisionTaskApi {
// TODO: Consolidate OutputHandler and TaskRunner.
OutputHandler<FaceStylizerResult, MPImage> handler = new OutputHandler<>();
handler.setOutputPacketConverter(
new OutputHandler.OutputPacketConverter<>() {
new OutputHandler.OutputPacketConverter<FaceStylizerResult, MPImage>() {
@Override
public FaceStylizerResult convertToTaskResult(List<Packet> packets)
throws MediaPipeException {

View File

@ -43,8 +43,8 @@ cc_library(
name = "lib_halide_static",
srcs = select({
"@halide//:halide_config_windows_x86_64": [
"lib/Release/Halide.lib",
"bin/Release/Halide.dll",
"lib/Release/Halide.lib",
],
"//conditions:default": [
"lib/libHalide.a",