Add item settings (#1)
This commit is contained in:
parent
fd737cfd23
commit
6206c437b9
|
@ -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