Skip to content

Commit 0ac9cda

Browse files
committed
Merge pull request #2 from mattmackenzie/master
return the HashMap from createGroupPad
2 parents 384593f + fd2d407 commit 0ac9cda

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
org/**/*.class
2+
*.ipr
3+
*.iws
4+
*.iml

org/etherpad_lite_client/EPLiteClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ public HashMap listPads(String groupID) {
122122
* @param groupID string
123123
* @param padName string
124124
*/
125-
public void createGroupPad(String groupID, String padName) {
125+
public HashMap createGroupPad(String groupID, String padName) {
126126
HashMap args = new HashMap();
127127
args.put("groupID", groupID);
128128
args.put("padName", padName);
129-
this.post("createGroupPad", args);
129+
return this.post("createGroupPad", args);
130130
}
131131

132132
/**

0 commit comments

Comments
 (0)