Revision: 7807
Author: [email protected]
Date: Mon Mar 29 05:18:51 2010
Log: Checkstyle fixes

http://code.google.com/p/google-web-toolkit/source/detail?r=7807

Modified:
/trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksDesktop.java /trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksMobile.java
 /trunk/dev/core/src/com/google/gwt/dev/Permutation.java

=======================================
--- /trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksDesktop.java Fri Mar 26 06:15:07 2010 +++ /trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksDesktop.java Mon Mar 29 05:18:51 2010
@@ -49,7 +49,7 @@
 import java.util.Map;

 /**
- * Entry point classes define <code>onModuleLoad()</code>.
+ * Desktop client for the stocks demo.
  */
 public class StocksDesktop implements EntryPoint, Updater {

=======================================
--- /trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksMobile.java Fri Mar 26 06:15:07 2010 +++ /trunk/bikeshed/src/com/google/gwt/sample/bikeshed/stocks/client/StocksMobile.java Mon Mar 29 05:18:51 2010
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2010 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
 package com.google.gwt.sample.bikeshed.stocks.client;

 import com.google.gwt.bikeshed.list.client.PagingTableListView;
@@ -19,9 +34,14 @@
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.Widget;

+/**
+ * Mobile client for the stocks demo.
+ */
 public class StocksMobile {

-  interface Binder extends UiBinder<Widget, StocksMobile> {}
+  interface Binder extends UiBinder<Widget, StocksMobile> {
+  }
+
   private static final Binder binder = GWT.create(Binder.class);

   /**
@@ -99,17 +119,17 @@

   @UiFactory
   PagingTableListView<StockQuote> createFavoritesWidget() {
- PagingTableListView<StockQuote> listView = new PagingTableListView<StockQuote>( + PagingTableListView<StockQuote> favorite = new PagingTableListView<StockQuote>(
         favoritesListModel, 10);

-    listView.addColumn(Columns.tickerColumn, new TextHeader("ticker"));
-    listView.addColumn(Columns.priceColumn, new TextHeader("price"));
-    listView.addColumn(Columns.changeColumn, new TextHeader("change"));
-    listView.addColumn(Columns.sharesColumn, new TextHeader("shares"));
-    listView.addColumn(Columns.dollarsColumn, new TextHeader("value"));
- listView.addColumn(Columns.profitLossColumn, new TextHeader("profit/loss"));
-
-    return listView;
+    favorite.addColumn(Columns.tickerColumn, new TextHeader("ticker"));
+    favorite.addColumn(Columns.priceColumn, new TextHeader("price"));
+    favorite.addColumn(Columns.changeColumn, new TextHeader("change"));
+    favorite.addColumn(Columns.sharesColumn, new TextHeader("shares"));
+    favorite.addColumn(Columns.dollarsColumn, new TextHeader("value"));
+ favorite.addColumn(Columns.profitLossColumn, new TextHeader("profit/loss"));
+
+    return favorite;
   }

   /**
@@ -143,4 +163,3 @@
         favorites.size(), favorites);
   }
 }
-
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/Permutation.java Thu Mar 25 12:00:47 2010 +++ /trunk/dev/core/src/com/google/gwt/dev/Permutation.java Mon Mar 29 05:18:51 2010
@@ -72,7 +72,7 @@

   /**
* This is called to merge two permutations that either have identical rebind
-   * answers or were explicitly collapsed using <collapse-property>
+   * answers or were explicitly collapsed using <collapse-property>.
    */
public void mergeFrom(Permutation other, SortedSet<String> liveRebindRequests) {
     if (getClass().desiredAssertionStatus()) {

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

To unsubscribe from this group, send email to 
google-web-toolkit-contributors+unsubscribegooglegroups.com or reply to this email with 
the words "REMOVE ME" as the subject.

Reply via email to