Simplified access to extension
This commit is contained in:
parent
3142ebb892
commit
5671ca88ca
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue