You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2019/09/01 15:42:16 UTC

[netbeans] branch master updated (9679421 -> 18203ce)

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

lkishalmi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git.


    from 9679421  [NETBEANS-2661] Trying to avoid excessive computations by using BinaryForSource query on the current source root, rather than iterating through all binary roots and using SourceForBinaryQuery for them.
     new 1d6c743  Display Class objects more helpfully.
     new 18203ce  Do not create a Path with null item just because LiveEngine.getID was called.

The 2 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:
 harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java | 2 ++
 harness/o.n.insane/src/org/netbeans/insane/live/Path.java       | 2 ++
 2 files changed, 4 insertions(+)


---------------------------------------------------------------------
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


[netbeans] 02/02: Do not create a Path with null item just because LiveEngine.getID was called.

Posted by lk...@apache.org.
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

commit 18203cea4e5776d25893de172929c9b64603cab0
Author: Jesse Glick <jg...@apache.org>
AuthorDate: Tue Aug 27 15:00:41 2019 -0400

    Do not create a Path with null item just because LiveEngine.getID was called.
---
 harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java b/harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java
index 3614c3d..917099f 100644
--- a/harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java
+++ b/harness/o.n.insane/src/org/netbeans/insane/impl/LiveEngine.java
@@ -130,6 +130,8 @@ public class LiveEngine implements ObjectMap, Visitor {
         Object oo = objects.get(to);
         if (oo instanceof Object[]) {
             return Arrays.asList((Object[])oo).iterator();
+        } else if (oo == null) {
+            return Collections.emptyIterator();
         } else {
             return Collections.singleton(oo).iterator();
         }


---------------------------------------------------------------------
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


[netbeans] 01/02: Display Class objects more helpfully.

Posted by lk...@apache.org.
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

commit 1d6c743febd889a0ed23b655cc04543a6332e0ae
Author: Jesse Glick <jg...@apache.org>
AuthorDate: Tue Aug 27 14:59:49 2019 -0400

    Display Class objects more helpfully.
---
 harness/o.n.insane/src/org/netbeans/insane/live/Path.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/harness/o.n.insane/src/org/netbeans/insane/live/Path.java b/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
index bbf564f..244e40a 100644
--- a/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
+++ b/harness/o.n.insane/src/org/netbeans/insane/live/Path.java
@@ -97,6 +97,8 @@ public final class Path {
             //         at org.netbeans.junit.NbTestCase.assertGC(NbTestCase.java:1171)
             //         at org.netbeans.modules.projectapi.AuxiliaryConfigBasedPreferencesProviderTest.testReclaimable(AuxiliaryConfigBasedPreferencesProviderTest.java:256)
             return "null";
+        } else if (obj instanceof Class) {
+            return obj.toString() + "@" + Integer.toHexString(System.identityHashCode(obj));
         }
         return obj.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(obj));
     }


---------------------------------------------------------------------
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