Skip to content

Commit df163af

Browse files
committed
Cleanup
1 parent 179acc7 commit df163af

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

core/src/main/java/io/a2a/server/events/EventQueue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void enqueueEvent(Event event) {
123123

124124
@Override
125125
public void awaitQueuePollerStart() throws InterruptedException {
126-
log.debug("Waiting for queue poller to start om {}", this);
126+
log.debug("Waiting for queue poller to start on {}", this);
127127
pollingStartedLatch.await(10, TimeUnit.SECONDS);
128128
log.debug("Queue poller started on {}", this);
129129
}

quarkus-sdk/src/test/java/io/a2a/server/apps/quarkus/A2AServerResourceTest.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -878,25 +878,4 @@ private CompletableFuture<HttpResponse<Stream<String>>> initialiseStreamingReque
878878
private static class BreakException extends RuntimeException {
879879

880880
}
881-
882-
public static void main(String[] args) {
883-
List<String> l = List.of("A", "B", "C", "D", "E");
884-
885-
System.out.println("== For loop");
886-
for (String s : l) {
887-
System.out.println(s);
888-
if (s.equals("C")) {
889-
break;
890-
}
891-
}
892-
893-
System.out.println("== ForEach");
894-
Stream<String> str = l.stream();
895-
str.forEach(s -> {
896-
System.out.println(s);
897-
if (s.equals("C")) {
898-
throw new RuntimeException();
899-
}
900-
});
901-
}
902881
}

0 commit comments

Comments
 (0)