Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Fix #2921 adding a getter to access namespace from the path #59

Merged
merged 1 commit into from
Oct 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/io/fabric8/mockwebserver/crud/AttributeSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ public int hashCode() {
return attributes != null ? attributes.hashCode() : 0;
}

public Attribute getAttribute(String key) {
return attributes.get(new Key(key));
}

@Override
public String toString() {
return "{" +
Expand Down