summaryrefslogtreecommitdiff
path: root/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2018-02-12 14:26:44 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2018-02-12 14:29:39 +0100
commite97d9bf3f2cccf19a21631e26d55d60c9f4d7c7a (patch)
tree518a0924578d12394f6117a416ac7787f729be63 /opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt
parent67c8bc6cdd421262c4f59ce03506463a830af6e6 (diff)
refactor(#18): Align formatting with official Kotlin Style Guide
This change aligns the code formatting of the project with the official Kotlin Style Guide. They can be found at http://kotlinlang.org/docs/reference/coding-conventions.html.
Diffstat (limited to 'opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt')
-rw-r--r--opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt24
1 files changed, 12 insertions, 12 deletions
diff --git a/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt b/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt
index 2bf87a39..9d78b5eb 100644
--- a/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt
+++ b/opendc-stdlib/src/main/kotlin/com/atlarge/opendc/model/topology/TopologyContext.kt
@@ -33,18 +33,18 @@ import com.atlarge.opendc.simulator.Entity
* @author Fabian Mastenbroek (f.s.mastenbroek@student.tudelft.nl)
*/
interface TopologyContext {
- /**
- * A unique identifier of an [Entity] within the topology.
- */
- val Entity<*, Topology>.id: Int
+ /**
+ * A unique identifier of an [Entity] within the topology.
+ */
+ val Entity<*, Topology>.id: Int
- /**
- * The set of ingoing edges of an [Entity].
- */
- val Entity<*, Topology>.ingoingEdges: Set<Edge<*>>
+ /**
+ * The set of ingoing edges of an [Entity].
+ */
+ val Entity<*, Topology>.ingoingEdges: Set<Edge<*>>
- /**
- * The set of outgoing edges of an [Entity].
- */
- val Entity<*, Topology>.outgoingEdges: Set<Edge<*>>
+ /**
+ * The set of outgoing edges of an [Entity].
+ */
+ val Entity<*, Topology>.outgoingEdges: Set<Edge<*>>
}