You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by bw...@apache.org on 2022/03/30 14:14:37 UTC

[netbeans] branch master updated: repair minor nit in CountingSecurityManager.java

This is an automated email from the ASF dual-hosted git repository.

bwalker 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 b50adb9  repair minor nit in CountingSecurityManager.java
b50adb9 is described below

commit b50adb9b9319647b431d58e0583dc3e4ebce2ad2
Author: Brad Walker <bw...@musings.com>
AuthorDate: Wed Mar 30 10:14:12 2022 -0400

    repair minor nit in CountingSecurityManager.java
    
    Fix a minor "defect" (thought that might be easier to digest because it's not really a "bug") with declaring a Map.Entry (#3891) in the Performance Test Utility CountingSecurityManager.java.
---
 .../netbeans/performance/languages/actions/CountingSecurityManager.java | 2 +-
 .../org/netbeans/performance/j2se/actions/CountingSecurityManager.java  | 2 +-
 .../org/netbeans/performance/scalability/CountingSecurityManager.java   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/enterprise/performance.scripting/test/qa-functional/src/org/netbeans/performance/languages/actions/CountingSecurityManager.java b/enterprise/performance.scripting/test/qa-functional/src/org/netbeans/performance/languages/actions/CountingSecurityManager.java
index 68b9c6e..b3a387c 100644
--- a/enterprise/performance.scripting/test/qa-functional/src/org/netbeans/performance/languages/actions/CountingSecurityManager.java
+++ b/enterprise/performance.scripting/test/qa-functional/src/org/netbeans/performance/languages/actions/CountingSecurityManager.java
@@ -244,7 +244,7 @@ public final class CountingSecurityManager extends SecurityManager {
                     absoluteStacks += value;
                 }
                 int min = absoluteStacks / 50;
-                for (Map.Entry<String, int> entry : stacks.entrySet()) {
+                for (Map.Entry<String, Integer> entry : stacks.entrySet()) {
                     String s = entry.getKey();
                     int value = entry.getValue();
                     if (value > min) {
diff --git a/java/performance.java/test/qa-functional/src/org/netbeans/performance/j2se/actions/CountingSecurityManager.java b/java/performance.java/test/qa-functional/src/org/netbeans/performance/j2se/actions/CountingSecurityManager.java
index 1114397..e5ad6a7 100644
--- a/java/performance.java/test/qa-functional/src/org/netbeans/performance/j2se/actions/CountingSecurityManager.java
+++ b/java/performance.java/test/qa-functional/src/org/netbeans/performance/j2se/actions/CountingSecurityManager.java
@@ -243,7 +243,7 @@ public final class CountingSecurityManager extends SecurityManager {
                     absoluteStacks += value;
                 }
                 int min = absoluteStacks / 50;
-                for (Map.Entry<String, int> entry : stacks.entrySet()) {
+                for (Map.Entry<String, Integer> entry : stacks.entrySet()) {
                     String s = entry.getKey();
                     int value = entry.getValue();
                     if (value > min) {
diff --git a/java/performance/test/unit/src/org/netbeans/performance/scalability/CountingSecurityManager.java b/java/performance/test/unit/src/org/netbeans/performance/scalability/CountingSecurityManager.java
index eb97c76..b63d542 100644
--- a/java/performance/test/unit/src/org/netbeans/performance/scalability/CountingSecurityManager.java
+++ b/java/performance/test/unit/src/org/netbeans/performance/scalability/CountingSecurityManager.java
@@ -244,7 +244,7 @@ public final class CountingSecurityManager extends SecurityManager {
                     absoluteStacks += value;
                 }
                 int min = absoluteStacks / 50;
-                for (Map.Entry<String, int> entry : stacks.entrySet()) {
+                for (Map.Entry<String, Integer> entry : stacks.entrySet()) {
                     String s = entry.getKey();
                     int value = entry.getValue();
                     if (value > min) {

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists