|
53 | 53 | } |
54 | 54 | <# } #> |
55 | 55 | <# if (c.GetFeatures().CanUpdate) { #> |
56 | | - /** |
57 | | - * Puts the <#=TypeName(c)#> |
58 | | - * |
59 | | - * @param src<#=TypeName(c)#> The <#=TypeName(c)#> reference to PUT |
60 | | - * @param callback The callback to be called after success or failure |
61 | | - */ |
| 56 | + /** |
| 57 | + * Puts the <#=TypeName(c)#> |
| 58 | + * |
| 59 | + * @param src<#=TypeName(c)#> The <#=TypeName(c)#> reference to PUT |
| 60 | + * @param callback The callback to be called after success or failure |
| 61 | + */ |
62 | 62 | public void put(<#=TypeName(c)#> src<#=TypeName(c)#>, final ICallback<<#=TypeName(c)#>> callback) { |
63 | | - send(HttpMethod.PUT, callback, src<#=TypeName(c)#>); |
| 63 | + send(HttpMethod.PUT, callback, src<#=TypeName(c)#>); |
64 | 64 | } |
65 | 65 |
|
66 | | - /** |
67 | | - * Puts the <#=TypeName(c)#> |
68 | | - * |
69 | | - * @param src<#=TypeName(c)#> The <#=TypeName(c)#> reference to PUT |
70 | | - * @return The <#=TypeName(c)#> |
71 | | - * @throws ClientException An exception occurs if there was an error while the request was sent |
72 | | - */ |
| 66 | + /** |
| 67 | + * Puts the <#=TypeName(c)#> |
| 68 | + * |
| 69 | + * @param src<#=TypeName(c)#> The <#=TypeName(c)#> reference to PUT |
| 70 | + * @return The <#=TypeName(c)#> |
| 71 | + * @throws ClientException An exception occurs if there was an error while the request was sent |
| 72 | + */ |
73 | 73 | public <#=TypeName(c)#> put(<#=TypeName(c)#> src<#=TypeName(c)#>) throws ClientException { |
74 | | - return send(HttpMethod.PUT, src<#=TypeName(c)#>); |
| 74 | + return send(HttpMethod.PUT, src<#=TypeName(c)#>); |
75 | 75 | } |
76 | 76 | <# } #> |
77 | 77 | } |
0 commit comments