chore: tidy stub code
This commit is contained in:
@@ -9,7 +9,7 @@ public class SimpleAccount {
|
||||
public static final String _LOGINTIME = "_loginTime";
|
||||
public static final String _UIN = "_uin";
|
||||
private static final String tag = "SimpleAccount";
|
||||
private HashMap attributes = new HashMap();
|
||||
private HashMap<String, String> attributes = new HashMap<>();
|
||||
|
||||
public static SimpleAccount parseSimpleAccount(String src) {
|
||||
throw new RuntimeException("Stub!");
|
||||
@@ -61,18 +61,15 @@ public class SimpleAccount {
|
||||
this.attributes.put(key, value);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String toStoreString() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public HashMap getAttributes() {
|
||||
public HashMap<String, String> getAttributes() {
|
||||
return this.attributes;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (o instanceof SimpleAccount) {
|
||||
return isSameAccount(this, (SimpleAccount) o);
|
||||
|
||||
@@ -40,47 +40,38 @@ public class Switch extends CompoundButton {
|
||||
}
|
||||
|
||||
public void setSwitchPadding(int i2) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setSwitchMinWidth(int i2) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setThumbTextPadding(int i2) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTrackDrawable(Drawable drawable) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTrackResource(int i2) {
|
||||
setTrackDrawable(getContext().getResources().getDrawable(i2));
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setThumbDrawable(Drawable drawable) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setThumbResource(int i2) {
|
||||
setThumbDrawable(getContext().getResources().getDrawable(i2));
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTextOn(CharSequence charSequence) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTextOff(CharSequence charSequence) {
|
||||
requestLayout();
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user