Alter release process to handle new meta walker info
This commit is contained in:
parent
9d4b6ecf83
commit
29f666075f
1 changed files with 3 additions and 1 deletions
|
|
@ -1043,7 +1043,9 @@ class MetaInfo extends GISJsonSerialised {
|
|||
Map<String, CollectedMeta> putwithshortestoffsetpath(Map<String, CollectedMeta> releasemetacollection, String uniquestring, CollectedMeta metaitem) {
|
||||
if (releasemetacollection.containsKey(uniquestring)) {
|
||||
def existingentry = releasemetacollection[uniquestring]
|
||||
if (existingentry.accumulatedpath.size() > metaitem.accumulatedpath.size()) {
|
||||
def existingentrypathlength = existingentry.accumulatedpath.split('/').size()
|
||||
def newentrypathlength = metaitem.accumulatedpath.split('/').size()
|
||||
if (existingentrypathlength > newentrypathlength) {
|
||||
releasemetacollection.put(uniquestring, metaitem)
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue