Include origin when creating the cacheKey for period Grans

This commit is contained in:
Vikram Ramakrishnan 2014-11-12 21:36:46 +05:30
parent dcab2997f2
commit 8151d14786
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ public class PeriodGranularity extends BaseQueryGranularity
@Override
public byte[] cacheKey()
{
return (period.toString() + ":" + chronology.getZone().toString()).getBytes(Charsets.UTF_8);
return (period.toString() + ":" + chronology.getZone().toString() + ":" + origin).getBytes(Charsets.UTF_8);
}
@Override