sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1718277 - /sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java
Date Mon, 07 Dec 2015 10:00:04 GMT
Author: desruisseaux
Date: Mon Dec  7 10:00:03 2015
New Revision: 1718277

URL: http://svn.apache.org/viewvc?rev=1718277&view=rev
Log:
Fix erroneous example in documentation.

Modified:
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java?rev=1718277&r1=1718276&r2=1718277&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/collection/DefaultTreeTable.java
[UTF-8] Mon Dec  7 10:00:03 2015
@@ -45,9 +45,9 @@ import java.util.Objects;
  *
  * {@preformat java
  *     public class CityLocation {
- *         public static final TableColumn<String> CITY_NAME  = new TableColumn<>(String.class);
- *         public static final TableColumn<Float>  LATITUDE   = new TableColumn<>(Float
.class);
- *         public static final TableColumn<Float>  LONGTITUDE = new TableColumn<>(Float
.class);
+ *         public static final TableColumn<String> CITY_NAME  = new TableColumn<>(String.class,
"City name");
+ *         public static final TableColumn<Float>  LATITUDE   = new TableColumn<>(Float.class,
 "Latitude");
+ *         public static final TableColumn<Float>  LONGTITUDE = new TableColumn<>(Float.class,
 "Longitude");
  *
  *         public TreeTable createTable() {
  *             DefaultTreeTable table = new DefaultTreeTable(CITY_NAME, LATITUDE, LONGITUDE);



Mime
View raw message