-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sinoea,
sinoea kaabi wrote: > Collection branches = new BranchData().loadBranches(Data.getDataSource(), 1); > > Can the getDataSource method be static? Not only can the getDataSource method be static, you could also call it directly from your loadBranches() method and make your interface simpler. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjSen8ACgkQ9CaO5/Lv0PBJYgCgiix3mAHtfeiU7lSyIoL3q4mH 0MIAmwXwFqJX1efFRKVa1hI2kpcRchjg =Z3is -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]