OSDN Git Service

indentation
[automap/automap.git] / Automap / Data / PointOfInterest.cs
index 116a6f3..65eafd6 100644 (file)
@@ -10,7 +10,7 @@ namespace Automap
        /// Actual Physical Point in space - that is interesting.
        /// </summary>
        public struct PointOfInterest
-       {               
+       {
                public string Notes;
                public BlockPos Location;
                public DateTimeOffset Timestamp;
@@ -21,18 +21,20 @@ namespace Automap
        {
                protected override BlockPos GetKeyForItem(PointOfInterest item)
                {
-               return item.Location;
+                       return item.Location;
                }
 
                internal void AddReplace(PointOfInterest poi)
                {
-               if (this.Contains(poi.Location)) {
-               this.Remove(poi.Location);
-               this.Add(poi);
-               }
-               else {
-               this.Add(poi);          
-               }
+                       if (this.Contains(poi.Location))
+                       {
+                               this.Remove(poi.Location);
+                               this.Add(poi);
+                       }
+                       else
+                       {
+                               this.Add(poi);
+                       }
 
                }
        }