SPARK-1384 if resource is "spark" it will be changed to "Spark 2.6.1" to identify users with new spark versions

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12524 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Holger Bergunde
2011-06-22 16:27:19 +00:00
committed by holger.bergunde
parent 8da4bce5c2
commit cc388b5346

View File

@ -452,6 +452,12 @@ public class LocalPreferences {
}
public String getResource() {
if (props.getProperty("resource", "spark").equals("spark"))
{
setResource("Spark "+JiveInfo.getVersion());
return "Spark "+JiveInfo.getVersion();
}
return props.getProperty("resource", "Spark "+JiveInfo.getVersion());
}