Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2020-06-07 17:45:25 +0000
committerAlexander Kurtakov2020-06-07 19:53:06 +0000
commit7af7de87082780c362c3978bd4acee26867f1b4a (patch)
tree215d0286654e70c3996222606b83c40a2c3b466e
parent5c995ff1fd049aa73433c98281cd8614ada7f3c0 (diff)
downloadeclipse.platform.swt-7af7de87082780c362c3978bd4acee26867f1b4a.tar.gz
eclipse.platform.swt-7af7de87082780c362c3978bd4acee26867f1b4a.tar.xz
eclipse.platform.swt-7af7de87082780c362c3978bd4acee26867f1b4a.zip
Using Arrays.toString to convert the array into a readable String
That way it gives the contents of the array Change-Id: I880d90f5e720b1716e3fa0648daff69b7f954611 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleAttributeEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableEvent.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleAttributeEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleAttributeEvent.java
index 8de14511a5..8c95b4e1b8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleAttributeEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleAttributeEvent.java
@@ -139,7 +139,7 @@ public String toString () {
+ " bottomMargin=" + bottomMargin //$NON-NLS-1$
+ " leftMargin=" + leftMargin //$NON-NLS-1$
+ " rightMargin=" + rightMargin //$NON-NLS-1$
- + " tabStops=" + tabStops //$NON-NLS-1$
+ + " tabStops=" + Arrays.toString(tabStops) //$NON-NLS-1$
+ " justify=" + justify //$NON-NLS-1$
+ " alignment=" + alignment //$NON-NLS-1$
+ " indent=" + indent //$NON-NLS-1$
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java
index 03674e1e1d..76093a90be 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableCellEvent.java
@@ -52,7 +52,7 @@ public AccessibleTableCellEvent(Object source) {
@Override
public String toString () {
return "AccessibleTableCellEvent {" //$NON-NLS-1$
- + " accessibles=" + accessibles //$NON-NLS-1$
+ + " accessibles=" + Arrays.toString(accessibles) //$NON-NLS-1$
+ " isSelected=" + isSelected //$NON-NLS-1$
+ " count=" + count //$NON-NLS-1$
+ " index=" + index //$NON-NLS-1$
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableEvent.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableEvent.java
index 4f55261eab..07b6f412a7 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableEvent.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/AccessibleTableEvent.java
@@ -62,13 +62,13 @@ public AccessibleTableEvent(Object source) {
public String toString () {
return "AccessibleTableEvent {" //$NON-NLS-1$
+ "accessible=" + accessible //$NON-NLS-1$
- + " accessibles=" + accessibles //$NON-NLS-1$
+ + " accessibles=" + Arrays.toString(accessibles) //$NON-NLS-1$
+ " string=" + result //$NON-NLS-1$
+ " isSelected=" + isSelected //$NON-NLS-1$
+ " column=" + column //$NON-NLS-1$
+ " count=" + count //$NON-NLS-1$
+ " row=" + row //$NON-NLS-1$
- + " selected=" + selected //$NON-NLS-1$
+ + " selected=" + Arrays.toString(selected) //$NON-NLS-1$
+ "}"; //$NON-NLS-1$
}
}

Back to the top