Remove Changeset.isArea() function
authorAndy Allan <gravitystorm@gmail.com>
Wed, 27 Oct 2010 14:30:01 +0000 (14:30 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Wed, 27 Oct 2010 14:30:01 +0000 (14:30 +0000)
net/systemeD/halcyon/connection/Changeset.as

index dfb7d27..096651d 100644 (file)
@@ -1,7 +1,6 @@
 package net.systemeD.halcyon.connection {
 
     public class Changeset extends Entity {
-        private var nodes:Array;
                public static var entity_type:String = 'changeset';
 
         public function Changeset(id:Number, tags:Object) {
@@ -12,10 +11,6 @@ package net.systemeD.halcyon.connection {
             return "Changeset("+id+"): "+getTagList();
         }
 
-               public function isArea():Boolean {
-                       return (nodes[0].id==nodes[nodes.length-1].id  && nodes.length>2);
-               }
-
                public override function getType():String {
                        return 'changeset';
                }