You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2014/06/24 18:12:56 UTC

svn commit: r1605125 - in /pivot/trunk: charts/src/org/apache/pivot/charts/ charts/src/org/apache/pivot/charts/content/ tests/src/org/apache/pivot/tests/issues/ tutorials/www/ wtk-terra/src/org/apache/pivot/wtk/skin/terra/ wtk/src/org/apache/pivot/wtk/...

Author: smartini
Date: Tue Jun 24 16:12:56 2014
New Revision: 1605125

URL: http://svn.apache.org/r1605125
Log:
trim-whitespace

Modified:
    pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java
    pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java
    pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
    pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java
    pivot/trunk/tutorials/www/hello-world.xml
    pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java
    pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java

Modified: pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java (original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java Tue Jun 24 16:12:56 2014
@@ -34,7 +34,7 @@ public class HistogramView extends Chart
             this.binEnd = binEnd;
             this.binStart = binStart;
             this.binValue = binValue;
-            this.frequency = frequency;			
+            this.frequency = frequency;
         }
 
         public double getBinStart() {
@@ -57,7 +57,7 @@ public class HistogramView extends Chart
         public String toString() {
             return "bin #"+getElementIndex()+","+binStart+" - "+binEnd+", frequency "+frequency;
         }
-	
+
     }
 
 }

Modified: pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java (original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java Tue Jun 24 16:12:56 2014
@@ -112,5 +112,5 @@ public class SingleValueChartView extend
                 ((List<Object>)chartData).insert(value, 0);
             }
         }
- 
+
 }

Modified: pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
URL: http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java (original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java Tue Jun 24 16:12:56 2014
@@ -30,9 +30,9 @@ public class HistogramSeries<T> extends 
 
     public void setBinCount(int binCount) {
         this.binCount = binCount;
-        // Fire itemUpdated to notify series change 
+        // Fire itemUpdated to notify series change
         for (ListListener<T> listener : getListListeners()) {
-            listener.itemUpdated(this, Integer.MIN_VALUE, null);			
+            listener.itemUpdated(this, Integer.MIN_VALUE, null);
         }
     }
 

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java Tue Jun 24 16:12:56 2014
@@ -45,7 +45,7 @@ public class Pivot951 extends Applicatio
                 return true;
             }
         });
-        
+
         window.setContent(brd);
         window.setTitle("Pivot951: Cannot click twice");
         window.setMaximized(true);

Modified: pivot/trunk/tutorials/www/hello-world.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/tutorials/www/hello-world.xml?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/tutorials/www/hello-world.xml (original)
+++ pivot/trunk/tutorials/www/hello-world.xml Tue Jun 24 16:12:56 2014
@@ -174,8 +174,8 @@ limitations under the License.
 
         <p>
             Note that (for offline testing purposes) <tt>pivot-tutorials-<i>[version]</i>.jar</tt>
-			is not provided directly in binary distribution, but it's inside generated war files
-			(under the lib folder). Otherwise, you can build it from sources.
+            is not provided directly in binary distribution, but it's inside generated war files
+            (under the lib folder). Otherwise, you can build it from sources.
         </p>
 
        <p>

Modified: pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java (original)
+++ pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTheme.java Tue Jun 24 16:12:56 2014
@@ -321,7 +321,7 @@ public final class TerraTheme extends Th
 
     /**
      * Sets the theme's font.
-     * 
+     *
      * @param font the font
      */
     @Override
@@ -336,7 +336,7 @@ public final class TerraTheme extends Th
     /**
      * Gets a value from the theme's complete color palette (including derived
      * colors, if any).
-     * 
+     *
      * @param index the index of the color, starting from 0
      */
     @Override
@@ -351,7 +351,7 @@ public final class TerraTheme extends Th
     /**
      * Sets a value in the theme's complete color palette (including derived
      * colors, if any).
-     * 
+     *
      * @param index the index of the color, starting from 0
      * @param color the color to set
      */
