Permalink
Browse files

TRIVIAL: formatting and comments

  • Loading branch information...
1 parent bfd2df9 commit d16f322777335736daccf60664f304087c1a40d0 @fanf fanf committed Jul 15, 2012
View
22 src/main/scala/com/normation/cfclerk/domain/Technique.scala
@@ -75,18 +75,18 @@ case class TechniqueId(name: TechniqueName, version: TechniqueVersion) extends O
*
*/
case class Technique(
- id: TechniqueId
- , name: String
- , description: String
- , templates: Seq[Cf3PromisesFileTemplate]
- , bundlesequence : Seq[Bundle]
+ id : TechniqueId
+ , name : String
+ , description : String
+ , templates : Seq[Cf3PromisesFileTemplate]
+ , bundlesequence : Seq[Bundle]
, trackerVariableSpec : TrackerVariableSpec
- , rootSection: SectionSpec
- , systemVariableSpecs: Set[SystemVariableSpec] = Set()
- , compatible: Option[Compatible] = None
- , isMultiInstance: Boolean = false // true if we can have several instance of this policy
- , longDescription: String = ""
- , isSystem: Boolean = false
+ , rootSection : SectionSpec //be careful to not split it from the TechniqueId, else you will not have the good spec for the version
+ , systemVariableSpecs : Set[SystemVariableSpec] = Set()
+ , compatible : Option[Compatible] = None
+ , isMultiInstance : Boolean = false // true if we can have several instance of this policy
+ , longDescription : String = ""
+ , isSystem : Boolean = false
) extends HashcodeCaching {
View
10 src/main/scala/com/normation/cfclerk/domain/VariableAndSectionSpec.scala
@@ -92,13 +92,13 @@ sealed trait SectionChildSpec {
* Metadata about a section object.
*/
case class SectionSpec(
- name: String
+ name : String
, isMultivalued: Boolean = false
- , isComponent: Boolean = false
+ , isComponent : Boolean = false
, componentKey : Option[String] = None
- , foldable: Boolean = false
- , description: String = ""
- , children: Seq[SectionChildSpec] = Seq()
+ , foldable : Boolean = false
+ , description : String = ""
+ , children : Seq[SectionChildSpec] = Seq()
) extends SectionChildSpec with HashcodeCaching {
lazy val getDirectVariables : Seq[VariableSpec] = {

0 comments on commit d16f322

Please sign in to comment.