Author: rwhitcomb
Date: Wed Mar 31 19:13:49 2021
New Revision: 1888250

URL: http://svn.apache.org/viewvc?rev=1888250&view=rev
Log:
Tweak some doc and an error message in Component.

Modified:
    pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
URL: 
http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java?rev=1888250&r1=1888249&r2=1888250&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java Wed Mar 31 19:13:49 
2021
@@ -94,7 +94,7 @@ public abstract class Component implemen
          * <code>null</code> due to the use of BeanAdapter to set the the new
          * value. (BeanAdapter does not look up the previous value for
          * performance reasons)<br><br> This also means that the logic
-         * determining whether to fire the the event differs from other Pivot
+         * determining whether to fire the event differs from other Pivot
          * event firing code. The event will be fired each time this method is
          * executed, regardless of whether the new value differs from the old
          * value or not.<br><br> This behaviour may change in the future so
@@ -113,8 +113,8 @@ public abstract class Component implemen
                 previousValue = styles.put(key, value);
                 componentStyleListeners.styleUpdated(Component.this, key, 
previousValue);
             } catch (PropertyNotFoundException exception) {
-                System.err.println("\"" + key + "\" is not a valid style for "
-                    + Component.this.getClass().getName());
+                System.err.println("\"" + key + "\" is not a valid style for 
an "
+                    + Component.this.getClass().getName() + " component");
             }
 
             return previousValue;


Reply via email to