click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From med...@apache.org
Subject svn commit: r779363 - in /incubator/click/trunk/click/framework/src/org/apache/click: control/Select.java service/XmlConfigService.java
Date Thu, 28 May 2009 00:26:06 GMT
Author: medgar
Date: Thu May 28 00:26:05 2009
New Revision: 779363

URL: http://svn.apache.org/viewvc?rev=779363&view=rev
Log:
format and checkstyle updates

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java
    incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java?rev=779363&r1=779362&r2=779363&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java (original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/control/Select.java Thu May
28 00:26:05 2009
@@ -164,7 +164,7 @@
  * item to the Select.
  *
  * <h3>Required Behaviour</h3>
- * 
+ *
  * When a Select control's required property is set to true, then the user has
  * to select a value other than the first value in the option list. The  first
  * value represents a non-selection by the user. In the example below an
@@ -173,29 +173,29 @@
  * <pre class="prettyprint">
  * public MyPage extends Page {
  *     ..
- *     
+ *
  *     private Select mySelect;
  *
  *     public MyPage() {
  *         mySelect = new Select("mySelect");
  *         mySelect.setRequired(true);
- *         
+ *
  *         ..
  *     }
- *     
+ *
  *     public void onInit() {
  *         mySelect.add(Option.EMPTY_OPTION);
- *         List<Customer> customerList = customerDao.getCustomerList();
+ *         List&lt;Customer&gt; customerList = customerDao.getCustomerList();
  *         mySelect.addAll(customerList, "id", "name");
  *     }
- *     
+ *
  *     ..
  * }
  * </pre>
  *
  * Remember always populate the Select option list before it is processed. Do
  * not populate the option list in a Page's onRender() methods.
- * 
+ *
  * <h3>Readonly Behaviour</h3>
  *
  * Note the &lt;select&gt; HTML element does not support the "readonly" attribute.

Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java?rev=779363&r1=779362&r2=779363&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/XmlConfigService.java
Thu May 28 00:26:05 2009
@@ -1167,9 +1167,9 @@
                     deployFilesInJar(jar);
 
                 } else {
-                    logService.error("Could not deploy the jar '" + jarPath +
-                        "'. Please ensure this file exists in the specified" +
-                        " location.");
+                    logService.error("Could not deploy the jar '" + jarPath
+                        + "'. Please ensure this file exists in the specified"
+                        + " location.");
                 }
             } else {
                 File dir = new File(path);
@@ -1217,8 +1217,8 @@
             int pathIndex = fileName.indexOf("META-INF/web/");
             if (pathIndex != -1) {
                 if (logFeedback && logService.isTraceEnabled()) {
-                    logService.trace("deploy files from folder -> " +
-                        dir.getAbsolutePath());
+                    logService.trace("deploy files from folder -> "
+                        + dir.getAbsolutePath());
 
                     // Only provide feedback once per dir
                     logFeedback = false;



Mime
View raw message