Nice/src/nice/tools/visibility tests.nice,1.3,1.4 impl.nice,1.2,1.3

Daniel Bonniot <[email protected]>
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/nice/tools/visibility
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3204/src/nice/tools/visibility

Modified Files:
	tests.nice impl.nice 
Log Message:
Fix removal of 'general' symbols.


Index: impl.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/visibility/impl.nice,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** impl.nice	6 Mar 2005 15:52:07 -0000	1.2
--- impl.nice	6 Mar 2005 15:57:10 -0000	1.3
***************
*** 46,50 ****
  {
    map.remove(key, value);
!   publicMap.remove(key, value);
  }
  
--- 46,54 ----
  {
    map.remove(key, value);
! 
!   if (parent != null)
!     notNull(parent).remove(key, value);
!   else
!     publicMap.remove(key, value);
  }
  

Index: tests.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/visibility/tests.nice,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** tests.nice	6 Mar 2005 15:52:07 -0000	1.3
--- tests.nice	6 Mar 2005 15:57:10 -0000	1.4
***************
*** 230,233 ****
--- 230,239 ----
    res = root2.get("g");
    assert res.size == 1 && res[0] == 'g';
+ 
+   inner1.remove("g", 'g');
+   res = inner2.get("g");
+   assert res.size == 0;
+   res = root2.get("g");
+   assert res.size == 0;
  }
  



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.