@@ -370,7 +370,7 @@ public final class TerraTheme extends Th
 
     /**
      * Gets a color from the theme's base color palette.
-     * 
+     *
      * @param index the index of the color, starting from 0
      */
     @Override
@@ -384,7 +384,7 @@ public final class TerraTheme extends Th
 
     /**
      * Sets a color in the theme's base color palette.
-     * 
+     *
      * @param index the index of the color, starting from 0
      * @param baseColor the color to set
      */
@@ -406,7 +406,7 @@ public final class TerraTheme extends Th
 
     /**
      * Gets the number of Palette Colors.
-     * 
+     *
      * @return the number of colors in the base palette
      */
     @Override
@@ -416,7 +416,7 @@ public final class TerraTheme extends Th
 
     /**
      * Gets the total number of Colors (including derived colors, if any).
-     * 
+     *
      * @return the number
      */
     @Override
@@ -428,7 +428,7 @@ public final class TerraTheme extends Th
      * Tell if the theme is dark.<br/> Usually this means that (if true) any
      * color will be transformed in the opposite way (brightening instead of
      * darkening, and darkening instead of brightening).
-     * 
+     *
      * @return true if dark, false otherwise
      */
     @Override
@@ -439,7 +439,7 @@ public final class TerraTheme extends Th
     /**
      * Gets the image that this theme uses to represent messages of the
      * specified type.
-     * 
+     *
      * @param messageType
      */
     public Image getMessageIcon(MessageType messageType) {
@@ -449,7 +449,7 @@ public final class TerraTheme extends Th
     /**
      * Sets the image that this theme uses to represent messages of the
      * specified type.
-     * 
+     *
      * @param messageType
      * @param messageIcon
      */
@@ -464,7 +464,7 @@ public final class TerraTheme extends Th
     /**
      * Gets the small image that this theme uses to represent messages of the
      * specified type.
-     * 
+     *
      * @param messageType
      */
     public Image getSmallMessageIcon(MessageType messageType) {
@@ -474,7 +474,7 @@ public final class TerraTheme extends Th
     /**
      * Sets the small image that this theme uses to represent messages of the
      * specified type.
-     * 
+     *
      * @param messageType
      * @param smallMessageIcon
      */

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Tue Jun 24 16:12:56 2014
@@ -267,7 +267,7 @@ public abstract class ApplicationContext
                         dropAction = dropTarget.userDropActionChange(dropDescendant, dragManifest,
                             supportedDropActions, dropLocation.x, dropLocation.y, userDropAction);
 
-					    if (dropAction != null) {
+                        if (dropAction != null) {
                             // Perform the drop
                             event.acceptDrop(getNativeDropAction(dropAction));
                             dropTarget.drop(dropDescendant, dragManifest, supportedDropActions,

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java Tue Jun 24 16:12:56 2014
@@ -111,21 +111,21 @@ public abstract class Theme {
 
     /**
      * Sets the theme's font.
-     * 
+     *
      * @param font the font
      */
     public abstract void setFont(Font font);
 
     /**
      * Gets a color from the theme's base color palette.
-     * 
+     *
      * @param index the index of the color, starting from 0
      */
     public abstract Color getBaseColor(int index);
 
     /**
      * Sets a color in the theme's base color palette.
-     * 
+     *
      * @param index the index of the color, starting from 0
      * @param baseColor the color to set
      */
@@ -134,7 +134,7 @@ public abstract class Theme {
     /**
      * Gets a value from the theme's complete color palette (including derived
      * colors, if any).
-     * 
+     *
      * @param index the index of the color, starting from 0
      */
     public abstract Color getColor(int index);
@@ -142,7 +142,7 @@ public abstract class Theme {
     /**
      * Sets a value in the theme's complete color palette (including derived
      * colors, if any).
-     * 
+     *
      * @param index the index of the color, starting from 0
      * @param color the color to set
      */
@@ -150,14 +150,14 @@ public abstract class Theme {
 
     /**
      * Gets the number of Palette Colors.
-     * 
+     *
      * @return the number
      */
     public abstract int getNumberOfPaletteColors();
 
     /**
      * Gets the total number of Colors (including derived colors, if any).
-     * 
+     *
      * @return the number
      */
     public abstract int getNumberOfColors();
@@ -166,7 +166,7 @@ public abstract class Theme {
      * Tell if the theme is dark.<br/> Usually this means that (if true) any
      * color will be transformed in the opposite way (brightening instead of
      * darkening, and darkening instead of brightening).
-     * 
+     *
      * @return true if dark, false otherwise
      */
     public abstract boolean isThemeDark();
@@ -174,7 +174,7 @@ public abstract class Theme {
     /**
      * Returns the skin class responsible for skinning the specified component
      * class.
-     * 
+     *
      * @param componentClass The component class.
      * @return The skin class, or <tt>null</tt> if no skin mapping exists for
      * the component class.
@@ -190,7 +190,7 @@ public abstract class Theme {
     /**
      * Sets the skin class responsible for skinning the specified component
      * class.
-     * 
+     *
      * @param componentClass The component class.
      * @param skinClass The skin class.
      */
@@ -209,7 +209,7 @@ public abstract class Theme {
     /**
      * Gets the current theme, as determined by the {@linkplain #PROVIDER_NAME
      * theme provider}.
-     * 
+     *
      * @throws IllegalStateException If a theme has not been installed.
      */
     public static Theme getTheme() {
@@ -222,7 +222,7 @@ public abstract class Theme {
 
     /**
      * Produce a font by describing it relative to the current theme's font
-     * 
+     *
      * @param dictionary A dictionary with any of the following keys: <ul> <li>
      * {@value #NAME_KEY} - the family name of the font</li> <li>
      * {@value #SIZE_KEY} - the font size as an integer, or a string "x%" for a

Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java?rev=1605125&r1=1605124&r2=1605125&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java Tue Jun 24 16:12:56 2014
@@ -33,7 +33,7 @@ public final class ColorUtilities {
      * Returns a brighter version of the specified color. Specifically, it
      * increases the brightness (in the HSB color model) by the given
      * <tt>adjustment</tt> factor (usually in the range ]0 .. 1[).
-     * 
+     *
      * @param color the color
      * @param adjustment the adjustment factor
      * @return the color brightened
@@ -46,7 +46,7 @@ public final class ColorUtilities {
      * Returns a darker version of the specified color. Specifically, it
      * decreases the brightness (in the HSB color model) by the given
      * <tt>adjustment</tt> factor (usually in the range ]0 .. 1[).
-     * 
+     *
      * @param color the color
      * @param adjustment the adjustment factor
      * @return the color darkened
@@ -57,7 +57,7 @@ public final class ColorUtilities {
 
     /**
      * Change the brightness of the given color, and returns the changes color.
-     * 
+     *
      * @param color the color
      * @param adjustment the adjustment factor (usually in the range ]0 .. 1[)
      * @return the new color
@@ -71,7 +71,7 @@ public final class ColorUtilities {
 
     /**
      * Returns a numeric version of the difference of all color RGB components.
-     * 
+     *
      * @param color1 the first color
      * @param color2 the second color
      * @return the value of the difference
@@ -84,7 +84,7 @@ public final class ColorUtilities {
 
     /**
      * Returns a numeric version of the difference of all color RGB components.
-     * 
+     *
      * @param color1 the first color
      * @param color2 the second color
      * @return an array of three elements, containing a value of the difference
@@ -103,7 +103,7 @@ public final class ColorUtilities {
     /**
      * Returns a numeric version of the difference of all color in HSV
      * components.
-     * 
+     *
      * @param color1 the first color
      * @param color2 the second color
      * @return an array of three elements, containing a value of the difference