@@ -134,7 +134,7 @@ public <T extends Message> ObjectOrStatus<T> update(T obj, String path, String a
134
134
* @param path The path to call in the API server
135
135
* @return The response status
136
136
*/
137
- public <T extends Message > ObjectOrStatus <T > delete (T .Builder builder ,String path ) throws ApiException , IOException {
137
+ public <T extends Message > ObjectOrStatus <T > delete (T .Builder builder , String path ) throws ApiException , IOException {
138
138
return request (builder , path , "DELETE" , null , null , null );
139
139
}
140
140
@@ -150,7 +150,7 @@ public <T extends Message> ObjectOrStatus<T> delete(T.Builder builder, String pa
150
150
return delete (builder ,path );
151
151
}
152
152
153
- HashMap <String , String > headers = new HashMap <String , String >();
153
+ HashMap <String , String > headers = new HashMap <>();
154
154
headers .put ("Content-Type" , MEDIA_TYPE );
155
155
headers .put ("Accept" , MEDIA_TYPE );
156
156
Request request = apiClient .buildRequest (path , "DELETE" , new ArrayList <Pair >(), new ArrayList <Pair >(), null ,
@@ -183,7 +183,7 @@ public <T extends Message> ObjectOrStatus<T> delete(T.Builder builder, String pa
183
183
*/
184
184
public <T extends Message > ObjectOrStatus <T > request (T .Builder builder , String path , String method , T body , String apiVersion ,
185
185
String kind ) throws ApiException , IOException {
186
- HashMap <String , String > headers = new HashMap <String , String >();
186
+ HashMap <String , String > headers = new HashMap <>();
187
187
headers .put ("Content-Type" , MEDIA_TYPE );
188
188
headers .put ("Accept" , MEDIA_TYPE );
189
189
Request request = apiClient .buildRequest (path , method , new ArrayList <Pair >(), new ArrayList <Pair >(), null ,
0 commit comments