@@ -262,7 +262,7 @@ public String delete(int expectedExitCode, Item item, String name) throws IOExce
262262 }
263263
264264 public String copyAction (String name , String existingAction ) throws IOException {
265- return createAction (SUCCESS_EXIT , name , existingAction , null , null , false , true , true , false , 0 , null );
265+ return createAction (SUCCESS_EXIT , name , existingAction , null , null , false , true , true , false , 0 );
266266 }
267267
268268 public String createAction (String name , String file ) throws IOException {
@@ -279,52 +279,48 @@ public String createAction(int expectedCode, String name, String file) throws IO
279279
280280 public String createAction (String name , String [] actions ) throws IOException {
281281 String csv = String .join ("," , actions );
282- return createAction (SUCCESS_EXIT , name , csv , null , null , true , false , false , true , 0 , null );
282+ return createAction (SUCCESS_EXIT , name , csv , null , null , true , false , false , true , 0 );
283283 }
284284
285285 public String createAction (String name , String [] actions , int timeoutMillis ) throws IOException {
286286 String csv = String .join ("," , actions );
287- return createAction (SUCCESS_EXIT , name , csv , null , null , true , false , false , true , timeoutMillis , null );
287+ return createAction (SUCCESS_EXIT , name , csv , null , null , true , false , false , true , timeoutMillis );
288288 }
289289
290290 public String createAction (String name , String file , Map <String , String > params ) throws IOException {
291291 return createAction (name , file , params , false , false );
292292 }
293293
294294 public String createAction (String name , String file , String library ) throws IOException {
295- return createAction (SUCCESS_EXIT , name , file , library , null , false , false , false , false , 0 , null );
295+ return createAction (SUCCESS_EXIT , name , file , library , null , false , false , false , false , 0 );
296296 }
297297
298298 public String createAction (String name , String file , String library , Map <String , String > params ) throws IOException {
299- return createAction (SUCCESS_EXIT , name , file , library , params , false , false , false , false , 0 , null );
299+ return createAction (SUCCESS_EXIT , name , file , library , params , false , false , false , false , 0 );
300300 }
301301
302302 public String createAction (String name , String file , boolean update , boolean shared ) throws IOException {
303- return createAction (SUCCESS_EXIT , name , file , null , null , false , update , false , shared , 0 , null );
303+ return createAction (SUCCESS_EXIT , name , file , null , null , false , update , false , shared , 0 );
304304 }
305305
306306 public String createAction (String name , String file , Map <String , String > params , boolean update , boolean shared ) throws IOException {
307- return createAction (SUCCESS_EXIT , name , file , null , params , false , update , false , shared , 0 , null );
307+ return createAction (SUCCESS_EXIT , name , file , null , params , false , update , false , shared , 0 );
308308 }
309309
310310 public String createAction (String name , String file , Map <String , String > params , boolean update , boolean shared , int timeoutMillis ) throws IOException {
311- return createAction (SUCCESS_EXIT , name , file , null , params , false , update , false , shared , timeoutMillis , null );
311+ return createAction (SUCCESS_EXIT , name , file , null , params , false , update , false , shared , timeoutMillis );
312312 }
313313
314314 public String updateAction (String name , boolean shared ) throws IOException {
315- return createAction (SUCCESS_EXIT , name , null , null , null , false , true , false , shared , 0 , null );
315+ return createAction (SUCCESS_EXIT , name , null , null , null , false , true , false , shared , 0 );
316316 }
317317
318318 public String createAction (int expectedCode , String name , String file , Map <String , String > params , boolean update , boolean shared ) throws IOException {
319- return createAction (expectedCode , name , file , null , params , false , update , false , shared , 0 , null );
319+ return createAction (expectedCode , name , file , null , params , false , update , false , shared , 0 );
320320
321321 }
322322
323- public String createActionWithKind (String name , String file , String kind ) throws IOException {
324- return createAction (SUCCESS_EXIT , name , file , null , null , false , false , false , false , 0 , kind );
325- }
326-
327- public String createAction (int expectedCode , String name , String artifact , String library , Map <String , String > params , boolean sequence , boolean update , boolean copy , boolean shared , int timeoutMillis , String kind ) throws IOException {
323+ public String createAction (int expectedCode , String name , String artifact , String library , Map <String , String > params , boolean sequence , boolean update , boolean copy , boolean shared , int timeoutMillis ) throws IOException {
328324 String [] cmd1 = { "action" , "update" , "--auth" , authKey , name };
329325 String [] cmd2 = { "action" , "create" , "--auth" , authKey , name , artifact };
330326 String [] cmd = update ? cmd1 : cmd2 ;
@@ -333,10 +329,6 @@ public String createAction(int expectedCode, String name, String artifact, Strin
333329 cmd = Util .concat (cmd , new String [] { artifact });
334330 }
335331
336- if (kind != null ) {
337- cmd = Util .concat (cmd , new String [] { "--kind" , kind });
338- }
339-
340332 if (params != null ) {
341333 for (String key : params .keySet ()) {
342334 String value = params .get (key );
0 commit comments