[netbeans-nbpackage] branch dependabot/maven/master/junit.jupiter.version-5.9.2 created (now 3b48b39)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/master/junit.jupiter.version-5.9.2 in repository https://gitbox.apache.org/repos/asf/netbeans-nbpackage.git at 3b48b39 Bump junit.jupiter.version from 5.9.1 to 5.9.2 No new revisions were added by this update. - 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
[netbeans] branch master updated: Removed StringUtils unused object creation
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 7e775d6d3d Removed StringUtils unused object creation new cd14cf5e66 Merge pull request #5242 from tbw777/unused2 7e775d6d3d is described below commit 7e775d6d3d62ed15d622e1d49ce72bcf5cf3b3bd Author: Andrei Briukhov AuthorDate: Sun Jan 8 08:26:05 2023 -0300 Removed StringUtils unused object creation Removed unused StringBuffer object without any side effects. --- .../installer/wizard/components/panels/PreInstallSummaryPanel.java | 6 ++ .../wizard/components/panels/netbeans/NbPreInstallSummaryPanel.java | 6 ++ nbi/engine/src/org/netbeans/installer/utils/StringUtils.java| 2 -- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/harness/libs.nbi.ant/stub/ext/engine/src/org/mycompany/installer/wizard/components/panels/PreInstallSummaryPanel.java b/harness/libs.nbi.ant/stub/ext/engine/src/org/mycompany/installer/wizard/components/panels/PreInstallSummaryPanel.java index 587f633163..c46e24b89b 100644 --- a/harness/libs.nbi.ant/stub/ext/engine/src/org/mycompany/installer/wizard/components/panels/PreInstallSummaryPanel.java +++ b/harness/libs.nbi.ant/stub/ext/engine/src/org/mycompany/installer/wizard/components/panels/PreInstallSummaryPanel.java @@ -210,13 +210,11 @@ public class PreInstallSummaryPanel extends ErrorMessagePanel { installationSizeLabel.setText( panel.getProperty(INSTALLATION_SIZE_PROPERTY)); -installationSizeValue.setText(StringUtils.formatSize( -installationSize)); + installationSizeValue.setText(StringUtils.formatSize(installationSize)); downloadSizeLabel.setText( panel.getProperty(DOWNLOAD_SIZE_PROPERTY)); -downloadSizeValue.setText(StringUtils.formatSize( -downloadSize)); +downloadSizeValue.setText(StringUtils.formatSize(downloadSize)); if (registry.getProductsToInstall().size() == 0) { locationsPane.setVisible(false); diff --git a/nbbuild/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbPreInstallSummaryPanel.java b/nbbuild/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbPreInstallSummaryPanel.java index 6d744533f8..04c4a1187d 100644 --- a/nbbuild/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbPreInstallSummaryPanel.java +++ b/nbbuild/installer/engine/src/org/netbeans/installer/wizard/components/panels/netbeans/NbPreInstallSummaryPanel.java @@ -458,13 +458,11 @@ public class NbPreInstallSummaryPanel extends ErrorMessagePanel { installationSizeLabel.setText( panel.getProperty(INSTALLATION_SIZE_PROPERTY)); -installationSizeValue.setText(StringUtils.formatSize( -installationSize)); + installationSizeValue.setText(StringUtils.formatSize(installationSize)); downloadSizeLabel.setText( panel.getProperty(DOWNLOAD_SIZE_PROPERTY)); -downloadSizeValue.setText(StringUtils.formatSize( -downloadSize)); +downloadSizeValue.setText(StringUtils.formatSize(downloadSize)); if (registry.getProductsToInstall().isEmpty()) { locationsPane.setVisible(false); diff --git a/nbi/engine/src/org/netbeans/installer/utils/StringUtils.java b/nbi/engine/src/org/netbeans/installer/utils/StringUtils.java index 467e789f34..0d0aaab487 100644 --- a/nbi/engine/src/org/netbeans/installer/utils/StringUtils.java +++ b/nbi/engine/src/org/netbeans/installer/utils/StringUtils.java @@ -168,8 +168,6 @@ public abstract class StringUtils { public static String formatSize( final long longBytes) { -StringBuffer result = new StringBuffer(); - double bytes = (double) longBytes; // try as GB - 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
[netbeans] branch master updated (42042bac68 -> e5dd712342)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git from 42042bac68 Merge pull request #5187 from matthiasblaesing/pr-4945 new 7c23807856 CslTestBase#checkNoOverlaps only detects special overlaps - contained ranges are not deteced new 5847f3519b CssSemanticAnalyser needs to flatten OffsetRanges for highlights new e5dd712342 Merge pull request #5151 from matthiasblaesing/GH-5012 The 7934 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../netbeans/modules/csl/api/test/CslTestBase.java | 20 .../css/editor/module/CssModuleSupport.java| 60 +- .../test/unit/data/testfiles/coloring1.css | 6 +++ .../unit/data/testfiles/coloring1.css.semantic | 6 +++ .../css/editor/csl/CssSemanticAnalyzerTest.java| 39 ++ 5 files changed, 120 insertions(+), 11 deletions(-) create mode 100644 ide/css.editor/test/unit/data/testfiles/coloring1.css create mode 100644 ide/css.editor/test/unit/data/testfiles/coloring1.css.semantic create mode 100644 ide/css.editor/test/unit/src/org/netbeans/modules/css/editor/csl/CssSemanticAnalyzerTest.java - 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
[netbeans] branch master updated (8e1e1dd442 -> 42042bac68)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git from 8e1e1dd442 Merge pull request #5174 from jlahoda/use-proper-javac-in-apisupport new e4fd2324b8 [NETBEANS-1603] resolving the problem with (un)showing MySQL procedures within NetBeans IDE DB explorer new 0f9587c36d [NETBEANS-1603] Handle procedures without parameters new 42042bac68 Merge pull request #5187 from matthiasblaesing/pr-4945 The 7931 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../db/metadata/model/jdbc/mysql/MySQLSchema.java | 14 ++--- .../db/explorer/dlg/ViewProcedureDialog.form | 10 +-- .../db/explorer/dlg/ViewProcedureDialog.java | 10 +-- .../modules/db/explorer/node/Bundle.properties | 4 +- .../modules/db/explorer/node/ProcedureNode.java| 71 +- .../db/explorer/node/ProcedureNodeProvider.java| 12 ++-- .../explorer/node/ProcedureParamNodeProvider.java | 3 +- 7 files changed, 69 insertions(+), 55 deletions(-) - 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
[netbeans] branch master updated (cf284c4158 -> 8e1e1dd442)
This is an automated email from the ASF dual-hosted git repository. matthiasblaesing pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git from cf284c4158 Merge pull request #5262 from neilcsmith-net/nbm-buildnum new 6f07266b36 For nb.org projects, use the correct nbjavac prepend for the internal (boot)classpath. new 441cd88864 Use javac implementation for modules with implementation dependency. new 8e1e1dd442 Merge pull request #5174 from jlahoda/use-proper-javac-in-apisupport The 7928 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../modules/apisupport/project/Evaluator.java | 61 ++ .../project/queries/ClassPathProviderImpl.java | 7 ++- 2 files changed, 45 insertions(+), 23 deletions(-) - 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
[netbeans] branch master updated: Pass buildnumber into NBM sub-ant target.
This is an automated email from the ASF dual-hosted git repository. neilcsmith pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new 85cc03dc10 Pass buildnumber into NBM sub-ant target. new cf284c4158 Merge pull request #5262 from neilcsmith-net/nbm-buildnum 85cc03dc10 is described below commit 85cc03dc106a9cbfa18edab428c0545286f38427 Author: Neil C Smith AuthorDate: Tue Jan 10 12:41:58 2023 + Pass buildnumber into NBM sub-ant target. Make sure that the minority of modules that get rebuilt during make-nbms get the required implementation version. This patches over the issue - it does not address why these modules are being marked stale and rebuilt. --- nbbuild/build.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nbbuild/build.xml b/nbbuild/build.xml index c24d970e9c..1243bdd402 100644 --- a/nbbuild/build.xml +++ b/nbbuild/build.xml @@ -326,6 +326,7 @@ metabuild.hash=${metabuild.hash} + @@ -336,6 +337,7 @@ metabuild.hash=${metabuild.hash} + - 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
[netbeans] branch master updated: Upgraded Gradle Tooling API to 8.0-rc-1 (#5240)
This is an automated email from the ASF dual-hosted git repository. lkishalmi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git The following commit(s) were added to refs/heads/master by this push: new bc4d6fbb4b Upgraded Gradle Tooling API to 8.0-rc-1 (#5240) bc4d6fbb4b is described below commit bc4d6fbb4bd1425c763c9569c47c64e2d9110c2f Author: Laszlo Kishalmi AuthorDate: Tue Jan 10 07:13:27 2023 -0800 Upgraded Gradle Tooling API to 8.0-rc-1 (#5240) * Upgraded Gradle Tooling API to 8.0-rc-1 * Fixed jar task property removal in Gradle 8.0 * Deprecate no-rebuild Gradle option. * Use Gradle 7.5 for micronaut tests * Set Gradle 7.5 for some sensitive test projects * Use Gradle 7.5 for Micronaut tests --- .gitignore | 8 .../multi/gradle/wrapper/gradle-wrapper.properties | 5 + .../simple/gradle/wrapper/gradle-wrapper.properties| 5 + extide/gradle/nbproject/project.properties | 3 +++ extide/gradle/nbproject/project.xml| 4 ++-- .../modules/gradle/tooling/NbProjectInfoBuilder.java | 13 +++-- .../modules/gradle/api/execute/GradleCommandLine.java | 2 +- .../netbeans/modules/gradle/execute/Bundle.properties | 2 +- .../modules/gradle/execute/ExecutionOptionsPanel.java | 2 +- .../netbeans/modules/gradle/options/Bundle.properties | 4 ++-- .../netbeans/modules/gradle/options/SettingsPanel.java | 4 ++-- .../netbeans/modules/gradle/spi/GradleSettings.java| 18 ++ .../micronaut/gradle/wrapper/gradle-wrapper.properties | 5 + extide/libs.gradle/external/binaries-list | 2 +- ...nse.txt => gradle-tooling-api-8.0-rc-1-license.txt} | 4 ++-- ...tice.txt => gradle-tooling-api-8.0-rc-1-notice.txt} | 0 extide/libs.gradle/manifest.mf | 4 ++-- .../nbproject/org-netbeans-modules-libs-gradle.sig | 4 +++- extide/libs.gradle/nbproject/project.properties| 2 +- extide/libs.gradle/nbproject/project.xml | 2 +- .../shadowed/gradle/wrapper/gradle-wrapper.properties | 5 + .../withTests/gradle/wrapper/gradle-wrapper.properties | 5 + .../micronaut/gradle/wrapper/gradle-wrapper.properties | 5 + java/gradle.test/nbproject/project.xml | 4 ++-- 24 files changed, 91 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index ce62816eb0..23afeae768 100644 --- a/.gitignore +++ b/.gitignore @@ -109,6 +109,14 @@ derby.log /extide/gradle/release/modules/gradle/daemon-loader/.gradle/ /nbbuild/misc/prepare-bundles/target/ +# Gradle Unittest Data +/extide/gradle/test/unit/data/**/build/ +/extide/gradle/test/unit/data/**/.gradle/ +/java/gradle.java/test/unit/data/**/build/ +/java/gradle.java/test/unit/data/**/.gradle/ +/enterprise/micronaut/test/unit/data/**/build/ +/enterprise/micronaut/test/unit/data/**/.gradle/ + # ANTLR v4 Grammar ## /java/languages.antlr/external/*.g4 diff --git a/enterprise/micronaut/test/unit/data/gradle/artifacts/multi/gradle/wrapper/gradle-wrapper.properties b/enterprise/micronaut/test/unit/data/gradle/artifacts/multi/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00..8049c684f0 --- /dev/null +++ b/enterprise/micronaut/test/unit/data/gradle/artifacts/multi/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/enterprise/micronaut/test/unit/data/gradle/artifacts/simple/gradle/wrapper/gradle-wrapper.properties b/enterprise/micronaut/test/unit/data/gradle/artifacts/simple/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 00..8049c684f0 --- /dev/null +++ b/enterprise/micronaut/test/unit/data/gradle/artifacts/simple/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,5 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/extide/gradle/nbproject/project.properties b/extide/gradle/nbproject/project.properties index ea39a75038..54dab6898e 100644 --- a/extide/gradle/nbproject/project.properties +++ b/extide/gradle/nbproject/project.properties @@ -28,6 +28,9 @@ source.reference.netbeans-gradle-tooling.jar=netbeans-gradle-tooling/src/main/gr test-unit-sys-prop.test.netbeans.dest.dir=${netbeans.dest.dir} test-unit-sys-prop.java.awt.headless=true +# Enable Gradle execution exception logging during tests +#test-unit-sys-prop.org.netbeans.modules.gradle.level=FINE + release.build/tooling/netbeans-gradle-tooling.jar=modules/gradle/netbeans-gradle-tooling.jar
[jira] [Closed] (NETBEANS-1615) Code hint "Add @throws tag" for generic exception in Java shows up even if already present
[ https://issues.apache.org/jira/browse/NETBEANS-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bien closed NETBEANS-1615. -- Fix Version/s: 17 Resolution: Fixed pr got merged > Code hint "Add @throws tag" for generic exception in Java shows up even if > already present > -- > > Key: NETBEANS-1615 > URL: https://issues.apache.org/jira/browse/NETBEANS-1615 > Project: NetBeans > Issue Type: Bug > Components: editor - Hints Annotations, java - Hints, java - > Javadoc > Environment: Windows 10 version 10.0 running on amd64; Cp1252; nl_NL > (nb) >Reporter: Maurits de Jong >Priority: Minor > Labels: pull-request-available, usability > Fix For: 17 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > The code hint "Add @throws tag" for a generic exception shows up, even if I > already added the tag. > The following code reproduces the problem: > {code:java} > /** > * Some method. > * > * @param > * @throws X Some throwable. > */ > public static void someMethod() throws X { }{code} > The hint appears at the line with the method declaration. The JavaDoc > `throws` tag is already defined, and yet the hint appears or doesn't go away. > If I click on the hint entry in order to apply it, another `throws` tag isĀ > inserted, leaving the following code: > {code:java} > /** > * Some method. > * > * @param > * @throws X > * @throws X Some throwable. > */ > public static void someMethod() throws X { }{code} > Still, the hint is visible. > Obviously, the expected behaviour is that the hint is not visible if the > `throws` tag exists for this particular generic exception type. -- This message was sent by Atlassian Jira (v8.20.10#820010) - 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