Skip to content

Commit f17756a

Browse files
author
Caitlin Bales (MSFT)
committed
Remove types from get on id getters
1 parent 2c84bc5 commit f17756a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Templates/Java/requests_generated/BaseEntityRequest.java.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
* Gets the {0} from the service
127127
* @param callback The callback to be called after success or failure.
128128
*/
129-
public void get{1}(final ICallback<{0}> callback) {{
129+
public void get(final ICallback<{0}> callback) {{
130130
send(HttpMethod.GET, callback, null);
131131
}}
132132

@@ -135,7 +135,7 @@
135135
* @return The {0} from the request.
136136
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
137137
*/
138-
public {0} get{1}() throws ClientException {{
138+
public {0} get() throws ClientException {{
139139
return send(HttpMethod.GET, null);
140140
}}
141141
";

Templates/Java/requests_generated/IBaseEntityRequest.java.tt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@
9898
* Gets the {0} from the service
9999
* @param callback The callback to be called after success or failure.
100100
*/
101-
void get{1}(final ICallback<{0}> callback);
101+
void get(final ICallback<{0}> callback);
102102

103103
/**
104104
* Gets the {0} from the service
105105
* @return The {0} from the request.
106106
* @throws ClientException This exception occurs if the request was unable to complete for any reason.
107107
*/
108-
{0} get{1}() throws ClientException;
108+
{0} get() throws ClientException;
109109
";
110110
return string.Format(formatString, TypeName(odcmObject), odcmObject.Derived.Any() ? TypeName(odcmObject) : string.Empty );
111111
}

0 commit comments

Comments
 (0)