seelmann closed pull request #2: Change the method name "select" to
"isSelected".
URL: https://github.com/apache/directory-studio/pull/2
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetLabelProvider.java
b/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetLabelProvider.java
index 3acca4002..be64d2d36 100644
---
a/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetLabelProvider.java
+++
b/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetLabelProvider.java
@@ -145,7 +145,7 @@ private int getNumberOfValues( IAttribute attribute )
for ( Object child : contentProvider.getChildren( attribute ) )
{
- if ( filter.select( viewer, attribute, child ) )
+ if ( filter.isSelected( viewer, attribute, child ) )
{
count++;
}
diff --git
a/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
b/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
index 8c7cd2caa..c62551462 100644
---
a/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
+++
b/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/wizards/NewEntryObjectclassWizardPage.java
@@ -578,7 +578,7 @@ private InstantSearchFilter( Text filterText )
/**
* {@inheritDoc}
*/
- public boolean select( Viewer viewer, Object parentElement, Object
element )
+ public boolean isSelected( Viewer viewer, Object parentElement, Object
element )
{
if ( element instanceof ObjectClass )
{
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services