Add comment in GroupOperation for javadoc
Change-Id: Idef516e9e7af3d8fdb94ba3d13da8bb614e12c55
Showing
1 changed file
with
8 additions
and
0 deletions
| ... | @@ -149,6 +149,14 @@ public final class GroupOperation { | ... | @@ -149,6 +149,14 @@ public final class GroupOperation { |
| 149 | 149 | ||
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | + /** | ||
| 153 | + * Creates failure group operation object by setting failure code | ||
| 154 | + * to inform the failure reason. | ||
| 155 | + * | ||
| 156 | + * @param groupOperation the original group operation | ||
| 157 | + * @param failureCode failure code for a failed group operation | ||
| 158 | + * @return failed group operation object | ||
| 159 | + */ | ||
| 152 | public static GroupOperation createFailedGroupOperation(GroupOperation groupOperation, | 160 | public static GroupOperation createFailedGroupOperation(GroupOperation groupOperation, |
| 153 | GroupMsgErrorCode failureCode) { | 161 | GroupMsgErrorCode failureCode) { |
| 154 | checkNotNull(groupOperation); | 162 | checkNotNull(groupOperation); | ... | ... |
-
Please register or login to post a comment