Skip to content

Commit

Permalink
renames copyFilesFromDevice to toClientList
Browse files Browse the repository at this point in the history
  • Loading branch information
03fernanda-palacios committed Nov 12, 2024
1 parent 9cfd0ef commit f34cbb3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private void populateUsb() throws IOException {
usbTransportToClientDir.mkdirs();
}
try {
copyFilesFromDevice(usbTransportToClientDir);
toClientList(usbTransportToClientDir);
} catch (Exception e) {
logger.log(WARNING, "copyFilesFromDevice failed to populateUsb");
throw new RuntimeException("Bad call to copyFilesFromDevice", e);
Expand All @@ -144,7 +144,7 @@ private void populateUsb() throws IOException {
* @param dddTransportDir target directory; USBs directory
* @throws IOException
*/
private void copyFilesFromDevice(File dddTransportDir) throws IOException, GeneralSecurityException, RoutingExceptions.ClientMetaDataFileException, InvalidKeyException {
private void toClientList(File dddTransportDir) throws IOException, GeneralSecurityException, RoutingExceptions.ClientMetaDataFileException, InvalidKeyException {
List<Path> storageList;
Path devicePathForClient = transportPaths.toClientPath;
try (Stream<Path> walk = Files.walk(devicePathForClient)) {
Expand Down

0 comments on commit f34cbb3

Please sign in to comment.