Shallow copy of properties does not maintain defaults. Hence returning the original object as is.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@688659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-08-25 08:41:17 +00:00
parent 74ed2cbcfe
commit 9f80d2cd26
1 changed files with 1 additions and 9 deletions

View File

@ -117,16 +117,8 @@ public class CoreDescriptor implements Cloneable {
return coreContainer;
}
/**
* Get this core's properties
*
* @return a shallow copy of this core's properties
*/
public Properties getCoreProperties() {
Properties p = new Properties();
if (coreProperties != null)
p.putAll(coreProperties);
return p;
return coreProperties;
}
/**