Skip to content

Commit 51752d6

Browse files
authored
[sonar] Fix setWeights by not sending int array and instead ... (spotbugs#2856)
1 parent 1a6d6ea commit 51752d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclipsePlugin/src/de/tobject/findbugs/properties/DetectorConfigurationTab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public void widgetSelected(SelectionEvent e) {
367367
GridData layoutData2 = new GridData(GridData.FILL_BOTH);
368368
text.setLayoutData(layoutData2);
369369
text.setBackground(getShell().getDisplay().getSystemColor(SWT.COLOR_LIST_BACKGROUND));
370-
sash.setWeights(new int[] { 3, 1 });
370+
sash.setWeights(3, 1);
371371

372372
availableRulesTable.addSelectionListener(new SelectionListener() {
373373
@Override

0 commit comments

Comments
 (0)