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:
Massimiliano Assante 2018-06-14 12:35:55 +00:00
parent 6d0c7ec0f4
commit 412e1e9264
1 changed files with 1 additions and 1 deletions

View File

@ -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);