mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
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:
committed by
holger.bergunde
parent
8da4bce5c2
commit
cc388b5346
@ -452,6 +452,12 @@ public class LocalPreferences {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getResource() {
|
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());
|
return props.getProperty("resource", "Spark "+JiveInfo.getVersion());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user