mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
修复插件在ide的5.0版本不可用bug
Signed-off-by: jwx1102601 <jiangqianjin@huawei.com>
This commit is contained in:
parent
a22f82debe
commit
5486d69720
@ -365,7 +365,7 @@ public class UpdateCheckWizardDialog extends DialogWrapper {
|
||||
UpdateCheckReportDto updateCheckReportDto = new UpdateCheckReportDto();
|
||||
|
||||
// fill data
|
||||
updateCheckReportDto.setApiDefinition(this.deprecatedApiResults.get(i).getApiRawText());
|
||||
updateCheckReportDto.setApiDefinition(this.deprecatedApiResults.get(i).getApiText());
|
||||
String reminderInformation =
|
||||
(StringUtils.isBlank(this.deprecatedApiResults.get(i).getUseinstead()))
|
||||
? ConstString.get("obsolete.version.change.to")
|
||||
@ -384,7 +384,7 @@ public class UpdateCheckWizardDialog extends DialogWrapper {
|
||||
|
||||
private boolean judgeApi(ApiDiffResultDto apiDto, CollectApplicationApiDto collApiDto) {
|
||||
return apiDto.getDtsName().equals(collApiDto.getDtsName())
|
||||
&& apiDto.getRawText().equals(collApiDto.getApiRawText())
|
||||
&& apiDto.getRawText().equals(collApiDto.getApiText())
|
||||
&& apiDto.getClassName().equals(collApiDto.getTypeName());
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public class CollectApplicationApiDto {
|
||||
private String packageName;
|
||||
private String typeName;
|
||||
private String propertyName;
|
||||
private String apiRawText;
|
||||
private String apiText;
|
||||
private String deprecated;
|
||||
private String applicationFile;
|
||||
private String pos;
|
||||
@ -64,12 +64,12 @@ public class CollectApplicationApiDto {
|
||||
this.propertyName = propertyName;
|
||||
}
|
||||
|
||||
public String getApiRawText() {
|
||||
return apiRawText;
|
||||
public String getApiText() {
|
||||
return apiText;
|
||||
}
|
||||
|
||||
public void setApiRawText(String apiRawText) {
|
||||
this.apiRawText = apiRawText;
|
||||
public void setApiText(String apiText) {
|
||||
this.apiText = apiText;
|
||||
}
|
||||
|
||||
public String getDeprecated() {
|
||||
@ -118,7 +118,7 @@ public class CollectApplicationApiDto {
|
||||
"packageName='" + packageName + '\'' +
|
||||
", className='" + typeName + '\'' +
|
||||
", methodName='" + propertyName + '\'' +
|
||||
", methodText='" + apiRawText + '\'' +
|
||||
", methodText='" + apiText + '\'' +
|
||||
", deprecated='" + deprecated + '\'' +
|
||||
", applicationFile='" + applicationFile + '\'' +
|
||||
", pos='" + pos + '\'' +
|
||||
|
Loading…
Reference in New Issue
Block a user