You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2021/09/09 10:21:13 UTC

[isis] branch master updated: ISIS-2869: minor: just wording

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

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 174ebdb  ISIS-2869: minor: just wording
174ebdb is described below

commit 174ebdbd335b2b0c2428ce233ee25e6e001b8141
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Sep 9 12:21:02 2021 +0200

    ISIS-2869: minor: just wording
---
 .../isis/viewer/wicket/model/models/ScalarModel.java       | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/viewers/wicket/model/src/main/java/org/apache/isis/viewer/wicket/model/models/ScalarModel.java b/viewers/wicket/model/src/main/java/org/apache/isis/viewer/wicket/model/models/ScalarModel.java
index 09a0172..56d96f9 100644
--- a/viewers/wicket/model/src/main/java/org/apache/isis/viewer/wicket/model/models/ScalarModel.java
+++ b/viewers/wicket/model/src/main/java/org/apache/isis/viewer/wicket/model/models/ScalarModel.java
@@ -89,7 +89,7 @@ implements HasRenderingHints, ScalarUiModel, LinksProvider, FormExecutorContext
      * object, with the {@link #getObject() value of this model} to be default
      * value (if any) of that action parameter.
      */
-    protected ScalarModel(EntityModel parentEntityModel, ActionParameterMemento apm) {
+    protected ScalarModel(final EntityModel parentEntityModel, final ActionParameterMemento apm) {
 
         super(parentEntityModel.getCommonContext());
 
@@ -106,10 +106,10 @@ implements HasRenderingHints, ScalarUiModel, LinksProvider, FormExecutorContext
      * property.
      */
     protected ScalarModel(
-            EntityModel parentEntityModel,
-            PropertyMemento pm,
-            ObjectUiModel.Mode mode,
-            ObjectUiModel.RenderingHint renderingHint) {
+            final EntityModel parentEntityModel,
+            final PropertyMemento pm,
+            final ObjectUiModel.Mode mode,
+            final ObjectUiModel.RenderingHint renderingHint) {
 
         super(parentEntityModel.getCommonContext());
         this.kind = Kind.PROPERTY;
@@ -190,7 +190,7 @@ implements HasRenderingHints, ScalarUiModel, LinksProvider, FormExecutorContext
         // parse text to get adapter
         ParseableFacet parseableFacet = getTypeOfSpecification().getFacet(ParseableFacet.class);
         if (parseableFacet == null) {
-            throw new RuntimeException("unable to parse string for " + getTypeOfSpecification().getFullIdentifier());
+            throw new RuntimeException("unable to find a parser for " + getTypeOfSpecification().getFullIdentifier());
         }
         ManagedObject adapter = parseableFacet.parseTextEntry(getObject(), enteredText,
                 InteractionInitiatedBy.USER);
@@ -269,7 +269,7 @@ implements HasRenderingHints, ScalarUiModel, LinksProvider, FormExecutorContext
         return inlinePromptContext;
     }
 
-    public void setInlinePromptContext(InlinePromptContext inlinePromptContext) {
+    public void setInlinePromptContext(final InlinePromptContext inlinePromptContext) {
         if (this.inlinePromptContext != null) {
             // otherwise the components created for an property edit inline prompt will overwrite the original
             // components on the underlying page (which we go back to if the prompt is cancelled).