Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

Commit 767874f

Browse files
authored
[ggj][engx] chore: remove debug printfs (#627)
* fix: fix dep ordering in Bazel dedupe rules * feat: add a basic trie * fix: add hashCode() and equals() to Field * fix: add equals() and hashCode() for MethodArgument * feat: add a TriFunction * feat: add DFS traversal to Trie * feat: add support for nested method sigs (aip.dev/4232) * chore: remove debug printfs
1 parent 60f65ea commit 767874f

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

src/main/java/com/google/api/generator/gapic/protoparser/HttpRuleParser.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,8 @@ private static void checkHttpFieldIsValid(String binding, Message inputMessage,
130130
Preconditions.checkState(
131131
inputMessage.fieldMap().containsKey(binding),
132132
String.format(
133-
"Expected message %s to contain field %s but none found"
134-
+ ", DEL: "
135-
+ inputMessage.fieldMap().keySet(),
136-
inputMessage.name(),
137-
binding));
133+
"Expected message %s to contain field %s but none found",
134+
inputMessage.name(), binding));
138135
Field field = inputMessage.fieldMap().get(binding);
139136
boolean fieldCondition = !field.isRepeated();
140137
if (!isBody) {

src/main/java/com/google/api/generator/gapic/protoparser/Parser.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,8 @@ static LongrunningOperation parseLro(
569569
Preconditions.checkNotNull(
570570
metadataMessage,
571571
String.format(
572-
"LRO metadata message %s not found in method %s" + ", DEL: " + messageTypes.keySet(),
573-
metadataTypeName,
574-
methodDescriptor.getName()));
572+
"LRO metadata message %s not found in method %s",
573+
metadataTypeName, methodDescriptor.getName()));
575574

576575
return LongrunningOperation.withTypes(responseMessage.type(), metadataMessage.type());
577576
}

0 commit comments

Comments
 (0)