opensubscriber
   Find in this group all groups
 
Unknown more information…

c : classpathx-discuss@gnu.org 27 January 2006 • 5:06AM -0500

[Classpathx-discuss] GNUMail Flag problem
by Székelyi Szabolcs

REPLY TO AUTHOR
 
REPLY TO GROUP




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have problems using message flags in GNUMail. I get
IllegalAccessException in all methods of the Flags class which contain
(direct) access to Flag.flag. I guess it's because of Flag.flag is
declared private. Tell me if I'm wrong.

Should Flag.flag be declared public (providing read-write access, which
is not we want since Flag sould contain a single flag, not a set) or
create a new method, say Flag.getFlag() which simply returns Flag.flag
(not a part of the JavaMail specification, but may be OK) and replace
all accesses of Flag.flag with Flag.getFlag()?

Bye,
- --
Sze'kelyi Szabolcs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD2TnOGJRwVVqzMkMRAvmKAKCTkan7nhq/481sTSyg0vVXdEz4XACdH+9G
Riwl9LSaPOj6g1RIDL26DBs=
=1iBP
-----END PGP SIGNATURE-----


_______________________________________________
Classpathx-discuss mailing list
Classpathx-discuss@gnu....
http://lists.gnu.org/mailman/listinfo/classpathx-discuss

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.