@@ -134,7 +134,7 @@ public <T extends Message> ObjectOrStatus<T> update(T obj, String path, String a
134134 * @param path The path to call in the API server
135135 * @return The response status
136136 */
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 {
138138 return request (builder , path , "DELETE" , null , null , null );
139139 }
140140
@@ -150,7 +150,7 @@ public <T extends Message> ObjectOrStatus<T> delete(T.Builder builder, String pa
150150 return delete (builder ,path );
151151 }
152152
153- HashMap <String , String > headers = new HashMap <String , String >();
153+ HashMap <String , String > headers = new HashMap <>();
154154 headers .put ("Content-Type" , MEDIA_TYPE );
155155 headers .put ("Accept" , MEDIA_TYPE );
156156 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
183183 */
184184 public <T extends Message > ObjectOrStatus <T > request (T .Builder builder , String path , String method , T body , String apiVersion ,
185185 String kind ) throws ApiException , IOException {
186- HashMap <String , String > headers = new HashMap <String , String >();
186+ HashMap <String , String > headers = new HashMap <>();
187187 headers .put ("Content-Type" , MEDIA_TYPE );
188188 headers .put ("Accept" , MEDIA_TYPE );
189189 Request request = apiClient .buildRequest (path , method , new ArrayList <Pair >(), new ArrayList <Pair >(), null ,
0 commit comments