Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
RELNOTES=Replace references to immutablejs proto features in favor of protobuf-javascript for j2cl users.
PiperOrigin-RevId: 677763250
  • Loading branch information
lukesandberg authored and Google Java Core Libraries committed Sep 23, 2024
1 parent a8f2c35 commit 0fe63ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,14 @@ private static String toLocaleString(double value) {
return ((NativeNumber) (Object) value).toLocaleString("en-US", JavaLikeOptions.INSTANCE);
}

@JsType(isNative = true, namespace = "proto.im")
@JsType(isNative = true, namespace = "jspb")
private static class Message {
public native String serialize();
}

@JsMethod(namespace = "proto.im.debug")
@JsMethod(namespace = "jspb.debug")
private static native Object dump(Message msg) /*-{
// Emtpy stub to make GWT happy. This will never get executed under GWT.
// Empty stub to make GWT happy. This will never get executed under GWT.
throw new Error();
}-*/;

Expand Down

0 comments on commit 0fe63ae

Please sign in to comment.