public static final void putDeletePlaylistEntryRequest(String playlistEntryId) throws JSONException, IllegalArgumentException {
  JSONObject deleteObject=new JSONObject();
  deleteObject.put("delete",playlistEntryId);
  mPlaylistEntriesMutationsArray.put(deleteObject);
}

public static final void putDeletePlaylistEntryRequest ( String playlistEntryId ) throws JSONException , IllegalArgumentException { JSONObject deleteObject = new JSONObject ( ) ; deleteObject . put ( "delete" , playlistEntryId ) ; mPlaylistEntriesMutationsArray . put ( deleteObject ) ; }
creates a jsonobject object that contains the delete command for the specified playlist entry . the object will be added to the jsonarray that will be passed on to google ' s servers .
