Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit a663764

Browse files
Lorenzo BoccacciaLorenzo Boccaccia
authored andcommitted
Merge pull request #1601 from OpenNTF/fix-subs
added self url for properly constructing subcommunities
2 parents 84e4c16 + 3e35385 commit a663764

File tree

1 file changed

+9
-1
lines changed
  • sdk/com.ibm.sbt.core/src/main/java/com/ibm/sbt/services/client/connections/communities

1 file changed

+9
-1
lines changed

sdk/com.ibm.sbt.core/src/main/java/com/ibm/sbt/services/client/connections/communities/Community.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,15 @@ public String getContent() {
125125
public String getCommunityUrl() {
126126
return getAsString(CommunityXPath.communityUrl);
127127
}
128-
128+
129+
/**
130+
* Returns the communityUrl
131+
*
132+
* @return communityUrl
133+
*/
134+
public String getSelfUrl() {
135+
return getAsString(CommunityXPath.communityAtomUrl);
136+
}
129137
/**
130138
* Returns the logoUrl
131139
*

0 commit comments

Comments
 (0)