Skip to content

Commit

Permalink
Fixed ShotThumbnailsExporter. (#338)
Browse files Browse the repository at this point in the history
Fixed ShotThumbnailsExporter not working due to HashMap/Map reflections mismatch.
Addresses #337
  • Loading branch information
Spiess committed Sep 29, 2022
1 parent 7f15ec2 commit b902461
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Supplier;
import javax.imageio.ImageIO;
import org.apache.logging.log4j.LogManager;
Expand Down Expand Up @@ -51,7 +52,7 @@ public ShotThumbnailsExporter() {
*
* @param properties HashMap containing named properties
*/
public ShotThumbnailsExporter(HashMap<String, String> properties) {
public ShotThumbnailsExporter(Map<String, String> properties) {
this.folder = new File(properties.getOrDefault(PROPERTY_NAME_DESTINATION, "./thumbnails"));
this.format = properties.getOrDefault(PROPERTY_NAME_FORMAT, "JPG");
}
Expand Down

0 comments on commit b902461

Please sign in to comment.