[jira] [Closed] (NETBEANS-6337) remove annotation warnings related to deprecating
[ https://issues.apache.org/jira/browse/NETBEANS-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-6337. - Resolution: Fixed fixed & integrated.. > remove annotation warnings related to deprecating > - > > Key: NETBEANS-6337 > URL: https://issues.apache.org/jira/browse/NETBEANS-6337 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: NB13, 13 > > Time Spent: 20m > Remaining Estimate: 0h > > Cleanup warnings related to improper deprecation annotation.. > Like this.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/openide.options/src/org/openide/text/NbDocument$Colors.java:31: > warning: [dep-ann] deprecated item is not annotated with @Deprecated >[repeat] public final class NbDocument$Colors extends > org.openide.options.SystemOption { >[repeat] ^ >[repeat] 48 warnings > [copy] Copying 1 file to > /home/bwalker/src/netbeans/platform/openide.options/build/classes > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Updated] (NETBEANS-6337) remove annotation warnings related to deprecating
[ https://issues.apache.org/jira/browse/NETBEANS-6337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-6337: -- Fix Version/s: NB13 > remove annotation warnings related to deprecating > - > > Key: NETBEANS-6337 > URL: https://issues.apache.org/jira/browse/NETBEANS-6337 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: NB13, 13 > > Time Spent: 20m > Remaining Estimate: 0h > > Cleanup warnings related to improper deprecation annotation.. > Like this.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/openide.options/src/org/openide/text/NbDocument$Colors.java:31: > warning: [dep-ann] deprecated item is not annotated with @Deprecated >[repeat] public final class NbDocument$Colors extends > org.openide.options.SystemOption { >[repeat] ^ >[repeat] 48 warnings > [copy] Copying 1 file to > /home/bwalker/src/netbeans/platform/openide.options/build/classes > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465819#comment-17465819 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-6337 - remove annotation warnings related to deprecating > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6337) remove annotation warnings related to deprecating
Brad Walker created NETBEANS-6337: - Summary: remove annotation warnings related to deprecating Key: NETBEANS-6337 URL: https://issues.apache.org/jira/browse/NETBEANS-6337 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Fix For: 13 Cleanup warnings related to improper deprecation annotation.. Like this.. {code:java} [repeat] /home/bwalker/src/netbeans/platform/openide.options/src/org/openide/text/NbDocument$Colors.java:31: warning: [dep-ann] deprecated item is not annotated with @Deprecated [repeat] public final class NbDocument$Colors extends org.openide.options.SystemOption { [repeat] ^ [repeat] 48 warnings [copy] Copying 1 file to /home/bwalker/src/netbeans/platform/openide.options/build/classes {code} -- This message was sent by Atlassian Jira (v8.20.1#820001) - 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
[jira] [Created] (NETBEANS-6090) update javac.source to 1.8 from 1.5
Brad Walker created NETBEANS-6090: - Summary: update javac.source to 1.8 from 1.5 Key: NETBEANS-6090 URL: https://issues.apache.org/jira/browse/NETBEANS-6090 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker There is a push to update the Netbeans IDE to use a more current Java baseline. This effort is to help with this push. So update the javac.source from 1.5 to 1.8. Build it and then run it. -- 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
[jira] [Closed] (NETBEANS-6045) cleanup ArrayList warnings
[ https://issues.apache.org/jira/browse/NETBEANS-6045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-6045. - Resolution: Fixed fixed & integrated.. > cleanup ArrayList warnings > -- > > Key: NETBEANS-6045 > URL: https://issues.apache.org/jira/browse/NETBEANS-6045 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > Cleanup a bunch of warnings related to ArrayList.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17418671#comment-17418671 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-6045 - cleanup ArrayList warnings > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-6045) cleanup ArrayList warnings
Brad Walker created NETBEANS-6045: - Summary: cleanup ArrayList warnings Key: NETBEANS-6045 URL: https://issues.apache.org/jira/browse/NETBEANS-6045 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Fix For: 12.6 Cleanup a bunch of warnings related to ArrayList.. -- 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
[jira] [Closed] (NETBEANS-6023) cleanup SQLParser.java warning errors
[ https://issues.apache.org/jira/browse/NETBEANS-6023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-6023. - Resolution: Fixed fixed and integrated.. > cleanup SQLParser.java warning errors > - > > Key: NETBEANS-6023 > URL: https://issues.apache.org/jira/browse/NETBEANS-6023 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 40m > Remaining Estimate: 0h > > I wanted to explore the SQL capabilities of Netbeans. As a result, I cleaned > up some of the > warnings in SQLParser.jj and friends. > {code:java} >[repeat] > /home/bwalker/src/netbeans/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.java:75: > warning: [rawtypes] found raw type: ArrayList >[repeat] SelectNode SQLSelect() throws ParseException {ArrayList > selctItemList=new ArrayList(); >[repeat] ^ >[repeat] missing type arguments for generic class ArrayList >[repeat] where E is a type-variable: >[repeat] E extends Object declared in class ArrayList > {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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417435#comment-17417435 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-6023 - cleanup SQLParser.java warning errors > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-6023) cleanup SQLParser.java warning errors
Brad Walker created NETBEANS-6023: - Summary: cleanup SQLParser.java warning errors Key: NETBEANS-6023 URL: https://issues.apache.org/jira/browse/NETBEANS-6023 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Fix For: 12.6 I wanted to explore the SQL capabilities of Netbeans. As a result, I cleaned up some of the warnings in SQLParser.jj and friends. {code:java} [repeat] /home/bwalker/src/netbeans/ide/db.sql.visualeditor/src/org/netbeans/modules/db/sql/visualeditor/parser/SQLParser.java:75: warning: [rawtypes] found raw type: ArrayList [repeat] SelectNode SQLSelect() throws ParseException {ArrayList selctItemList=new ArrayList(); [repeat] ^ [repeat] missing type arguments for generic class ArrayList [repeat] where E is a type-variable: [repeat] E extends Object declared in class ArrayList {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
[jira] [Closed] (NETBEANS-5976) cleanup Integer deprecation warnings
[ https://issues.apache.org/jira/browse/NETBEANS-5976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5976. - Fix Version/s: 12.6 Resolution: Fixed Fixed & Integrated.. > cleanup Integer deprecation warnings > > > Key: NETBEANS-5976 > URL: https://issues.apache.org/jira/browse/NETBEANS-5976 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 20m > Remaining Estimate: 0h > > In Java 9, {code:java}new Integer(){code} has been deprecated.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/nbi/engine/src/org/netbeans/installer/wizard/components/actions/InstallAction.java:183: > warning: [deprecation] Integer(int) in Integer has been deprecated >[repeat] new > Integer(INSTALLATION_ERROR_CODE)); >[repeat] ^ > {code} > There are a LOT of these, so I'm staging the changes so they are more > manageable. In addition, these changes do not change behavior for legacy Java > runtime environments. But, in Java 9, and afterwards, these changes can > provide a possible speedup.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410087#comment-17410087 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5976 - cleanup Integer deprecation warnings > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5976) cleanup Integer deprecation warnings
Brad Walker created NETBEANS-5976: - Summary: cleanup Integer deprecation warnings Key: NETBEANS-5976 URL: https://issues.apache.org/jira/browse/NETBEANS-5976 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker In Java 9, {code:java}new Integer(){code} has been deprecated.. {code:java} [repeat] /home/bwalker/src/netbeans/nbi/engine/src/org/netbeans/installer/wizard/components/actions/InstallAction.java:183: warning: [deprecation] Integer(int) in Integer has been deprecated [repeat] new Integer(INSTALLATION_ERROR_CODE)); [repeat] ^ {code} There are a LOT of these, so I'm staging the changes so they are more manageable. In addition, these changes do not change behavior for legacy Java runtime environments. But, in Java 9, and afterwards, these changes can provide a possible speedup.. -- 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
[jira] [Closed] (NETBEANS-4755) remove use of deprecated API - getURL()
[ https://issues.apache.org/jira/browse/NETBEANS-4755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4755. - Resolution: Fixed fixed & integrated.. > remove use of deprecated API - getURL() > --- > > Key: NETBEANS-4755 > URL: https://issues.apache.org/jira/browse/NETBEANS-4755 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Time Spent: 2h 40m > Remaining Estimate: 0h > > Remove the use of a deprecated API, getURL().. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/openide.loaders/src/org/openide/loaders/XMLDataObject.java:528: > warning: [deprecation] getURL() in FileObject has been deprecated >[repeat] String loc = getPrimaryFile().getURL().toExternalForm(); >[repeat] ^ > {code} > In addition, this deprecated API never throws an exception. So once the > change was made, also had to removed references to the unused exception. -- 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
[jira] [Closed] (NETBEANS-5966) cleanup more of the raw type warnings
[ https://issues.apache.org/jira/browse/NETBEANS-5966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5966. - Resolution: Fixed fixed & integrated.. > cleanup more of the raw type warnings > - > > Key: NETBEANS-5966 > URL: https://issues.apache.org/jira/browse/NETBEANS-5966 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Fix For: 12.6 > > > More work done on cleanup of raw type warnings.. Issues like this: > [nb-javac] > /home/bwalker/src/netbeans/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/common/ComponentBeanMultiple.java:242: > warning: [rawtypes] found raw type: Map > [nb-javac] Map map =new java.util.HashMap(); > [nb-javac] ^ > [nb-javac] missing type arguments for generic class Map > [nb-javac] where K,V are type-variables: > [nb-javac] K extends Object declared in interface Map > [nb-javac] V extends Object declared in interface Map > All work is done internal to methods and non-public interfaces.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408536#comment-17408536 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5966 - cleanup more of the raw type warnings > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5966) cleanup more of the raw type warnings
Brad Walker created NETBEANS-5966: - Summary: cleanup more of the raw type warnings Key: NETBEANS-5966 URL: https://issues.apache.org/jira/browse/NETBEANS-5966 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Fix For: 12.6 More work done on cleanup of raw type warnings.. Issues like this: [nb-javac] /home/bwalker/src/netbeans/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/common/ComponentBeanMultiple.java:242: warning: [rawtypes] found raw type: Map [nb-javac] Map map =new java.util.HashMap(); [nb-javac] ^ [nb-javac] missing type arguments for generic class Map [nb-javac] where K,V are type-variables: [nb-javac] K extends Object declared in interface Map [nb-javac] V extends Object declared in interface Map All work is done internal to methods and non-public interfaces.. -- 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
[jira] [Closed] (NETBEANS-5950) cleanup warnings related to unreachable exception catches
[ https://issues.apache.org/jira/browse/NETBEANS-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5950. - Resolution: Fixed fixed and integrated.. > cleanup warnings related to unreachable exception catches > - > > Key: NETBEANS-5950 > URL: https://issues.apache.org/jira/browse/NETBEANS-5950 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Minor > Labels: pull-request-available > Fix For: 12.6 > > Time Spent: 50m > Remaining Estimate: 0h > > The java compiler knows explicitly what exceptions are thrown when compiling > code. > This change removes all the warnings related to "{code:java}warning: > unreachable catch clause{code}" > For example: > {code:java} >[repeat] > /home/bwalker/src/netbeans/enterprise/web.struts/src/org/netbeans/modules/web/struts/StrutsConfigDataObject.java:297: > warning: unreachable catch clause >[repeat] } catch(SAXException ex) { >[repeat] ^ >[repeat] thrown type SAXParseException has already been caught > {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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404925#comment-17404925 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5950 - cleanup warnings related to unreachable exception catches > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5950) cleanup warnings related to unreachable exception catches
Brad Walker created NETBEANS-5950: - Summary: cleanup warnings related to unreachable exception catches Key: NETBEANS-5950 URL: https://issues.apache.org/jira/browse/NETBEANS-5950 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Fix For: 12.6 The java compiler knows explicitly what exceptions are thrown when compiling code. This change removes all the warnings related to "{code:java}warning: unreachable catch clause{code}" For example: {code:java} [repeat] /home/bwalker/src/netbeans/enterprise/web.struts/src/org/netbeans/modules/web/struts/StrutsConfigDataObject.java:297: warning: unreachable catch clause [repeat] } catch(SAXException ex) { [repeat] ^ [repeat] thrown type SAXParseException has already been caught {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
[jira] [Resolved] (NETBEANS-5683) remove last remaining HashSet raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker resolved NETBEANS-5683. --- Fix Version/s: 12.5 Resolution: Fixed fixed & merged > remove last remaining HashSet raw type warnings.. > - > > Key: NETBEANS-5683 > URL: https://issues.apache.org/jira/browse/NETBEANS-5683 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 0.5h > Remaining Estimate: 0h > > This change will remove the last remaining warnings about raw type HashSet. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewActionMap.java:124: > warning: [rawtypes] found raw type: HashSet >[repeat] Set keys = new HashSet(); >[repeat]^ >[repeat] missing type arguments for generic class HashSet >[repeat] where E is a type-variable: >[repeat] E extends Object declared in class HashSet > {code} > At this point, we have removed all warnings related to this.. Hooray!! -- 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
[jira] [Closed] (NETBEANS-5683) remove last remaining HashSet raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5683. - > remove last remaining HashSet raw type warnings.. > - > > Key: NETBEANS-5683 > URL: https://issues.apache.org/jira/browse/NETBEANS-5683 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 0.5h > Remaining Estimate: 0h > > This change will remove the last remaining warnings about raw type HashSet. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewActionMap.java:124: > warning: [rawtypes] found raw type: HashSet >[repeat] Set keys = new HashSet(); >[repeat]^ >[repeat] missing type arguments for generic class HashSet >[repeat] where E is a type-variable: >[repeat] E extends Object declared in class HashSet > {code} > At this point, we have removed all warnings related to this.. Hooray!! -- 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
[jira] [Commented] (NETBEANS-5683) remove last remaining HashSet raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17381690#comment-17381690 ] Brad Walker commented on NETBEANS-5683: --- Hey [~asbachb], my thoughts exactly. I'm going to work on that.. 8-) > remove last remaining HashSet raw type warnings.. > - > > Key: NETBEANS-5683 > URL: https://issues.apache.org/jira/browse/NETBEANS-5683 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > > This change will remove the last remaining warnings about raw type HashSet. > {code:java} >[repeat] > /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewActionMap.java:124: > warning: [rawtypes] found raw type: HashSet >[repeat] Set keys = new HashSet(); >[repeat]^ >[repeat] missing type arguments for generic class HashSet >[repeat] where E is a type-variable: >[repeat] E extends Object declared in class HashSet > {code} > At this point, we have removed all warnings related to this.. Hooray!! -- 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
[jira] [Closed] (NETBEANS-5682) cleanup more of the raw type iterator warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5682. - > cleanup more of the raw type iterator warnings.. > > > Key: NETBEANS-5682 > URL: https://issues.apache.org/jira/browse/NETBEANS-5682 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > I've been away for a little while due to life.. But, the Netbeans Rust > Remover is back.. 8-) > This issue cleans up more of the raw type iterator warnings.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/enterprise/web.freeform/src/org/netbeans/modules/web/freeform/ui/NewWebFreeformProjectWizardIterator.java:111: > warning: [rawtypes] found raw type: Iterator >[repeat] Iterator iter = webModules.iterator(); >[repeat] ^ >[repeat] missing type arguments for generic class Iterator >[repeat] where E is a type-variable: >[repeat] E extends Object declared in interface Iterator > {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
[jira] [Resolved] (NETBEANS-5682) cleanup more of the raw type iterator warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker resolved NETBEANS-5682. --- Fix Version/s: 12.5 Resolution: Fixed fixed and integrated.. > cleanup more of the raw type iterator warnings.. > > > Key: NETBEANS-5682 > URL: https://issues.apache.org/jira/browse/NETBEANS-5682 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.5 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > I've been away for a little while due to life.. But, the Netbeans Rust > Remover is back.. 8-) > This issue cleans up more of the raw type iterator warnings.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/enterprise/web.freeform/src/org/netbeans/modules/web/freeform/ui/NewWebFreeformProjectWizardIterator.java:111: > warning: [rawtypes] found raw type: Iterator >[repeat] Iterator iter = webModules.iterator(); >[repeat] ^ >[repeat] missing type arguments for generic class Iterator >[repeat] where E is a type-variable: >[repeat] E extends Object declared in interface Iterator > {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
[jira] [Closed] (NETBEANS-5581) Opening project causes Netbeans null pointer exception to be thrown..
[ https://issues.apache.org/jira/browse/NETBEANS-5581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5581. - Resolution: Abandoned I've decided to mark this abandoned since the change of it getting locked at this point is minimal.. Maybe next time. > Opening project causes Netbeans null pointer exception to be thrown.. > - > > Key: NETBEANS-5581 > URL: https://issues.apache.org/jira/browse/NETBEANS-5581 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next >Reporter: Brad Walker >Priority: Major > Attachments: IDE-error.log > > > I am testing out the latest version of Netbeans and encountering a problem. > Basically when I open the Project - Payara Jakarta EE and look at the source > code for Hk2OptionalFactory.java, Netbeans with throw a null pointer > exception.. And it just gets's stuck in this cycle.. > The IDE log is attached. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345765#comment-17345765 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5683 - remove last remaining HashSet raw type warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5683) remove last remaining HashSet raw type warnings..
Brad Walker created NETBEANS-5683: - Summary: remove last remaining HashSet raw type warnings.. Key: NETBEANS-5683 URL: https://issues.apache.org/jira/browse/NETBEANS-5683 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker This change will remove the last remaining warnings about raw type HashSet. {code:java} [repeat] /home/bwalker/src/netbeans/platform/core.multiview/src/org/netbeans/core/multiview/MultiViewActionMap.java:124: warning: [rawtypes] found raw type: HashSet [repeat] Set keys = new HashSet(); [repeat]^ [repeat] missing type arguments for generic class HashSet [repeat] where E is a type-variable: [repeat] E extends Object declared in class HashSet {code} At this point, we have removed all warnings related to this.. Hooray!! -- 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
[jira] [Comment Edited] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345075#comment-17345075 ] Brad Walker edited comment on NETBEANS-2515 at 5/15/21, 4:33 PM: - NETBEANS-5682 - cleanup more of the raw type iterator warnings.. was (Author: brad.walker): cleanup more of the raw type iterator warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17345075#comment-17345075 ] Brad Walker commented on NETBEANS-2515: --- cleanup more of the raw type iterator warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5682) cleanup more of the raw type iterator warnings..
Brad Walker created NETBEANS-5682: - Summary: cleanup more of the raw type iterator warnings.. Key: NETBEANS-5682 URL: https://issues.apache.org/jira/browse/NETBEANS-5682 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker I've been away for a little while due to life.. But, the Netbeans Rust Remover is back.. 8-) This issue cleans up more of the raw type iterator warnings.. {code:java} [repeat] /home/bwalker/src/netbeans/enterprise/web.freeform/src/org/netbeans/modules/web/freeform/ui/NewWebFreeformProjectWizardIterator.java:111: warning: [rawtypes] found raw type: Iterator [repeat] Iterator iter = webModules.iterator(); [repeat] ^ [repeat] missing type arguments for generic class Iterator [repeat] where E is a type-variable: [repeat] E extends Object declared in interface Iterator {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
[jira] [Created] (NETBEANS-5581) Opening project causes Netbeans null pointer exception to be thrown..
Brad Walker created NETBEANS-5581: - Summary: Opening project causes Netbeans null pointer exception to be thrown.. Key: NETBEANS-5581 URL: https://issues.apache.org/jira/browse/NETBEANS-5581 Project: NetBeans Issue Type: Bug Affects Versions: Next Reporter: Brad Walker Attachments: IDE-error.log I am testing out the latest version of Netbeans and encountering a problem. Basically when I open the Project - Payara Jakarta EE and look at the source code for Hk2OptionalFactory.java, Netbeans with throw a null pointer exception.. And it just gets's stuck in this cycle.. The IDE log is attached. -- 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
[jira] [Created] (NETBEANS-5354) update public interface for a few users of LinkedList
Brad Walker created NETBEANS-5354: - Summary: update public interface for a few users of LinkedList Key: NETBEANS-5354 URL: https://issues.apache.org/jira/browse/NETBEANS-5354 Project: NetBeans Issue Type: Improvement Affects Versions: 12.2 Reporter: Brad Walker Assignee: Brad Walker Fix For: Next I've wanted to expand my knowledge about how to change the interface. So I've picked a simple one to change.. I've changed the interface to use List instead of LinkedList. One should use interfaces and not implementations in the public interface.. Changing this will allow me to fix the following warnings easily. [repeat] /home/bwalker/src/netbeans/enterprise/websvc.manager/src/org/netbeans/modules/websvc/manager/ui/TestWebServiceMethodDlg.java:390: warning: [rawtypes] found raw type: LinkedList [repeat] public void methodFinished(final Object inReturnedObject,final LinkedList inParamList) { [repeat]^ [repeat] missing type arguments for generic class LinkedList [repeat] where E is a type-variable: [repeat] E extends Object declared in class LinkedList -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17283294#comment-17283294 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5354 - update public interface for a few users of LinkedList > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Closed] (NETBEANS-5187) cleanup Vector raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5187. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > cleanup Vector raw type warnings.. > -- > > Key: NETBEANS-5187 > URL: https://issues.apache.org/jira/browse/NETBEANS-5187 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > Cleanup a bunch of the follow raw type warnings related to the use of Vector.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/enterprise/payara.eecommon/build/classes-generated/org/netbeans/modules/payara/eecommon/dd/impl/web/model_4/SessionConfig.java:22: > warning: [rawtypes] found raw type: Vector >[repeat] static Vector comparators = new Vector(); >[repeat] ^ >[repeat] missing type arguments for generic class Vector >[repeat] where E is a type-variable: >[repeat] E extends Object declared in class Vector > {code} > This check-in cleans up a lot of these.. -- 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
[jira] [Closed] (NETBEANS-5185) cleanup imports in the Enterprise Web.Monitor module
[ https://issues.apache.org/jira/browse/NETBEANS-5185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5185. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > cleanup imports in the Enterprise Web.Monitor module > > > Key: NETBEANS-5185 > URL: https://issues.apache.org/jira/browse/NETBEANS-5185 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > In cleaning up Vector raw types, I noticed a bunch of imports in the > Enterprise Web.Monitor module that could use some cleanup. > It's bad form to use the "*" when importing. It's pulls in every class in the > import. > In addition, it can make modularization brought in from Project Jigsaw. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255348#comment-17255348 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5187 - cleanup Vector raw type warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5187) cleanup Vector raw type warnings..
Brad Walker created NETBEANS-5187: - Summary: cleanup Vector raw type warnings.. Key: NETBEANS-5187 URL: https://issues.apache.org/jira/browse/NETBEANS-5187 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Cleanup a bunch of the follow raw type warnings related to the use of Vector.. {code:java} [repeat] /home/bwalker/src/netbeans/enterprise/payara.eecommon/build/classes-generated/org/netbeans/modules/payara/eecommon/dd/impl/web/model_4/SessionConfig.java:22: warning: [rawtypes] found raw type: Vector [repeat] static Vector comparators = new Vector(); [repeat] ^ [repeat] missing type arguments for generic class Vector [repeat] where E is a type-variable: [repeat] E extends Object declared in class Vector {code} This check-in cleans up a lot of these.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254919#comment-17254919 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5185 - cleanup imports in the Enterprise Web.Monitor module > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5185) cleanup imports in the Enterprise Web.Monitor module
Brad Walker created NETBEANS-5185: - Summary: cleanup imports in the Enterprise Web.Monitor module Key: NETBEANS-5185 URL: https://issues.apache.org/jira/browse/NETBEANS-5185 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker In cleaning up Vector raw types, I noticed a bunch of imports in the Enterprise Web.Monitor module that could use some cleanup. It's bad form to use the "*" when importing. It's pulls in every class in the import. In addition, it can make modularization brought in from Project Jigsaw. -- 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
[jira] [Closed] (NETBEANS-4305) cleanup dead hardware support
[ https://issues.apache.org/jira/browse/NETBEANS-4305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4305. - Fix Version/s: (was: Next) 12.2 Resolution: Fixed integrated.. > cleanup dead hardware support > - > > Key: NETBEANS-4305 > URL: https://issues.apache.org/jira/browse/NETBEANS-4305 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 3h 40m > Remaining Estimate: 0h > > Sun Microsystems has not produced a 32-bit microprocessor in years. In > addition, Solaris is now strictly 64-bit and has been that way for a LONG > time. > So cleanup the platform support to remove support for 32-bit SPARC processors > and Solaris. > Java doesn't even run on this equipment. -- 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
[jira] [Closed] (NETBEANS-5031) remove use of deprecated APIs in MiniEdit.java
[ https://issues.apache.org/jira/browse/NETBEANS-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5031. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > remove use of deprecated APIs in MiniEdit.java > -- > > Key: NETBEANS-5031 > URL: https://issues.apache.org/jira/browse/NETBEANS-5031 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 1h > Remaining Estimate: 0h > > I'm trying to remove the use of a deprecated API that hinders updating the > Java version. > MiniEdit.java uses a really old deprecated API. This API prevents us from > upgrade the Java source version in the project properties file. > So step #1 is to remove the use of the old deprecated API. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249505#comment-17249505 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5151 - update java.source in the project properties > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Updated] (NETBEANS-5151) update java.source in the project properties
[ https://issues.apache.org/jira/browse/NETBEANS-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-5151: -- Description: There are hundreds of warnings that are generated because the java.source specifies version 1.6 in the project.properties files. The warning looks like this: {code:java} ... -compile-ant: [javac] Compiling 2 source files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [repeat] 1 warning [copy] Copying 6 files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes -generate-proxies: ... {code} I've cleaned this up. There are still a few of these warnings left. I will clean them up when I have time to go in and inspect each one individually. Since Java 8 is our default, cleaning these up makes those warnings go away. was: There are hundreds of warnings that are generated because the java.source specifies version 1.6 in the project.properties files. The warning looks like this: {code:java} ... -compile-ant: [javac] Compiling 2 source files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [repeat] 1 warning [copy] Copying 6 files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes -generate-proxies: ... {code} I've cleaned this up. There are still a few of these warnings left. I will clean them up when I have time to go in and inspect each one individually. > update java.source in the project properties > > > Key: NETBEANS-5151 > URL: https://issues.apache.org/jira/browse/NETBEANS-5151 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > There are hundreds of warnings that are generated because the java.source > specifies version 1.6 in the project.properties files. The warning looks like > this: > {code:java} > ... > -compile-ant: > [javac] Compiling 2 source files to > /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes > [repeat] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 >[repeat] 1 warning > [copy] Copying 6 files to > /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes > -generate-proxies: > ... > {code} > I've cleaned this up. There are still a few of these warnings left. I will > clean them up when I have time to go in and inspect each one individually. > Since Java 8 is our default, cleaning these up makes those warnings go away. -- 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
[jira] [Created] (NETBEANS-5151) update java.source in the project properties
Brad Walker created NETBEANS-5151: - Summary: update java.source in the project properties Key: NETBEANS-5151 URL: https://issues.apache.org/jira/browse/NETBEANS-5151 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker There are hundreds of warnings that are generated because the java.source specifies version 1.6 in the project.properties files. The warning looks like this: {code:java} ... -compile-ant: [javac] Compiling 2 source files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes {color:yellow} [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6{color} [repeat] 1 warning [copy] Copying 6 files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes -generate-proxies: ... {code} I've cleaned this up. There are still a few of these warnings left. I will clean them up when I have time to go in and inspect each one individually. -- 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
[jira] [Updated] (NETBEANS-5151) update java.source in the project properties
[ https://issues.apache.org/jira/browse/NETBEANS-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-5151: -- Description: There are hundreds of warnings that are generated because the java.source specifies version 1.6 in the project.properties files. The warning looks like this: {code:java} ... -compile-ant: [javac] Compiling 2 source files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [repeat] 1 warning [copy] Copying 6 files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes -generate-proxies: ... {code} I've cleaned this up. There are still a few of these warnings left. I will clean them up when I have time to go in and inspect each one individually. was: There are hundreds of warnings that are generated because the java.source specifies version 1.6 in the project.properties files. The warning looks like this: {code:java} ... -compile-ant: [javac] Compiling 2 source files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes {color:yellow} [repeat] warning: [options] bootstrap class path not set in conjunction with -source 1.6{color} [repeat] 1 warning [copy] Copying 6 files to /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes -generate-proxies: ... {code} I've cleaned this up. There are still a few of these warnings left. I will clean them up when I have time to go in and inspect each one individually. > update java.source in the project properties > > > Key: NETBEANS-5151 > URL: https://issues.apache.org/jira/browse/NETBEANS-5151 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > There are hundreds of warnings that are generated because the java.source > specifies version 1.6 in the project.properties files. The warning looks like > this: > {code:java} > ... > -compile-ant: > [javac] Compiling 2 source files to > /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes > [repeat] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 >[repeat] 1 warning > [copy] Copying 6 files to > /home/bwalker/src/netbeans/ergonomics/ide.ergonomics/build/classes > -generate-proxies: > ... > {code} > I've cleaned this up. There are still a few of these warnings left. I will > clean them up when I have time to go in and inspect each one individually. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249095#comment-17249095 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4458 - enable use of generics > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Closed] (NETBEANS-4458) enable use of generics
[ https://issues.apache.org/jira/browse/NETBEANS-4458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4458. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > enable use of generics > -- > > Key: NETBEANS-4458 > URL: https://issues.apache.org/jira/browse/NETBEANS-4458 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 3h 10m > Remaining Estimate: 0h > > A lot of places in the code has generic use commented out.. For example, the > following in > LayoutModel.java > {code:java} > public void unsetSameSize(List/**/ components, int dimension) { > Iterator i = components.iterator(); > while (i.hasNext()) { > String cid = (String)i.next(); > LayoutComponent lc = getLayoutComponent(cid); > removeComponentFromLinkSizedGroup(lc, dimension); > } > } > {code} > All I've done here is enable it to reduce the warnings and test out the code > to make sure it works correctly. -- 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
[jira] [Closed] (NETBEANS-5074) cleanup ArrayList warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5074. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > cleanup ArrayList warnings.. > > > Key: NETBEANS-5074 > URL: https://issues.apache.org/jira/browse/NETBEANS-5074 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 40m > Remaining Estimate: 0h > -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239915#comment-17239915 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5074 - cleanup ArrayList warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Commented] (NETBEANS-5074) cleanup ArrayList warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239914#comment-17239914 ] Brad Walker commented on NETBEANS-5074: --- This work cleans up a bunch of warnings surrounding the use of ArrayList.. For example: {code:java} [repeat] /home/bwalker/src/netbeans/platform/core.multitabs/src/org/netbeans/core/multitabs/impl/TabLayoutManager.java:245: warning: [unchecked] unchecked conversion [repeat] List[] rowIndexes = new ArrayList[rowCount]; [repeat] ^ [repeat] required: List[] [repeat] found:ArrayList[] {code} ActionsManager.java was especially involved since one change would require another. And keeping track of that, so as not to break things, was hard. > cleanup ArrayList warnings.. > > > Key: NETBEANS-5074 > URL: https://issues.apache.org/jira/browse/NETBEANS-5074 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > -- 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
[jira] [Created] (NETBEANS-5074) cleanup ArrayList warnings..
Brad Walker created NETBEANS-5074: - Summary: cleanup ArrayList warnings.. Key: NETBEANS-5074 URL: https://issues.apache.org/jira/browse/NETBEANS-5074 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker -- 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
[jira] [Closed] (NETBEANS-5066) cleanup usage of EMPTY_MAP warnings
[ https://issues.apache.org/jira/browse/NETBEANS-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5066. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > cleanup usage of EMPTY_MAP warnings > --- > > Key: NETBEANS-5066 > URL: https://issues.apache.org/jira/browse/NETBEANS-5066 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 0.5h > Remaining Estimate: 0h > > In many places there are unchecked conversion warnings.. This change reduces > these errors when using Collections.EMPTY_MAP to a bare minimum.. > For example, > {code:java} >[repeat] > /tmp/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:172: > warning: [unchecked] unchecked conversion >[repeat] result = Collections.EMPTY_MAP; >[repeat] ^ >[repeat] required: Map >[repeat] found:Map > {code} > Clean this up.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239350#comment-17239350 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5066 - cleanup usage of EMPTY_MAP warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Updated] (NETBEANS-5066) cleanup usage of EMPTY_MAP warnings
[ https://issues.apache.org/jira/browse/NETBEANS-5066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-5066: -- Summary: cleanup usage of EMPTY_MAP warnings (was: cleanup usage of EMPTY_MAP) > cleanup usage of EMPTY_MAP warnings > --- > > Key: NETBEANS-5066 > URL: https://issues.apache.org/jira/browse/NETBEANS-5066 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > In many places there are unchecked conversion warnings.. This change reduces > these errors when using Collections.EMPTY_MAP to a bare minimum.. > For example, > {code:java} >[repeat] > /tmp/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:172: > warning: [unchecked] unchecked conversion >[repeat] result = Collections.EMPTY_MAP; >[repeat] ^ >[repeat] required: Map >[repeat] found:Map > {code} > Clean this up.. -- 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
[jira] [Created] (NETBEANS-5066) cleanup usage of EMPTY_MAP
Brad Walker created NETBEANS-5066: - Summary: cleanup usage of EMPTY_MAP Key: NETBEANS-5066 URL: https://issues.apache.org/jira/browse/NETBEANS-5066 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker In many places there are unchecked conversion warnings.. This change reduces these errors when using Collections.EMPTY_MAP to a bare minimum.. For example, {code:java} [repeat] /tmp/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:172: warning: [unchecked] unchecked conversion [repeat] result = Collections.EMPTY_MAP; [repeat] ^ [repeat] required: Map [repeat] found:Map {code} Clean this up.. -- 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
[jira] [Closed] (NETBEANS-5053) cleanup Set raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-5053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5053. - Fix Version/s: 12.3 Resolution: Fixed integrated.. > cleanup Set raw type warnings.. > --- > > Key: NETBEANS-5053 > URL: https://issues.apache.org/jira/browse/NETBEANS-5053 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 3h 20m > Remaining Estimate: 0h > > I am trying to cleanup a bunch of the Set raw type warnings.. They look like > this.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/breakpoints/CPPLiteBreakpointActionProvider.java:50: > warning: [rawtypes] found raw type: Set >[repeat] private static final Set actions = Collections.singleton ( >[repeat] ^ >[repeat] missing type arguments for generic class Set >[repeat] where E is a type-variable: >[repeat] E extends Object declared in interface Set > {code} > This change reduces the warnings dramatically. The ones remaining are in > public interfaces and it's beyond the scope for me to tackle that.. > Hopefully, in the future. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17237100#comment-17237100 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5053 - cleanup Set raw type warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5053) cleanup Set raw type warnings..
Brad Walker created NETBEANS-5053: - Summary: cleanup Set raw type warnings.. Key: NETBEANS-5053 URL: https://issues.apache.org/jira/browse/NETBEANS-5053 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker I am trying to cleanup a bunch of the Set raw type warnings.. They look like this.. {code:java} [repeat] /home/bwalker/src/netbeans/cpplite/cpplite.debugger/src/org/netbeans/modules/cpplite/debugger/breakpoints/CPPLiteBreakpointActionProvider.java:50: warning: [rawtypes] found raw type: Set [repeat] private static final Set actions = Collections.singleton ( [repeat] ^ [repeat] missing type arguments for generic class Set [repeat] where E is a type-variable: [repeat] E extends Object declared in interface Set {code} This change reduces the warnings dramatically. The ones remaining are in public interfaces and it's beyond the scope for me to tackle that.. Hopefully, in the future. -- 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
[jira] [Closed] (NETBEANS-5032) update .gitignore to include a few test dirs..
[ https://issues.apache.org/jira/browse/NETBEANS-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-5032. - Fix Version/s: 12.3 Resolution: Fixed merged.. > update .gitignore to include a few test dirs.. > -- > > Key: NETBEANS-5032 > URL: https://issues.apache.org/jira/browse/NETBEANS-5032 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.3 > > Time Spent: 20m > Remaining Estimate: 0h > > When one does the following command: > $ANT_HOME/bin/ant test-platform > Numerous test related files get created that should be ignored.. > {code:java} > [bwalker@localhost netbeans]$ git status > On branch master > Untracked files: > (use "git add ..." to include in what will be committed) > > platform/o.n.bootstrap/test/unit/data/jars/agent/org/agent/HelloWorld.class > > platform/o.n.bootstrap/test/unit/data/jars/agent/org/agent/HelloWorldAgent.class > platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/bar/ > > platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/foo/Something.class > > platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/foo/SomethingElse.class > > platform/o.n.bootstrap/test/unit/data/jars/cyclic-2/org/bar/Something.class > > platform/o.n.bootstrap/test/unit/data/jars/cyclic-2/org/bar/SomethingElse.class > > platform/o.n.bootstrap/test/unit/data/jars/dep-on-dep-on-simple/org/baz/SomethingElseAgain.class > > platform/o.n.bootstrap/test/unit/data/jars/depends-on-cyclic-1/org/baz/Whatever.class > > platform/o.n.bootstrap/test/unit/data/jars/depends-on-library-src/org/dol/User.class > > platform/o.n.bootstrap/test/unit/data/jars/depends-on-simple-module/org/bar/SomethingElse.class > > platform/o.n.bootstrap/test/unit/data/jars/exposes-api/org/netbeans/api/foo/PublicClass.class > > platform/o.n.bootstrap/test/unit/data/jars/exposes-api/org/netbeans/modules/foo/ImplClass.class > > platform/o.n.bootstrap/test/unit/data/jars/fragment-module/org/foo/FragmentContent.class > > platform/o.n.bootstrap/test/unit/data/jars/host-module/org/foo/Something.class > > platform/o.n.bootstrap/test/unit/data/jars/library-src/pkg/subpkg/Something.class > > platform/o.n.bootstrap/test/unit/data/jars/look-for-myself/lookformyself/Loder.class > platform/o.n.bootstrap/test/unit/data/jars/patch/pkg/subpkg/B.class > platform/o.n.bootstrap/test/unit/data/jars/patchable/pkg/subpkg/A.class > platform/o.n.bootstrap/test/unit/data/jars/patchable/pkg/subpkg/B.class > > platform/o.n.bootstrap/test/unit/data/jars/prov-foo/org/prov_foo/Clazz.class > > platform/o.n.bootstrap/test/unit/data/jars/simple-module/org/foo/Something.class > > platform/o.n.bootstrap/test/unit/data/jars/uses-api-transitively/usesapitrans/UsesDirectAPI.class > > platform/o.n.bootstrap/test/unit/data/jars/uses-api-transitively/usesapitrans/UsesIndirectAPI.class > > platform/o.n.bootstrap/test/unit/data/jars/uses-api/usesapi/UsesImplClass.class > > platform/o.n.bootstrap/test/unit/data/jars/uses-api/usesapi/UsesPublicClass.class > nothing added to commit but untracked files present (use "git add" to track) > {code} > This change to .gitignore adds these directories to be ignored.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232976#comment-17232976 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5032 - update .gitignore to include a few test dirs.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-5032) update .gitignore to include a few test dirs..
Brad Walker created NETBEANS-5032: - Summary: update .gitignore to include a few test dirs.. Key: NETBEANS-5032 URL: https://issues.apache.org/jira/browse/NETBEANS-5032 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker When one does the following command: $ANT_HOME/bin/ant test-platform Numerous test related files get created that should be ignored.. {code:java} [bwalker@localhost netbeans]$ git status On branch master Untracked files: (use "git add ..." to include in what will be committed) platform/o.n.bootstrap/test/unit/data/jars/agent/org/agent/HelloWorld.class platform/o.n.bootstrap/test/unit/data/jars/agent/org/agent/HelloWorldAgent.class platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/bar/ platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/foo/Something.class platform/o.n.bootstrap/test/unit/data/jars/cyclic-1/org/foo/SomethingElse.class platform/o.n.bootstrap/test/unit/data/jars/cyclic-2/org/bar/Something.class platform/o.n.bootstrap/test/unit/data/jars/cyclic-2/org/bar/SomethingElse.class platform/o.n.bootstrap/test/unit/data/jars/dep-on-dep-on-simple/org/baz/SomethingElseAgain.class platform/o.n.bootstrap/test/unit/data/jars/depends-on-cyclic-1/org/baz/Whatever.class platform/o.n.bootstrap/test/unit/data/jars/depends-on-library-src/org/dol/User.class platform/o.n.bootstrap/test/unit/data/jars/depends-on-simple-module/org/bar/SomethingElse.class platform/o.n.bootstrap/test/unit/data/jars/exposes-api/org/netbeans/api/foo/PublicClass.class platform/o.n.bootstrap/test/unit/data/jars/exposes-api/org/netbeans/modules/foo/ImplClass.class platform/o.n.bootstrap/test/unit/data/jars/fragment-module/org/foo/FragmentContent.class platform/o.n.bootstrap/test/unit/data/jars/host-module/org/foo/Something.class platform/o.n.bootstrap/test/unit/data/jars/library-src/pkg/subpkg/Something.class platform/o.n.bootstrap/test/unit/data/jars/look-for-myself/lookformyself/Loder.class platform/o.n.bootstrap/test/unit/data/jars/patch/pkg/subpkg/B.class platform/o.n.bootstrap/test/unit/data/jars/patchable/pkg/subpkg/A.class platform/o.n.bootstrap/test/unit/data/jars/patchable/pkg/subpkg/B.class platform/o.n.bootstrap/test/unit/data/jars/prov-foo/org/prov_foo/Clazz.class platform/o.n.bootstrap/test/unit/data/jars/simple-module/org/foo/Something.class platform/o.n.bootstrap/test/unit/data/jars/uses-api-transitively/usesapitrans/UsesDirectAPI.class platform/o.n.bootstrap/test/unit/data/jars/uses-api-transitively/usesapitrans/UsesIndirectAPI.class platform/o.n.bootstrap/test/unit/data/jars/uses-api/usesapi/UsesImplClass.class platform/o.n.bootstrap/test/unit/data/jars/uses-api/usesapi/UsesPublicClass.class nothing added to commit but untracked files present (use "git add" to track) {code} This change to .gitignore adds these directories to be ignored.. -- 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
[jira] [Closed] (NETBEANS-4925) cleanup Map raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-4925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4925. - Fix Version/s: 12.2 Resolution: Fixed Fixed and Integrated.. > cleanup Map raw type warnings.. > --- > > Key: NETBEANS-4925 > URL: https://issues.apache.org/jira/browse/NETBEANS-4925 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.2 > > Time Spent: 1h > Remaining Estimate: 0h > > Hey, it's me again.. The Netbeans Rust Remover.. > There are a bunch of warnings related to raw type usage of the Map interface.. >[repeat] > /home/bwalker/src/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:170: > warning: [rawtypes] found raw type: Map >[repeat] Map result; >[repeat] ^ >[repeat] missing type arguments for generic class Map >[repeat] where K,V are type-variables: >[repeat] K extends Object declared in interface Map >[repeat] V extends Object declared in interface Map > This change cleans some of this up.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17232954#comment-17232954 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-5031 - remove use of deprecated APIs in MiniEdit.java > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Updated] (NETBEANS-5031) remove use of deprecated APIs in MiniEdit.java
[ https://issues.apache.org/jira/browse/NETBEANS-5031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-5031: -- Summary: remove use of deprecated APIs in MiniEdit.java (was: remove use of deprecated APIs) > remove use of deprecated APIs in MiniEdit.java > -- > > Key: NETBEANS-5031 > URL: https://issues.apache.org/jira/browse/NETBEANS-5031 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > I'm trying to remove the use of a deprecated API that hinders updating the > Java version. > MiniEdit.java uses a really old deprecated API. This API prevents us from > upgrade the Java source version in the project properties file. > So step #1 is to remove the use of the old deprecated API. -- 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
[jira] [Created] (NETBEANS-5031) remove use of deprecated APIs
Brad Walker created NETBEANS-5031: - Summary: remove use of deprecated APIs Key: NETBEANS-5031 URL: https://issues.apache.org/jira/browse/NETBEANS-5031 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker I'm trying to remove the use of a deprecated API that hinders updating the Java version. MiniEdit.java uses a really old deprecated API. This API prevents us from upgrade the Java source version in the project properties file. So step #1 is to remove the use of the old deprecated API. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218078#comment-17218078 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4925 - cleanup Map raw type warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-4925) cleanup Map raw type warnings..
Brad Walker created NETBEANS-4925: - Summary: cleanup Map raw type warnings.. Key: NETBEANS-4925 URL: https://issues.apache.org/jira/browse/NETBEANS-4925 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Hey, it's me again.. The Netbeans Rust Remover.. There are a bunch of warnings related to raw type usage of the Map interface.. [repeat] /home/bwalker/src/netbeans/enterprise/websvc.rest/src/org/netbeans/modules/websvc/rest/support/SourceGroupSupport.java:170: warning: [rawtypes] found raw type: Map [repeat] Map result; [repeat] ^ [repeat] missing type arguments for generic class Map [repeat] where K,V are type-variables: [repeat] K extends Object declared in interface Map [repeat] V extends Object declared in interface Map This change cleans some of this up.. -- 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
[jira] [Closed] (NETBEANS-4284) cleanup a bunch of raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4284. - fixed and merged.. > cleanup a bunch of raw type warnings.. > -- > > Key: NETBEANS-4284 > URL: https://issues.apache.org/jira/browse/NETBEANS-4284 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: 12.2 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > Cleanup a bunch of raw type warnings related to the following.. >[repeat] > /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:91: > warning: [rawtypes] found raw type: Map >[repeat] public MapFormat(Map arguments) { >[repeat] ^ >[repeat] missing type arguments for generic class Map >[repeat] where K,V are type-variables: >[repeat] K extends Object declared in interface Map >[repeat] V extends Object declared in interface Map >[repeat] > /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:105: > warning: [rawtypes] > Also, updated Iterator types.. -- 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
[jira] [Resolved] (NETBEANS-4284) cleanup a bunch of raw type warnings..
[ https://issues.apache.org/jira/browse/NETBEANS-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker resolved NETBEANS-4284. --- Fix Version/s: 12.2 Resolution: Fixed > cleanup a bunch of raw type warnings.. > -- > > Key: NETBEANS-4284 > URL: https://issues.apache.org/jira/browse/NETBEANS-4284 > Project: NetBeans > Issue Type: Bug >Affects Versions: Next >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: 12.2 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > Cleanup a bunch of raw type warnings related to the following.. >[repeat] > /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:91: > warning: [rawtypes] found raw type: Map >[repeat] public MapFormat(Map arguments) { >[repeat] ^ >[repeat] missing type arguments for generic class Map >[repeat] where K,V are type-variables: >[repeat] K extends Object declared in interface Map >[repeat] V extends Object declared in interface Map >[repeat] > /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:105: > warning: [rawtypes] > Also, updated Iterator types.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187421#comment-17187421 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4755 - remove use of deprecated API - getURL() > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-4755) remove use of deprecated API - getURL()
Brad Walker created NETBEANS-4755: - Summary: remove use of deprecated API - getURL() Key: NETBEANS-4755 URL: https://issues.apache.org/jira/browse/NETBEANS-4755 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Remove the use of a deprecated API, getURL().. {code:java} [repeat] /home/bwalker/src/netbeans/platform/openide.loaders/src/org/openide/loaders/XMLDataObject.java:528: warning: [deprecation] getURL() in FileObject has been deprecated [repeat] String loc = getPrimaryFile().getURL().toExternalForm(); [repeat] ^ {code} In addition, this deprecated API never throws an exception. So once the change was made, also had to removed references to the unused exception. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185464#comment-17185464 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4744 - update RAT license exceptions > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-4744) update RAT license exceptions
Brad Walker created NETBEANS-4744: - Summary: update RAT license exceptions Key: NETBEANS-4744 URL: https://issues.apache.org/jira/browse/NETBEANS-4744 Project: NetBeans Issue Type: Improvement Components: cnd - Other Reporter: Brad Walker Assignee: Brad Walker Updated the copyright in the XML files. Updated the copyright in the C,C++ files. Updated the copyright in the .h files. -- 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
[jira] [Closed] (NETBEANS-4050) cleanup uses of EMPTY_LIST
[ https://issues.apache.org/jira/browse/NETBEANS-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4050. - Fix Version/s: (was: Next) 12.1 Resolution: Fixed > cleanup uses of EMPTY_LIST > -- > > Key: NETBEANS-4050 > URL: https://issues.apache.org/jira/browse/NETBEANS-4050 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: 12.1 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Clean up a bunch of compiler warning messages related to the use of > Collections.EMPTY_LIST.. >[repeat] > /home/bwalker/src/netbeans/java/ant.debugger/src/org/netbeans/modules/ant/debugger/RunTargetsAction.java:145: > warning: [unchecked] unchecked conversion >[repeat] allTargets = Collections.EMPTY_SET; >[repeat] ^ >[repeat] required: Set >[repeat] found:Set -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151760#comment-17151760 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4459 - remove use of deprecated field in Logger > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Closed] (NETBEANS-4459) remove use of deprecated field in Logger
[ https://issues.apache.org/jira/browse/NETBEANS-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4459. - Fix Version/s: Next Resolution: Fixed fixed and integrated.. > remove use of deprecated field in Logger > > > Key: NETBEANS-4459 > URL: https://issues.apache.org/jira/browse/NETBEANS-4459 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: Next > > Time Spent: 0.5h > Remaining Estimate: 0h > > Remove use of the deprecated Logger.global field.. > {code:java} >[repeat] > /home/bwalker/src/netbeans/enterprise/web.core/src/org/netbeans/modules/web/wizards/ServletPanel.java:169: > warning: [deprecation] global in Logger has been deprecated >[repeat] Logger.global.log(Level.WARNING, "getServlets > failed", e); >[repeat] ^ >[repeat] > /home/bwalker/src/netbeans/enterprise/web.core/src/org/netbeans/modules/web/wizards/ServletPanel.java:172: > warning: [deprecation] global in Logger has been deprecated >[repeat] Logger.global.log(Level.WARNING, "getServlets > failed", e); >[repeat] ^ >[repeat] Note: Some input files additionally use or override a deprecated > API. > {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
[jira] [Closed] (NETBEANS-4515) remove use of proprietary API - ARRAYLENGTH
[ https://issues.apache.org/jira/browse/NETBEANS-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4515. - Fix Version/s: 12.1 Resolution: Fixed > remove use of proprietary API - ARRAYLENGTH > --- > > Key: NETBEANS-4515 > URL: https://issues.apache.org/jira/browse/NETBEANS-4515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: 12.1 > > Time Spent: 40m > Remaining Estimate: 0h > > The code has a test case that uses a proprietary API field - ARRAYLENGTH.. > {code:java} > ... > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > ... > {code} > Remove the import of this class as it's not used and causes spurious > warnings.. -- 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
[jira] [Commented] (NETBEANS-4515) remove use of proprietary API - ARRAYLENGTH
[ https://issues.apache.org/jira/browse/NETBEANS-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151758#comment-17151758 ] Brad Walker commented on NETBEANS-4515: --- fixed and integrated.. > remove use of proprietary API - ARRAYLENGTH > --- > > Key: NETBEANS-4515 > URL: https://issues.apache.org/jira/browse/NETBEANS-4515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > The code has a test case that uses a proprietary API field - ARRAYLENGTH.. > {code:java} > ... > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > [nb-javac] > /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: > warning: ARRAYLENGTH is internal proprietary API and may be removed in a > future release > [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; > [nb-javac]^ > ... > {code} > Remove the import of this class as it's not used and causes spurious > warnings.. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151757#comment-17151757 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4515 - remove use of proprietary API - ARRAYLENGTH > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-4515) remove use of proprietary API - ARRAYLENGTH
Brad Walker created NETBEANS-4515: - Summary: remove use of proprietary API - ARRAYLENGTH Key: NETBEANS-4515 URL: https://issues.apache.org/jira/browse/NETBEANS-4515 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker The code has a test case that uses a proprietary API field - ARRAYLENGTH.. {code:java} ... [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; [nb-javac]^ [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; [nb-javac]^ [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH; [nb-javac]^ ... {code} Remove the import of this class as it's not used and causes spurious warnings.. -- 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
[jira] [Assigned] (NETBEANS-4465) update RAT license exceptions
[ https://issues.apache.org/jira/browse/NETBEANS-4465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker reassigned NETBEANS-4465: - Assignee: Brad Walker > update RAT license exceptions > - > > Key: NETBEANS-4465 > URL: https://issues.apache.org/jira/browse/NETBEANS-4465 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > When running the RAT report after a build has taken place, the report picks > up hundreds of generated files. These files do not have a license header and > it's really not necessary as they are generated by the build process.. > {code:java} > [bwalker@localhost netbeans]$ $ANT_HOME/bin/ant -quiet rat > -Drat-report.haltonfailure=true > [echo] Bootstrapping NetBeans-specific Ant extensions... > [copy] Warning: Could not find file > /home/bwalker/src/netbeans/nbbuild/gitinfo.properties to copy. > [copy] Warning: Could not find file > /home/bwalker/src/netbeans/nbbuild/netbeansrelease.properties to copy. > [echo] Processing build with branch update-rat-exclusion and hash > aa266cbc66f0dbcc637db5ee13efff363ae68ecd > [echo] Building branch: update-rat-exclusion > BUILD FAILED > /home/bwalker/src/netbeans/nbbuild/build.xml:2220: Failed Rat test(s): > Unapproved license in 825 file(s) > /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0/Filter.java > /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/application/model_8/HandlerChainType.java > ... > /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0_frag/SessionConfigType.java > /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/client/model_7_0/ResourceEnvRef.java > Unapproved license in 1 file(s) > /tree/master/contrib/j2ee.jboss4/external/j2ee.jboss4-external-resources.txt > Unapproved license in 3 file(s) > /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/vcs-1/gc.properties > /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/4.10.2/gc.properties > /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/buildOutputCleanup/cache.properties > Unapproved license in 1 file(s) > /tree/master/webcommon/javascript2.jquery/external/jquery-api.xml > Total time: 1 minute 22 seconds > [bwalker@localhost netbeans]$ > {code} > Let's look at a file for example: > {code:java} > /** > *This generated bean class SessionConfigType matches the schema element > 'session-configType'. > * The root bean class is WebFragment > * > *=== > * > * > *The session-configType defines the session parameters > *for this web application. > * > *Used in: web-app > * > * > *=== > * @Generated > */ > {code} > So it's obvious this is a generated and should be ignored by the RAT report.. -- 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
[jira] [Created] (NETBEANS-4465) update RAT license exceptions
Brad Walker created NETBEANS-4465: - Summary: update RAT license exceptions Key: NETBEANS-4465 URL: https://issues.apache.org/jira/browse/NETBEANS-4465 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker When running the RAT report after a build has taken place, the report picks up hundreds of generated files. These files do not have a license header and it's really not necessary as they are generated by the build process.. {code:java} [bwalker@localhost netbeans]$ $ANT_HOME/bin/ant -quiet rat -Drat-report.haltonfailure=true [echo] Bootstrapping NetBeans-specific Ant extensions... [copy] Warning: Could not find file /home/bwalker/src/netbeans/nbbuild/gitinfo.properties to copy. [copy] Warning: Could not find file /home/bwalker/src/netbeans/nbbuild/netbeansrelease.properties to copy. [echo] Processing build with branch update-rat-exclusion and hash aa266cbc66f0dbcc637db5ee13efff363ae68ecd [echo] Building branch: update-rat-exclusion BUILD FAILED /home/bwalker/src/netbeans/nbbuild/build.xml:2220: Failed Rat test(s): Unapproved license in 825 file(s) /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0/Filter.java /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/application/model_8/HandlerChainType.java ... /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/web/model_4_0_frag/SessionConfigType.java /tree/master/enterprise/j2ee.dd/src/org/netbeans/modules/j2ee/dd/impl/client/model_7_0/ResourceEnvRef.java Unapproved license in 1 file(s) /tree/master/contrib/j2ee.jboss4/external/j2ee.jboss4-external-resources.txt Unapproved license in 3 file(s) /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/vcs-1/gc.properties /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/4.10.2/gc.properties /tree/master/groovy/gradle/netbeans-gradle-tooling/.gradle/buildOutputCleanup/cache.properties Unapproved license in 1 file(s) /tree/master/webcommon/javascript2.jquery/external/jquery-api.xml Total time: 1 minute 22 seconds [bwalker@localhost netbeans]$ {code} Let's look at a file for example: {code:java} /** * This generated bean class SessionConfigType matches the schema element 'session-configType'. * The root bean class is WebFragment * * === * * * The session-configType defines the session parameters * for this web application. * * Used in: web-app * * * === * @Generated */ {code} So it's obvious this is a generated and should be ignored by the RAT report.. -- 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
[jira] [Created] (NETBEANS-4459) remove use of deprecated field in Logger
Brad Walker created NETBEANS-4459: - Summary: remove use of deprecated field in Logger Key: NETBEANS-4459 URL: https://issues.apache.org/jira/browse/NETBEANS-4459 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker Assignee: Brad Walker Remove use of the deprecated Logger.global field.. {code:java} [repeat] /home/bwalker/src/netbeans/enterprise/web.core/src/org/netbeans/modules/web/wizards/ServletPanel.java:169: warning: [deprecation] global in Logger has been deprecated [repeat] Logger.global.log(Level.WARNING, "getServlets failed", e); [repeat] ^ [repeat] /home/bwalker/src/netbeans/enterprise/web.core/src/org/netbeans/modules/web/wizards/ServletPanel.java:172: warning: [deprecation] global in Logger has been deprecated [repeat] Logger.global.log(Level.WARNING, "getServlets failed", e); [repeat] ^ [repeat] Note: Some input files additionally use or override a deprecated API. {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
[jira] [Created] (NETBEANS-4458) enable use of generics
Brad Walker created NETBEANS-4458: - Summary: enable use of generics Key: NETBEANS-4458 URL: https://issues.apache.org/jira/browse/NETBEANS-4458 Project: NetBeans Issue Type: Improvement Reporter: Brad Walker A lot of places in the code has generic use commented out.. For example, the following in LayoutModel.java {code:java} public void unsetSameSize(List/**/ components, int dimension) { Iterator i = components.iterator(); while (i.hasNext()) { String cid = (String)i.next(); LayoutComponent lc = getLayoutComponent(cid); removeComponentFromLinkSizedGroup(lc, dimension); } } {code} All I've done here is enable it to reduce the warnings and test out the code to make sure it works correctly. -- 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
[jira] [Commented] (NETBEANS-4050) cleanup uses of EMPTY_LIST
[ https://issues.apache.org/jira/browse/NETBEANS-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132846#comment-17132846 ] Brad Walker commented on NETBEANS-4050: --- Hey [~matthiasblaesing], it's ready to go.. I rebased last night to the latest master.. > cleanup uses of EMPTY_LIST > -- > > Key: NETBEANS-4050 > URL: https://issues.apache.org/jira/browse/NETBEANS-4050 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: Next > > Time Spent: 40m > Remaining Estimate: 0h > > Clean up a bunch of compiler warning messages related to the use of > Collections.EMPTY_LIST.. >[repeat] > /home/bwalker/src/netbeans/java/ant.debugger/src/org/netbeans/modules/ant/debugger/RunTargetsAction.java:145: > warning: [unchecked] unchecked conversion >[repeat] allTargets = Collections.EMPTY_SET; >[repeat] ^ >[repeat] required: Set >[repeat] found:Set -- 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
[jira] [Commented] (NETBEANS-4050) cleanup uses of EMPTY_LIST
[ https://issues.apache.org/jira/browse/NETBEANS-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132733#comment-17132733 ] Brad Walker commented on NETBEANS-4050: --- Hey [~matthiasblaesing], I did a rebase last night to the current master.. It's ready to go.. As usual, thanks for your help. > cleanup uses of EMPTY_LIST > -- > > Key: NETBEANS-4050 > URL: https://issues.apache.org/jira/browse/NETBEANS-4050 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Labels: pull-request-available > Fix For: Next > > Time Spent: 40m > Remaining Estimate: 0h > > Clean up a bunch of compiler warning messages related to the use of > Collections.EMPTY_LIST.. >[repeat] > /home/bwalker/src/netbeans/java/ant.debugger/src/org/netbeans/modules/ant/debugger/RunTargetsAction.java:145: > warning: [unchecked] unchecked conversion >[repeat] allTargets = Collections.EMPTY_SET; >[repeat] ^ >[repeat] required: Set >[repeat] found:Set -- 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
[jira] [Assigned] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker reassigned NETBEANS-2515: - Assignee: Brad Walker > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108774#comment-17108774 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4305 - cleanup dead hardware support > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108773#comment-17108773 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4284 - cleanup a bunch of raw type warnings.. > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Closed] (NETBEANS-4280) cleanup potential security breaches
[ https://issues.apache.org/jira/browse/NETBEANS-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker closed NETBEANS-4280. - Fix Version/s: (was: Next) 12.0 Resolution: Fixed Fixed and merged.. > cleanup potential security breaches > --- > > Key: NETBEANS-4280 > URL: https://issues.apache.org/jira/browse/NETBEANS-4280 > Project: NetBeans > Issue Type: Bug >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: 12.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > There are a few known security breaches in the sample source.. > Specifically the following alerts: > +CVE-2019-5484+ > Bower before 1.8.8 has a path traversal vulnerability permitting file write > in arbitrary locations via install command, which allows attackers to write > arbitrary files when a malicious package is extracted. > +CVE-2019-5413+ > An attacker can use the format parameter to inject arbitrary commands in the > npm package morgan < 1.9.1. > +CVE-2017-16137+ > The debug module is vulnerable to regular expression denial of service when > untrusted user input is passed into the o formatter. It takes around 50k > characters to block for 2 seconds making this a low severity issue. > I'm not saying these are critical. But, it's better we fix them to prevent > any possibility of using Netbeans IDE to allow someone to exploit this. As > well as set the proper example. -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108768#comment-17108768 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4280 - cleanup potential security breaches > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Commented] (NETBEANS-2515) cleanup the build issues
[ https://issues.apache.org/jira/browse/NETBEANS-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108761#comment-17108761 ] Brad Walker commented on NETBEANS-2515: --- NETBEANS-4343 - remove unused MacroExpanderFactory methods > cleanup the build issues > > > Key: NETBEANS-2515 > URL: https://issues.apache.org/jira/browse/NETBEANS-2515 > Project: NetBeans > Issue Type: Improvement >Reporter: Brad Walker >Priority: Major > > The build process has a lot of errors/warnings. > I've created this Jira to track all the issues related to cleaning up > The first canidate is: NETBEANS-2514 -- 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
[jira] [Created] (NETBEANS-4343) remove unused MacroExpanderFactory methods
Brad Walker created NETBEANS-4343: - Summary: remove unused MacroExpanderFactory methods Key: NETBEANS-4343 URL: https://issues.apache.org/jira/browse/NETBEANS-4343 Project: NetBeans Issue Type: Improvement Affects Versions: 11.2 Reporter: Brad Walker Assignee: Brad Walker Fix For: Next I'm trying to cleanup some of the code that deals with native execution. Removing these two unused & old methods as there are no consumers and leads to API bloat.. {code:java} public static MacroExpander getExpander(ExecutionEnvironment execEnv, boolean connectIfNeed) public static MacroExpander getExpander(ExecutionEnvironment execEnv, ExpanderStyle style) {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
[jira] [Created] (NETBEANS-4305) cleanup dead hardware support
Brad Walker created NETBEANS-4305: - Summary: cleanup dead hardware support Key: NETBEANS-4305 URL: https://issues.apache.org/jira/browse/NETBEANS-4305 Project: NetBeans Issue Type: Bug Affects Versions: Next Reporter: Brad Walker Assignee: Brad Walker Fix For: Next Sun Microsystems has not produced a 32-bit microprocessor in years. In addition, Solaris is now strictly 64-bit and has been that way for a LONG time. So cleanup the platform support to remove support for 32-bit SPARC processors and Solaris. Java doesn't even run on this equipment. -- 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
[jira] [Created] (NETBEANS-4284) cleanup a bunch of raw type warnings..
Brad Walker created NETBEANS-4284: - Summary: cleanup a bunch of raw type warnings.. Key: NETBEANS-4284 URL: https://issues.apache.org/jira/browse/NETBEANS-4284 Project: NetBeans Issue Type: Bug Affects Versions: Next Reporter: Brad Walker Assignee: Brad Walker Cleanup a bunch of raw type warnings related to the following.. [repeat] /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:91: warning: [rawtypes] found raw type: Map [repeat] public MapFormat(Map arguments) { [repeat] ^ [repeat] missing type arguments for generic class Map [repeat] where K,V are type-variables: [repeat] K extends Object declared in interface Map [repeat] V extends Object declared in interface Map [repeat] /home/bwalker/src/netbeans/platform/openide.util/src/org/openide/util/MapFormat.java:105: warning: [rawtypes] Also, updated Iterator types.. -- 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
[jira] [Commented] (NETBEANS-4280) cleanup potential security breaches
[ https://issues.apache.org/jira/browse/NETBEANS-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096771#comment-17096771 ] Brad Walker commented on NETBEANS-4280: --- Hey @ebarboni, I don't have a reviewer in mind. This is only a version bump for the libraries.. In addition, it's only for sample code. So the fix is low on the risk scale.. > cleanup potential security breaches > --- > > Key: NETBEANS-4280 > URL: https://issues.apache.org/jira/browse/NETBEANS-4280 > Project: NetBeans > Issue Type: Bug >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: Next > > Time Spent: 20m > Remaining Estimate: 0h > > There are a few known security breaches in the sample source.. > Specifically the following alerts: > +CVE-2019-5484+ > Bower before 1.8.8 has a path traversal vulnerability permitting file write > in arbitrary locations via install command, which allows attackers to write > arbitrary files when a malicious package is extracted. > +CVE-2019-5413+ > An attacker can use the format parameter to inject arbitrary commands in the > npm package morgan < 1.9.1. > +CVE-2017-16137+ > The debug module is vulnerable to regular expression denial of service when > untrusted user input is passed into the o formatter. It takes around 50k > characters to block for 2 seconds making this a low severity issue. > I'm not saying these are critical. But, it's better we fix them to prevent > any possibility of using Netbeans IDE to allow someone to exploit this. As > well as set the proper example. -- 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
[jira] [Commented] (NETBEANS-4280) cleanup potential security breaches
[ https://issues.apache.org/jira/browse/NETBEANS-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17096767#comment-17096767 ] Brad Walker commented on NETBEANS-4280: --- Hey @ebarboni, I really don't as this should be a pretty simple fix. This is only a version bump and that's it. In addition, this is part of sample code. So the risk is pretty minimal. > cleanup potential security breaches > --- > > Key: NETBEANS-4280 > URL: https://issues.apache.org/jira/browse/NETBEANS-4280 > Project: NetBeans > Issue Type: Bug >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: Next > > Time Spent: 20m > Remaining Estimate: 0h > > There are a few known security breaches in the sample source.. > Specifically the following alerts: > +CVE-2019-5484+ > Bower before 1.8.8 has a path traversal vulnerability permitting file write > in arbitrary locations via install command, which allows attackers to write > arbitrary files when a malicious package is extracted. > +CVE-2019-5413+ > An attacker can use the format parameter to inject arbitrary commands in the > npm package morgan < 1.9.1. > +CVE-2017-16137+ > The debug module is vulnerable to regular expression denial of service when > untrusted user input is passed into the o formatter. It takes around 50k > characters to block for 2 seconds making this a low severity issue. > I'm not saying these are critical. But, it's better we fix them to prevent > any possibility of using Netbeans IDE to allow someone to exploit this. As > well as set the proper example. -- 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
[jira] [Updated] (NETBEANS-4280) cleanup potential security breaches
[ https://issues.apache.org/jira/browse/NETBEANS-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brad Walker updated NETBEANS-4280: -- Description: There are a few known security breaches in the sample source.. Specifically the following alerts: +CVE-2019-5484+ Bower before 1.8.8 has a path traversal vulnerability permitting file write in arbitrary locations via install command, which allows attackers to write arbitrary files when a malicious package is extracted. +CVE-2019-5413+ An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1. +CVE-2017-16137+ The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue. I'm not saying these are critical. But, it's better we fix them to prevent any possibility of using Netbeans IDE to allow someone to exploit this. As well as set the proper example. was: There are a few known security breaches in the sample source.. Specifically the following alerts: +CVE-2019-5484+ Bower before 1.8.8 has a path traversal vulnerability permitting file write in arbitrary locations via install command, which allows attackers to write arbitrary files when a malicious package is extracted. +CVE-2019-5413+ An attacker can use the format parameter to inject arbitrary commands in the npm package morgan < 1.9.1. +CVE-2017-16137+ The debug module is vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter. It takes around 50k characters to block for 2 seconds making this a low severity issue. I'm not saying these are critical. But, it's better we fix them to prevent any possibility of using Netbeans IDE to allow someone to exploit this. > cleanup potential security breaches > --- > > Key: NETBEANS-4280 > URL: https://issues.apache.org/jira/browse/NETBEANS-4280 > Project: NetBeans > Issue Type: Bug >Reporter: Brad Walker >Assignee: Brad Walker >Priority: Major > Fix For: Next > > > There are a few known security breaches in the sample source.. > Specifically the following alerts: > +CVE-2019-5484+ > Bower before 1.8.8 has a path traversal vulnerability permitting file write > in arbitrary locations via install command, which allows attackers to write > arbitrary files when a malicious package is extracted. > +CVE-2019-5413+ > An attacker can use the format parameter to inject arbitrary commands in the > npm package morgan < 1.9.1. > +CVE-2017-16137+ > The debug module is vulnerable to regular expression denial of service when > untrusted user input is passed into the o formatter. It takes around 50k > characters to block for 2 seconds making this a low severity issue. > I'm not saying these are critical. But, it's better we fix them to prevent > any possibility of using Netbeans IDE to allow someone to exploit this. As > well as set the proper example. -- 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