mirror of https://github.com/apache/lucene.git
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:
parent
74ed2cbcfe
commit
9f80d2cd26
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue