Created
March 13, 2017 19:16
-
-
Save ailabs-software/a7e9869adafff9cb52cbfbf629feae11 to your computer and use it in GitHub Desktop.
Line 20: Native JsType method 'boolean PipelineItemLayoutModel.equals(Object)' should be native or abstract.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@JsType(isNative=true, namespace=GLOBAL, name="Object") | |
public class PipelineItemLayoutModel | |
{ | |
public String templateName; | |
public int alignment; // 0 is left, 1 is right | |
public int openType; | |
public String button; | |
public String buttonTheme; | |
public String buttonColor; | |
public List<String> activeFields; | |
/** Used to detect change */ | |
public final boolean equals(Object obj) | |
{ | |
if (obj instanceof PipelineItemLayoutModel) { | |
PipelineItemLayoutModel layoutModel = (PipelineItemLayoutModel) obj; | |
// Compare all fields. | |
return templateName.equals(layoutModel.templateName) && | |
alignment == layoutModel.alignment && | |
openType == layoutModel.openType && | |
button.equals(layoutModel.button) && | |
buttonTheme.equals(layoutModel.buttonTheme) && | |
buttonColor.equals(layoutModel.buttonColor) && | |
activeFields.equals(layoutModel.activeFields); | |
} | |
else { | |
return false; | |
} | |
} | |
} | |
// | |
[INFO] Errors in client/model/PipelineItemLayoutModel.java | |
[INFO] [ERROR] Line 20: Native JsType method 'boolean PipelineItemLayoutModel.equals(Object)' should be native or abstract. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment