The remove(Object key) method in UndertowHeadersAdapter should return any previous value stored under the key; however, the current implementation always returns null.
This has already been fixed in main as part of commit 785212d#diff-8be9fc708f521a68eb27761d98ddd6ebc62ec5431095673c7273647a538fae6bR132-R136.
The
remove(Object key)method inUndertowHeadersAdaptershould return any previous value stored under the key; however, the current implementation always returnsnull.This has already been fixed in
mainas part of commit 785212d#diff-8be9fc708f521a68eb27761d98ddd6ebc62ec5431095673c7273647a538fae6bR132-R136.