Skip to content

Commit de3a7f2

Browse files
author
Caitlin Bales (MSFT)
committed
1 parent 3cc433e commit de3a7f2

File tree

59 files changed

+392
-373
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+392
-373
lines changed

Templates/Java/BaseJavaModel.template.tt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@
391391
var parameterSignatureBuilder = new StringBuilder();
392392
foreach (var p in method.Parameters)
393393
{
394-
parameterSignatureBuilder.AppendFormat("\r\n * @param {0} The {0}", ParamName(p));
394+
parameterSignatureBuilder.AppendFormat("\r\n * @param {0} the {0}", ParamName(p));
395395
}
396396
return parameterSignatureBuilder.ToString();
397397
}
@@ -716,6 +716,7 @@ public {1} {2}{3}{4} {{";
716716

717717
/**
718718
* Gets the raw representation of this class
719+
*
719720
* @return the raw representation of this class
720721
*/
721722
public JsonObject getRawObject() {
@@ -724,17 +725,18 @@ public {1} {2}{3}{4} {{";
724725

725726
/**
726727
* Gets serializer
728+
*
727729
* @return the serializer
728730
*/
729731
protected ISerializer getSerializer() {
730732
return serializer;
731733
}
732734

733735
/**
734-
* Sets the raw json object
736+
* Sets the raw JSON object
735737
*
736-
* @param serializer The serializer
737-
* @param json The json object to set this object to
738+
* @param serializer the serializer
739+
* @param json the JSON object to set this object to
738740
*/
739741
public void setRawObject(final ISerializer serializer, final JsonObject json) {
740742
this.serializer = serializer;

Templates/Java/models_generated/IBaseClient.java.tt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ foreach (var prop in model.EntityContainer.Properties)
1515
#>
1616

1717
/**
18-
* Gets the collection of <#=propertyName#> objects.
18+
* Gets the collection of <#=propertyName#> objects
1919
*
20-
* @return The request builder for the collection of <#=propertyName#> objects
20+
* @return the request builder for the collection of <#=propertyName#> objects
2121
*/
2222
<#=ITypeCollectionRequestBuilder(prop)#> <#=prop.Name#>();
2323

2424
/**
25-
* Gets a single <#=propertyName#>.
25+
* Gets a single <#=propertyName#>
2626
*
27-
* @param id The id of the <#=propertyName#> to retrieve.
28-
* @return The request builder for the <#=propertyName#> object
27+
* @param id the id of the <#=propertyName#> to retrieve
28+
* @return the request builder for the <#=propertyName#> object
2929
*/
3030
<#=ITypeRequestBuilder(prop)#> <#=prop.Name#>(final String id);
3131
<#
@@ -35,9 +35,9 @@ foreach (var prop in model.EntityContainer.Properties)
3535
#>
3636

3737
/**
38-
* Gets <#=TypeRequestBuilder(c)#>.
38+
* Gets the <#=TypeRequestBuilder(c)#>
3939
*
40-
* @return the <#=prop.Projection.Type.GetTypeString()#>.
40+
* @return the <#=prop.Projection.Type.GetTypeString()#>
4141
*/
4242
<#=ITypeRequestBuilder(prop)#> <#=prop.Name#>();
4343
<#

Templates/Java/requests_extensions/Client.java.tt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
2828

2929
/**
3030
* Sets the serializer
31-
* @param serializer The serializer
31+
* @param serializer the serializer
3232
* @return the instance of this builder
3333
*/
3434
public Builder serializer(final ISerializer serializer) {
@@ -38,7 +38,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
3838

3939
/**
4040
* Sets the httpProvider
41-
* @param httpProvider The httpProvider
41+
* @param httpProvider the httpProvider
4242
* @return the instance of this builder
4343
*/
4444
public Builder httpProvider(final IHttpProvider httpProvider) {
@@ -48,7 +48,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
4848

4949
/**
5050
* Sets the authentication provider
51-
* @param authenticationProvider The authentication provider
51+
* @param authenticationProvider the authentication provider
5252
* @return the instance of this builder
5353
*/
5454
public Builder authenticationProvider(final IAuthenticationProvider authenticationProvider) {
@@ -58,7 +58,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
5858

5959
/**
6060
* Sets the executors
61-
* @param executors The executors
61+
* @param executors the executors
6262
* @return the instance of this builder
6363
*/
6464
public Builder executors(final IExecutors executors) {
@@ -68,7 +68,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
6868

6969
/**
7070
* Sets the logger
71-
* @param logger The logger
71+
* @param logger the logger
7272
* @return the instance of this builder
7373
*/
7474
public Builder logger(final ILogger logger) {
@@ -78,7 +78,7 @@ import <#=host.CurrentModel.NamespaceName()#>.logger.*;
7878

7979
/**
8080
* Set this builder based on the client configuration
81-
* @param clientConfig The client configuration
81+
* @param clientConfig the client configuration
8282
* @return the instance of this builder
8383
*/
8484
public Builder fromConfig(final IClientConfig clientConfig) {

Templates/Java/requests_extensions/EntityCollectionPage.java.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
/**
1111
* A collection page for <#=ClassTypeName(c)#>.
1212
*
13-
* @param response The serialized <#=BaseTypeCollectionResponse(c)#> from the service
14-
* @param builder The request builder for the next collection page
13+
* @param response the serialized <#=BaseTypeCollectionResponse(c)#> from the service
14+
* @param builder the request builder for the next collection page
1515
*/
1616
public <#=TypeCollectionPage(c)#>(final <#=BaseTypeCollectionResponse(c)#> response, final <#=ITypeCollectionRequestBuilder(c)#> builder) {
1717
super(response, builder);

Templates/Java/requests_extensions/EntityCollectionReferenceRequest.java.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* The request for this collection of <#=ClassTypeName(c)#>
1313
*
14-
* @param requestUrl The request url
15-
* @param client The service client
16-
* @param options The options for this request
14+
* @param requestUrl the request URL
15+
* @param client the service client
16+
* @param options the options for this request
1717
*/
1818
public <#=TypeCollectionReferenceRequest(c)#>(final String requestUrl, final <#=IBaseClientType()#> client, final java.util.List<? extends Option> options) {
1919
super(requestUrl, client, options);

Templates/Java/requests_extensions/EntityCollectionReferenceRequestBuilder.java.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* The request builder for this collection of <#=ClassTypeName(c)#>
1313
*
14-
* @param requestUrl The request url
15-
* @param client The service client
16-
* @param requestOptions The options for this request
14+
* @param requestUrl the request URL
15+
* @param client the service client
16+
* @param requestOptions the options for this request
1717
*/
1818
public <#=TypeCollectionReferenceRequestBuilder(c)#>(final String requestUrl, final <#=IBaseClientType()#> client, final java.util.List<? extends Option> requestOptions) {
1919
super(requestUrl, client, requestOptions);

Templates/Java/requests_extensions/EntityCollectionRequest.java.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* The request for this collection of <#=ClassTypeName(c)#>
1313
*
14-
* @param requestUrl The request url
15-
* @param client The service client
16-
* @param requestOptions The options for this request
14+
* @param requestUrl the request URL
15+
* @param client the service client
16+
* @param requestOptions the options for this request
1717
*/
1818
public <#=TypeCollectionRequest(c)#>(final String requestUrl, final <#=IBaseClientType()#> client, final java.util.List<? extends Option> requestOptions) {
1919
super(requestUrl, client, requestOptions);

Templates/Java/requests_extensions/EntityCollectionRequestBuilder.java.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* The request builder for this collection of <#=ClassTypeName(c)#>
1313
*
14-
* @param requestUrl The request url
15-
* @param client The service client
16-
* @param requestOptions The options for this request
14+
* @param requestUrl the request URL
15+
* @param client the service client
16+
* @param requestOptions the options for this request
1717
*/
1818
public <#=TypeCollectionRequestBuilder(c)#>(final String requestUrl, final <#=IBaseClientType()#> client, final java.util.List<? extends Option> requestOptions) {
1919
super(requestUrl, client, requestOptions);

Templates/Java/requests_extensions/EntityCollectionWithReferencesPage.java.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
/**
1111
* A collection page for <#=ClassTypeName(c)#>.
1212
*
13-
* @param response The serialized <#=BaseTypeCollectionResponse(c)#> from the service
14-
* @param builder The request builder for the next collection page
13+
* @param response the serialized <#=BaseTypeCollectionResponse(c)#> from the service
14+
* @param builder the request builder for the next collection page
1515
*/
1616
public <#=TypeCollectionWithReferencesPage(c)#>(final <#=BaseTypeCollectionResponse(c)#> response, final <#=ITypeCollectionWithReferencesRequestBuilder(c)#> builder) {
1717
super(response, builder);

Templates/Java/requests_extensions/EntityCollectionWithReferencesRequest.java.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
/**
1212
* The request for this collection of <#=ClassTypeName(c)#>
1313
*
14-
* @param requestUrl The request url
15-
* @param client The service client
16-
* @param requestOptions The options for this request
14+
* @param requestUrl the request URL
15+
* @param client the service client
16+
* @param requestOptions the options for this request
1717
*/
1818
public <#=TypeCollectionWithReferencesRequest(c)#>(final String requestUrl, final <#=IBaseClientType()#> client, final java.util.List<? extends Option> requestOptions) {
1919
super(requestUrl, client, requestOptions);

0 commit comments

Comments
 (0)