Add item settings
This commit is contained in:
parent
3351522bd3
commit
60ee445dc6
|
@ -25,8 +25,11 @@ public class MultipartItem extends Item {
|
|||
protected Multipart part;
|
||||
|
||||
public MultipartItem(Multipart part) {
|
||||
// TODO: expose settings object?
|
||||
super(new Settings());
|
||||
this(part, new Settings());
|
||||
}
|
||||
|
||||
public MultipartItem(Multipart part, Settings settings) {
|
||||
super(settings);
|
||||
this.part = part;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue