You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2018/10/10 15:06:31 UTC

[directory-studio] 02/02: DIRSTUDIO-1195: Fix ClassCastException with Eclipse 2018-09

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

seelmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-studio.git

commit 68a280ce69348271731ca33b2be3f4a9a01522dd
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Wed Oct 10 17:06:13 2018 +0200

    DIRSTUDIO-1195: Fix ClassCastException with Eclipse 2018-09
---
 .../directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java       | 1 -
 .../studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java   | 1 -
 .../java/org/apache/directory/studio/ldifeditor/editor/LdifEditor.java   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java b/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
index 92e6bbd..4565c42 100644
--- a/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
+++ b/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/entry/EntryEditor.java
@@ -130,7 +130,6 @@ public abstract class EntryEditor extends EditorPart implements IEntryEditor, IN
     public void createPartControl( Composite parent )
     {
         Composite composite = new Composite( parent, SWT.NONE );
-        composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
         GridLayout layout = new GridLayout();
         layout.marginWidth = 0;
         layout.marginHeight = 0;
diff --git a/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java b/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
index e475294..acf8c44 100644
--- a/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
+++ b/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java
@@ -223,7 +223,6 @@ public class SearchResultEditor extends EditorPart implements INavigationLocatio
     public void createPartControl( Composite parent )
     {
         Composite composite = new Composite( parent, SWT.NONE );
-        composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
         GridLayout layout = new GridLayout();
         layout.marginWidth = 0;
         layout.marginHeight = 0;
diff --git a/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifEditor.java b/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifEditor.java
index 60ffd25..aa3ec64 100644
--- a/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifEditor.java
+++ b/plugins/ldifeditor/src/main/java/org/apache/directory/studio/ldifeditor/editor/LdifEditor.java
@@ -471,7 +471,6 @@ public class LdifEditor extends TextEditor implements ILdifEditor, ConnectionUpd
         {
             // create the toolbar (including connection widget and execute button) on top of the editor 
             Composite composite = new Composite( parent, SWT.NONE );
-            composite.setLayoutData( new GridData( GridData.FILL_BOTH ) );
             GridLayout layout = new GridLayout();
             layout.marginWidth = 0;
             layout.marginHeight = 0;