Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
* [android] remove static import
Browse files Browse the repository at this point in the history
  • Loading branch information
misakuo committed Oct 16, 2017
1 parent 240f604 commit aff7e3a
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@
import java.util.Map;
import java.util.Set;

import static com.taobao.weex.utils.WXUtils.getBoolean;

/**
* abstract component
*
Expand Down Expand Up @@ -731,11 +729,11 @@ protected boolean setProperty(String key, Object param) {
switch (key) {
case Constants.Name.PREVENT_MOVE_EVENT:
if(mGesture != null){
mGesture.setPreventMoveEvent(getBoolean(param,false));
mGesture.setPreventMoveEvent(WXUtils.getBoolean(param,false));
}
return true;
case Constants.Name.DISABLED:
Boolean disabled = getBoolean(param,null);
Boolean disabled = WXUtils.getBoolean(param,null);
if (disabled != null) {
setDisabled(disabled);
setPseudoClassStatus(Constants.PSEUDO.DISABLED, disabled);
Expand Down Expand Up @@ -831,7 +829,7 @@ public void run() {
setAriaLabel(label);
return true;
case Constants.Name.ARIA_HIDDEN:
boolean isHidden = getBoolean(param,false);
boolean isHidden = WXUtils.getBoolean(param,false);
setAriaHidden(isHidden);
return true;
case Constants.Name.WIDTH:
Expand Down Expand Up @@ -1913,7 +1911,7 @@ public void setWaste(boolean waste) {
protected boolean isRippleEnabled() {
try {
Object obj = getDomObject().getAttrs().get(Constants.Name.RIPPLE_ENABLED);
return getBoolean(obj, false);
return WXUtils.getBoolean(obj, false);
} catch (Throwable t) {
//ignore
}
Expand Down

0 comments on commit aff7e3a

Please sign in to comment.