Skip to content

Commit

Permalink
Fixing documentation example since creating a bag takes a list of alg…
Browse files Browse the repository at this point in the history
…orithms
  • Loading branch information
johnscancella committed Jan 18, 2018
1 parent f83b15c commit ef91511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ to follow modern Java practices and will require some changes to existing code:
Path folder = Paths.get("FolderYouWantToBag");
StandardSupportedAlgorithms algorithm = StandardSupportedAlgorithms.MD5;
boolean includeHiddenFiles = false;
Bag bag = BagCreator.bagInPlace(folder, algorithm, includeHiddenFiles);
Bag bag = BagCreator.bagInPlace(folder, Arrays.asList(algorithm), includeHiddenFiles);
```

##### Read an existing bag (version 0.93 and higher)
Expand Down

0 comments on commit ef91511

Please sign in to comment.