Simplified access to extension

This commit is contained in:
Ken Stevens 2019-01-09 11:34:16 -05:00 committed by James Agnew
parent 3142ebb892
commit 5671ca88ca
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ public class CanonicalSubscription implements Serializable {
}
}
public Map<String, String> getChannelExtensions() {
return Collections.unmodifiableMap(myChannelExtensions);
public String getChannelExtension(String url) {
return myChannelExtensions.get(url);
}
public void setChannelExtensions(Map<String, String> theChannelExtensions) {