swaminathanmanish commented on code in PR #12084:
URL: https://github.com/apache/pinot/pull/12084#discussion_r1413000748
##########
pinot-common/src/main/java/org/apache/pinot/common/utils/FileUploadDownloadClient.java:
##########
@@ -1227,8 +1228,9 @@ public File downloadUntarFileStreamed(URI uri, File dest,
AuthProvider authProvi
* @return param list
*/
public static List<NameValuePair> makeTableParam(String tableName) {
- return Collections.singletonList(
- new
BasicNameValuePair(FileUploadDownloadClient.QueryParameters.TABLE_NAME,
tableName));
+ return List.of(new
BasicNameValuePair(FileUploadDownloadClient.QueryParameters.TABLE_NAME,
tableName),
Review Comment:
Yes, good catch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]