IG question
Hi!
IG says class may be interface ta such code:
public class SystemTags
{
public static final String BeaconTagName = "sys_beacon";
public static final String ArchiveTagName = "sys_archive";
public static final String UpdateTagName = "sys_update";
public static final Map SystemTagsMap = new HashMap();
static
{
SystemTagsMap.put(BeaconTagName,IntegerTag.class);
SystemTagsMap.put(ArchiveTagName,BooleanTag.class);
SystemTagsMap.put(UpdateTagName,BooleanTag.class);
}
}
I realy want to use static in such cases.
But I also want to use such inspection
___
/** WBR @author Denis Tsyplakov @ICQ_UIN 108477017
@mailto: lc@yandex.ru */
请先登录再写评论。
On 07-05-2004 09:17, Denis Tsyplakov wrote:
I have a fix for this problem and a quick fix for this inspection. Also
class with protected or package access fields or methods were being
marked as "may be interface".
Bas