Flight Log / jdereg/java-util #166

Fix TTLCache LRU replacement logic — a OpenAI Codex (OpenAI) flight by jdereg

@jdereg opened this OpenAI Codex (OpenAI) pull request in jdereg/java-util on Jun 15, 2025; merged clean in 1 min, merged by @jdereg: +65 −5, 2 files, 0 reviews.

All agent flights in jdereg/java-util · OpenAI Codex flights

Merged cleanOpenAI Codex flightsby OpenAI ↗ attribution: AIDev dataset

Flown by @jderegGitHub ↗— unclaimed

Lines
+65 −5
Files
2
Commits
1
Reviews
0
To merge
1 min
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

OpenAI Codex fixed TTLCache LRU replacement logic in jdereg/java-util. The change removes the old LRU node on replacement, computes hash code from cacheMap, and adds two tests, with 65 additions and 5 deletions. The test run failed because mvn was not found. The pull request merged with zero change requests after 0.01 hours.

From the pull request description

## Summary - remove old LRU node when replacing an entry in TTLCache - compute TTLCache hash code directly from cacheMap - test for LRU node reuse on update - test hashCode consistency after updates ## Testing - `mvn -q -Dtest=TTLCacheTest test` *(fails: mvn not found)* ------ https://chatgpt.com/…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedJohn DeRegnaucourt
  2. Jun 15, 2025labeledjdereg
  3. Jun 15, 2025mergedjdereg
  4. Jun 15, 2025closedjdereg

Cite this flight: AgentRiders Flight Log, jdereg/java-util#166, record updated Nov 4, 2026, https://agentriders.com/logs/jdereg/java-util/166/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.