|
@@ -359,7 +359,7 @@ public class DiagnoseImportFacade {
|
|
|
String typeName = "";
|
|
|
|
|
|
typeName = DiagnoseFeatureTypeEnum.getName(type);
|
|
|
- if(typeName.isEmpty()){
|
|
|
+ if(typeName == null){
|
|
|
typeName = DiagnoseTypeEnum.getName(type);
|
|
|
}
|
|
|
return typeName;
|
|
@@ -373,7 +373,7 @@ public class DiagnoseImportFacade {
|
|
|
String relation = "";
|
|
|
typeName = DiagnoseFeatureTypeEnum.getName(type);
|
|
|
relation = diagnose.getRelation();
|
|
|
- if(typeName.isEmpty()){
|
|
|
+ if(typeName == null ){
|
|
|
relation = diagnose.getFormula();
|
|
|
}
|
|
|
return relation;
|