From 62cdabc8d405396717589ada148ba3135220d4b4 Mon Sep 17 00:00:00 2001
From: guille <guillermopolito@gmail.com>
Date: Thu, 27 Oct 2016 17:55:33 +0200
Subject: [PATCH] Pass on scaladoc of NetworkEntity

---
 .../emeraude/n2s3/core/GlobalTimestamp.scala  | 28 -------------------
 .../emeraude/n2s3/core/NetworkEntity.scala    |  2 +-
 2 files changed, 1 insertion(+), 29 deletions(-)
 delete mode 100644 n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/GlobalTimestamp.scala

diff --git a/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/GlobalTimestamp.scala b/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/GlobalTimestamp.scala
deleted file mode 100644
index a9e451f6..00000000
--- a/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/GlobalTimestamp.scala
+++ /dev/null
@@ -1,28 +0,0 @@
-/** **********************************************************************************************************
-  * Contributors:
-  * 		- created by Pierre Falez on 10/05/16.
-  * **********************************************************************************************************/
-package fr.univ_lille.cristal.emeraude.n2s3.core
-
-import fr.univ_lille.cristal.emeraude.n2s3.core.GlobalTypesAlias.Timestamp
-import fr.univ_lille.cristal.emeraude.n2s3.support.actors.Message
-
-class GlobalTimestamp {
-  var timestamp: Timestamp = 0
-}
-
-trait TimestampGenerator {
-  var currentMaxTimestamp: Timestamp = 0
-
-  def getGlobalTimestamp: GlobalTimestamp
-
-  def toGlobalTimestamp(rawTimestamp: Timestamp): Timestamp = {
-    currentMaxTimestamp = math.max(rawTimestamp, currentMaxTimestamp)
-    getGlobalTimestamp.timestamp + rawTimestamp
-  }
-
-  def endOfStage(): Unit = {
-    getGlobalTimestamp.timestamp += currentMaxTimestamp
-    currentMaxTimestamp = 0
-  }
-}
\ No newline at end of file
diff --git a/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/NetworkEntity.scala b/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/NetworkEntity.scala
index 35ad6a79..d1a3afe5 100644
--- a/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/NetworkEntity.scala
+++ b/n2s3/src/main/scala/fr/univ_lille/cristal/emeraude/n2s3/core/NetworkEntity.scala
@@ -28,7 +28,7 @@ object NetworkEntity {
 }
 
 /**
-  * Represent entity which can be designated by a reference
+  * A trait with common behaviour for entities in a N2S3 simulation.
   */
 trait NetworkEntity {
 
-- 
GitLab