classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-discuss] GNUMail Flag problem


From: Székelyi Szabolcs
Subject: [Classpathx-discuss] GNUMail Flag problem
Date: Thu, 26 Jan 2006 22:06:22 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]