Skip to content

Commit

Permalink
fix config doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Blagojevic committed Jun 24, 2011
1 parent 9f0550b commit f996013
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;

import java.util.LinkedList;
import java.util.List;

Expand Down Expand Up @@ -199,7 +201,7 @@ private List<CacheLoaderConfig> getCacheLoaders() {
}

// JAXB method
@XmlElement(name = "loader")
@XmlTransient
private LoadersConfig setCacheLoaders(List<CacheLoaderConfig> configs) {
testImmutability("cacheLoaderConfigs");
this.cacheLoaderConfigs = configs == null ? new LinkedList<CacheLoaderConfig>() : configs;
Expand All @@ -211,6 +213,7 @@ private LoadersConfig setCacheLoaders(List<CacheLoaderConfig> configs) {
* XMLElement definition is likely to move to the getCacheLoaderConfigs().
*/
@Deprecated
@XmlElement(name = "loader")
public LoadersConfig setCacheLoaderConfigs(List<CacheLoaderConfig> configs) {
testImmutability("cacheLoaderConfigs");
this.cacheLoaderConfigs = configs == null ? new LinkedList<CacheLoaderConfig>() : configs;
Expand Down

0 comments on commit f996013

Please sign in to comment.