Skip to content

Commit

Permalink
Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Mar 13, 2024
1 parent fe051cf commit 377a455
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import com.azure.storage.file.datalake.DataLakeFileClient;

class HelperFunctions {
static void uploadBytes(final byte[] bytes, final DataLakeFileClient fileClient) {
public class HelperFunctions {
public static void uploadBytes(final byte[] bytes, final DataLakeFileClient fileClient) {
final InputStream targetStream = new BufferedInputStream(new ByteArrayInputStream(bytes));
final long fileSize = bytes.length;
fileClient.upload(targetStream, fileSize, false);
Expand Down

0 comments on commit 377a455

Please sign in to comment.