You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (Jira)" <ji...@apache.org> on 2020/02/06 23:13:00 UTC
[jira] [Created] (NETBEANS-3806) cleanup hashcode in
DBElementsCollection
Brad Walker created NETBEANS-3806:
-------------------------------------
Summary: cleanup hashcode in DBElementsCollection
Key: NETBEANS-3806
URL: https://issues.apache.org/jira/browse/NETBEANS-3806
Project: NetBeans
Issue Type: Improvement
Reporter: Brad Walker
Assignee: Brad Walker
I came across this issue in Netbeans with the DBElementsCollection class.
Basically the hascode is being returned as a String but the code removes checking for type by treating the hashcode as an object.
This change keeps it as a String and removes the folloiwng warning..
{code:java}
[repeat] /home/bwalker/src/netbeans/java/dbschema/src/org/netbeans/modules/dbschema/jdbcimpl/DBElementsCollection.java:41: warning: [rawtypes] found raw type: HashSet
[repeat] protected static transient HashSet instances = new HashSet();
[repeat] ^
[repeat] missing type arguments for generic class HashSet<E>
[repeat] where E is a type-variable:
[repeat] E extends Object declared in class HashSet{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists