This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
commit 78d950586d4e30568d73b726b3511c48ae4a4219 Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Thu Dec 2 18:43:12 2021 +0100 Fix a typo: "to shown" → 'to show". --- .../sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java | 2 +- .../src/main/java/org/apache/sis/gui/coverage/GridControls.java | 2 +- .../src/main/java/org/apache/sis/gui/coverage/ViewAndControls.java | 2 +- .../sis-javafx/src/main/java/org/apache/sis/gui/map/StatusBar.java | 2 +- .../java/org/apache/sis/gui/referencing/ObjectStringConverter.java | 2 +- .../java/org/apache/sis/gui/referencing/RecentReferenceSystems.java | 2 +- .../java/org/apache/sis/internal/gui/control/ColorColumnHandler.java | 4 ++-- .../src/main/java/org/apache/sis/internal/gui/control/ColorRamp.java | 4 ++-- .../src/main/java/org/apache/sis/internal/setup/Wizard.java | 2 +- .../src/main/java/org/apache/sis/internal/setup/WizardPage.java | 4 ++-- .../src/main/java/org/apache/sis/metadata/PropertyAccessor.java | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java index 29b6da0..e868d6c 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/DataViewer.java @@ -206,7 +206,7 @@ public class DataViewer extends Application { } /** - * Creates the file filters for the dialog box to shown in "File" ▶ "Open" and "File" ▶ "Save" menus. + * Creates the file filters for the dialog box to show in "File" ▶ "Open" and "File" ▶ "Save" menus. * * @todo Iterate only over the classes in JDK9, without initializing the providers. */ diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/GridControls.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/GridControls.java index 8300303..63a7c33 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/GridControls.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/GridControls.java @@ -98,7 +98,7 @@ final class GridControls extends ViewAndControls { /** * Creates a new slider for the given range of values and bound to the specified properties. - * This is used for creating the sliders to shown in the "Display" pane. + * This is used for creating the sliders to show in the "Display" pane. */ private static Slider createSlider(final DoubleProperty property, final double min, final double max) { final Slider slider = new Slider(min, max, property.getValue()); diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/ViewAndControls.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/ViewAndControls.java index 935e08f..1e396da 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/ViewAndControls.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/coverage/ViewAndControls.java @@ -143,7 +143,7 @@ abstract class ViewAndControls { /** * Returns the main component, which is showing coverage data or image. - * This is the component to shown on the right (largest) part of the split pane. + * This is the component to show on the right (largest) part of the split pane. */ abstract Region view(); diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/map/StatusBar.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/map/StatusBar.java index ded8c86..5e0f78c 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/map/StatusBar.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/map/StatusBar.java @@ -632,7 +632,7 @@ public class StatusBar extends Widget implements EventHandler<MouseEvent> { } /* * Add a tolerance factor of ½ pixel when computing the number of significant - * fraction digits to shown in coordinates. + * fraction digits to show in coordinates. */ if (geometry.isDefined(GridGeometry.EXTENT)) { final GridExtent extent = geometry.getExtent(); diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/ObjectStringConverter.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/ObjectStringConverter.java index 88f1d71..a829270 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/ObjectStringConverter.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/ObjectStringConverter.java @@ -24,7 +24,7 @@ import org.apache.sis.util.resources.Vocabulary; /** - * Converts an {@link IdentifiedObject} to {@link String} representation to shown in JavaFX control. + * Converts an {@link IdentifiedObject} to {@link String} representation to show in JavaFX control. * * @author Martin Desruisseaux (Geomatys) * @version 1.1 diff --git a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/RecentReferenceSystems.java b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/RecentReferenceSystems.java index 909f903..d0eebf6 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/RecentReferenceSystems.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/gui/referencing/RecentReferenceSystems.java @@ -83,7 +83,7 @@ public class RecentReferenceSystems { private static final int NUM_CORE_ITEMS = 1; /** - * Number of reference systems to shown in {@link ChoiceBox} or {@link MenuItem}s. + * Number of reference systems to show in {@link ChoiceBox} or {@link MenuItem}s. * The {@value #NUM_CORE_ITEMS} core systems are included but not {@link #OTHER}. */ private static final int NUM_SHOWN_ITEMS = 9; diff --git a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorColumnHandler.java b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorColumnHandler.java index 640061d..2e8a95d 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorColumnHandler.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorColumnHandler.java @@ -63,7 +63,7 @@ public abstract class ColorColumnHandler<S> implements Callback<TableColumn.Cell protected abstract ColorRamp.Type applyColors(S row, ColorRamp colors); /** - * Gets the ARGB codes of colors to shown in the cell for the given row data. + * Gets the ARGB codes of colors to show in the cell for the given row data. * This method is sufficient when the color(s) can be changed only by calls to * {@link #applyColors(S, ColorRamp)}. If the color(s) may change externally, * then {@link #getObservableValue(S)} should be overridden too. @@ -108,7 +108,7 @@ public abstract class ColorColumnHandler<S> implements Callback<TableColumn.Cell * This method also modifies the table configuration. * * @param table the table where to add a colors column. - * @param header column title to shown in header row. This is typically "Color" or "Colors". + * @param header column title to show in header row. This is typically "Color" or "Colors". * The use of singular or plural depends on whether the column allows color gradients. */ protected final void addColumnTo(final TableView<S> table, final String header) { diff --git a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorRamp.java b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorRamp.java index 8081a4c..8e1575b 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorRamp.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/internal/gui/control/ColorRamp.java @@ -44,7 +44,7 @@ import org.apache.sis.util.resources.Vocabulary; */ public final class ColorRamp { /** - * The type of colors to shown in a cell. + * The type of colors to show in a cell. * The type determines how user can choose a value. */ public enum Type { @@ -140,7 +140,7 @@ public final class ColorRamp { * If this item has many colors (for example because it uses a gradient), * then an arbitrary color is returned. * - * @return single color to shown in table cell, or {@code null} if none. + * @return single color to show in table cell, or {@code null} if none. */ public final Color color() { if (color == null) { diff --git a/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/Wizard.java b/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/Wizard.java index e598a32..ece5c95 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/Wizard.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/Wizard.java @@ -97,7 +97,7 @@ final class Wizard extends FileFilter implements ActionListener, PropertyChangeL private static final int WIDTH = 700; /** - * Label of button to shown in the wizard, also used as action identifier. + * Label of button to show in the wizard, also used as action identifier. */ private static final String BACK = "Back", NEXT = "Next", CANCEL = "Cancel", JAVAFX_HOME = "Open JavaFX home page", BROWSE = "Browse", SELECT = "Select"; diff --git a/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/WizardPage.java b/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/WizardPage.java index 7d04d03..b196fcf 100644 --- a/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/WizardPage.java +++ b/application/sis-javafx/src/main/java/org/apache/sis/internal/setup/WizardPage.java @@ -18,7 +18,7 @@ package org.apache.sis.internal.setup; /** - * An identifier of the page to shown in {@link Wizard}. + * An identifier of the page to show in {@link Wizard}. * Pages are shown in enumeration order. * * @author Martin Desruisseaux (Geomatys) @@ -100,7 +100,7 @@ enum WizardPage { final String title; /** - * The text to shown on the page. + * The text to show on the page. */ final String text; diff --git a/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java b/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java index 6465a38..1b5b082 100644 --- a/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java +++ b/core/sis-metadata/src/main/java/org/apache/sis/metadata/PropertyAccessor.java @@ -143,7 +143,7 @@ class PropertyAccessor { private final int allCount; /** - * Numbers of methods to shown to the user. This is always equal or lower than {@link #allCount}. + * Numbers of methods to show to the user. This is always equal or lower than {@link #allCount}. * This count may be lower than {@code allCount} for two reasons: * * <ul>