modified condtion to match vre accesses better
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@169192 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6d0c7ec0f4
commit
412e1e9264
|
@ -100,7 +100,7 @@ public class VREAccessesHarvester extends BasicHarvester {
|
|||
|
||||
String pagePath = row.getPagePath();
|
||||
String[] splits = pagePath.split("/");
|
||||
if (splits.length > 2 && lowerCasedContext.compareTo(splits[2]) == 0)
|
||||
if (splits.length > 2 && splits[2].startsWith(lowerCasedContext))
|
||||
measure++;
|
||||
}
|
||||
HarvestedData harvest = new HarvestedData(HarvestedDataKey.ACCESSES, context, measure);
|
||||
|
|
Loading…
Reference in New Issue