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:17 UTC
[netbeans] 01/02: Display Class objects more helpfully.
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