mirror of
https://github.com/shadowfacts/SimpleMultipart.git
synced 2025-02-05 00:31:25 +00:00
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…
x
Reference in New Issue
Block a user