Repository navigation
Commit 1ebfa5c
authored
refactor(pyamber): remove the empty double_blocking_queue module (apache#7034)
### What changes were proposed in this PR?
Deletes
`amber/src/main/python/core/util/customized_queue/double_blocking_queue.py`,
which has contained no code since 2022. All 16 remaining lines are the
ASF license header.
| When | What |
| --- | --- |
| 2021-07-23 | `DoubleBlockingQueue` added by apache#1262 |
| 2022-11-29 | apache#1725 switched `InternalQueue` to
`LinkedBlockingMultiQueue` and emptied the class — but left the file
behind |
| 2025-05-03 | apache#3415 stamped an ASF license header onto the now-empty
file |
Nothing imports it. The package barrel `customized_queue/__init__.py`
exports only `LinkedBlockingMultiQueue` and `IQueue`, so no `__init__`
change is needed.
−16 lines, no behaviour change.
### Any related issues, documentation, discussions?
Closes apache#7033
### How was this PR tested?
Existing tests only — there is nothing to add or remove, since the file
has no code and no spec.
From `amber/`:
- `python -m pytest src/test/python/core/util/customized_queue/` — 54
passed.
- `python -m ruff check src/main/python/core/util/customized_queue/` —
all checks passed.
- `python -m ruff format --check
src/main/python/core/util/customized_queue/` — 4 files already
formatted.
Verification that the file is empty and unreferenced, re-runnable by a
reviewer:
```
grep -vc '^\s*#\|^\s*$' amber/src/main/python/core/util/customized_queue/double_blocking_queue.py
grep -rn "double_blocking_queue\|DoubleBlockingQueue" . --include=*.py --include=*.scala --include=*.txt --include=*.toml
```
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5)1 parent ebc8c64 commit 1ebfa5c
1 file changed
Lines changed: 0 additions & 16 deletions
This file was deleted.
0 commit comments