-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some raw type references #2589
Conversation
@@ -489,7 +489,7 @@ public String getSolrSchema() { | |||
sb.append(" <field name=\"" + nameSearchable + "\" type=\"" + type + "\" multiValued=\"" + multivalued + "\" stored=\"true\" indexed=\"true\"/>\n"); | |||
} | |||
|
|||
List<String> listOfStaticFields = new ArrayList(); | |||
List<String> listOfStaticFields = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bencomp you're certainly right that this is a type safety issue but the default settings from Netbeans apparently don't provide developers the typical yellow warning indicators:
If you could please share the Netbeans settings you are using, I'd appreciate it. You could even add it to the Google Doc linked from http://guides.dataverse.org/en/latest/developers/coding-style.html
@bencomp please see my comments about closing pull requests made against the 4.3 branch at #2860 (comment) (Let's discuss in one place, there.) |
In an effort to get the number of Java compiler warnings about unchecked references and casts (see #2574) I added diamonds to a few classes.
This is work in progress.