initial project fix
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good
All checks were successful
studiorailgun/highlevel-netcode-gen/pipeline/head This commit looks good
This commit is contained in:
parent
f1f4375578
commit
113edf1cbe
@ -325,6 +325,11 @@ public class ProjectStructure {
|
||||
* @return the id
|
||||
*/
|
||||
private int getFieldId(String bTreeName, String fieldName){
|
||||
//init the map if it doesn't already exist (ie the file doesn't exist)
|
||||
if(existingFieldNameToIdMap == null){
|
||||
existingFieldNameToIdMap = new HashMap<String,Integer>();
|
||||
}
|
||||
//get the id
|
||||
String qualifiedName = bTreeName.toUpperCase() + "_" + fieldName.toUpperCase();
|
||||
if(existingFieldNameToIdMap.containsKey(qualifiedName)){
|
||||
return existingFieldNameToIdMap.get(qualifiedName);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user