summaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2020-05-22 19:13:15 +0200
committergjoranv <gv@verizonmedia.com>2020-05-22 19:13:15 +0200
commitdcb4ebbc9dc77f8929ff2319a65fe7e528cf1ea9 (patch)
tree9616106a5d7c64421e7940d707c011591233051f /config-model
parentefe1fa16620c5958bd7bc6d6946dec88d3403b21 (diff)
Improve class comment
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/container/component/SimpleComponent.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/component/SimpleComponent.java b/config-model/src/main/java/com/yahoo/vespa/model/container/component/SimpleComponent.java
index 46ee0d0bd37..0b72971336f 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/container/component/SimpleComponent.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/container/component/SimpleComponent.java
@@ -6,7 +6,7 @@ import com.yahoo.osgi.provider.model.ComponentModel;
import com.yahoo.config.model.producer.AbstractConfigProducer;
/**
- * A component that only needs a simple ComponentModel.
+ * A component that uses the class name as id, and resides in the container-disc bundle.
*
* @author gjoranv
*/
@@ -16,7 +16,6 @@ public class SimpleComponent extends Component<AbstractConfigProducer<?>, Compon
super(model);
}
- // For a component that uses the class name as id, and resides in the container-disc bundle.
public SimpleComponent(String className) {
this(new ComponentModel(BundleInstantiationSpecification.getFromStrings(className, null, null)));
}