[Nice-commit] Nice/src/gnu/bytecode Access.java,1.5,1.6
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-19 11:40:24
|
Update of /cvsroot/nice/Nice/src/gnu/bytecode In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2646/src/gnu/bytecode Modified Files: Access.java Log Message: Postpone the distinction between protected and default until we have implemented visibility in Nice. Index: Access.java =================================================================== RCS file: /cvsroot/nice/Nice/src/gnu/bytecode/Access.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Access.java 19 Feb 2004 09:36:30 -0000 1.5 --- Access.java 19 Feb 2004 11:30:02 -0000 1.6 *************** *** 71,75 **** // PROTECTED ! return (mod & PROTECTED) != 0 && c.isSubclass(target) && receiver.isSubtype(c); } --- 71,78 ---- // PROTECTED ! /* TODO: For now, we consider all default access as also protected. Being ! more precise needs an implementation of the visibility system in Nice. ! */ ! return //(mod & PROTECTED) != 0 && c.isSubclass(target) && receiver.isSubtype(c); } |