Re: [java-gnome-hackers] BindingSet (was: Update)
Brought to you by:
afcowie
From: Jeffrey M. <ku...@zo...> - 2003-12-27 12:28:43
|
On Sat, 2003-12-27 at 06:41, Mark Howard wrote: > On Sat, Dec 27, 2003 at 04:59:07AM +0100, Luca De Rugeriis wrote: > > public BindingSet(int handle) { > > this.handle = handle; > > Does this really need to be public? It should only be used internally by java-gnome. I agree with you Mark that we should limit access as much as possible. The only problem I see is with limiting access to this method is when another class needs to create a BindingSet object from a handle returned from a native call. In that case the Constructor would need to be public. We can start with this method as private and change it if we need further access. -Jeff |