* Matthew Toseland <toad at amphibian.dyndns.org> [2007-12-10 18:11:17]:

> Why does this please netbeans? Is there any good reason to make these classes 
> public?
> 

It was complaining about "private members are beeing exported through
the public API"

> On Sunday 09 December 2007 22:40, you wrote:
> > Author: nextgens
> > Date: 2007-12-09 22:40:42 +0000 (Sun, 09 Dec 2007)
> > New Revision: 16444
> > 
> > Modified:
> >    trunk/freenet/src/freenet/node/NodeCrypto.java
> >    trunk/freenet/src/freenet/node/ResendPacketItem.java
> > Log:
> > Make some classes public to please netbeans
> > 
> > Modified: trunk/freenet/src/freenet/node/NodeCrypto.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/node/NodeCrypto.java  2007-12-09 22:38:45 UTC 
> (rev 16443)
> > +++ trunk/freenet/src/freenet/node/NodeCrypto.java  2007-12-09 22:40:42 UTC 
> (rev 16444)
> > @@ -41,7 +41,7 @@
> >   * Cryptographic and transport level node identity. 
> >   * @author toad
> >   */
> > -class NodeCrypto {
> > +public class NodeCrypto {
> >  
> >     /** Length of a node identity */
> >     public static final int IDENTITY_LENGTH = 32;
> > 
> > Modified: trunk/freenet/src/freenet/node/ResendPacketItem.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/node/ResendPacketItem.java    2007-12-09 
> > 22:38:45 
> UTC (rev 16443)
> > +++ trunk/freenet/src/freenet/node/ResendPacketItem.java    2007-12-09 
> > 22:40:42 
> UTC (rev 16444)
> > @@ -9,7 +9,7 @@
> >   * A packet to be resent. Includes a packet number, and the 
> >   * message as byte[].
> >   */
> > -class ResendPacketItem {
> > +public class ResendPacketItem {
> >      public ResendPacketItem(byte[] payload, int packetNumber, KeyTracker 
> > k, 
> AsyncMessageCallback[] callbacks) {
> >          pn = k.pn;
> >          kt = k;
> > 
> > _______________________________________________
> > cvs mailing list
> > cvs at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> > 



> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20071210/73b55425/attachment.pgp>

Reply via email to