mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 09:52:16 -05:00
Remove unused implementation from abstract class
This commit is contained in:
parent
ad8da49991
commit
57ad0fd6b3
@ -15,8 +15,6 @@ public abstract class Multipart implements CompositeBody {
|
|||||||
|
|
||||||
private final List<BodyPart> mParts = new ArrayList<BodyPart>();
|
private final List<BodyPart> mParts = new ArrayList<BodyPart>();
|
||||||
|
|
||||||
private String mContentType;
|
|
||||||
|
|
||||||
public void addBodyPart(BodyPart part) {
|
public void addBodyPart(BodyPart part) {
|
||||||
mParts.add(part);
|
mParts.add(part);
|
||||||
part.setParent(this);
|
part.setParent(this);
|
||||||
@ -30,9 +28,7 @@ public abstract class Multipart implements CompositeBody {
|
|||||||
return Collections.unmodifiableList(mParts);
|
return Collections.unmodifiableList(mParts);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getContentType() {
|
public abstract String getContentType();
|
||||||
return mContentType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCount() {
|
public int getCount() {
|
||||||
return mParts.size();
|
return mParts.size();
|
||||||
|
Loading…
Reference in New Issue
Block a user