[ https://issues.apache.org/jira/browse/NETBEANS-3806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-3806: ------------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Major > Labels: pull-request-available > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists