You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/06/12 18:41:46 UTC

[text] TEXT-83: Document that commons-csv should be used in preference to CsvTranslators

Repository: commons-text
Updated Branches:
  refs/heads/master 9ce255f89 -> 0029f139b


TEXT-83: Document that commons-csv should be used in preference to CsvTranslators

clarify statement


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/0029f139
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/0029f139
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/0029f139

Branch: refs/heads/master
Commit: 0029f139bdb3f2653cdf1e9971238d00656926c6
Parents: 9ce255f
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Mon Jun 12 20:41:34 2017 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Mon Jun 12 20:41:34 2017 +0200

----------------------------------------------------------------------
 src/changes/changes.xml                                     | 4 ++--
 .../org/apache/commons/text/translate/CsvTranslators.java   | 9 ++-------
 2 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/0029f139/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 90c494d..9d9971e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,8 +46,8 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
 
   <release version="1.2" date="tbd" description="tbd">
-    <action issue="TEXT-83" type="update" dev="chtompki" due-to="Amey Jadiye">Document CsvTranslators from from commons text in favor of Commons CSV</action>
-    <action issue="TEXT-67" type="update" dev="kinow">NumericEntityUnescaper.options - TODO</action>
+    <action issue="TEXT-83" type="update" dev="chtompki" due-to="Amey Jadiye">Document that commons-csv should be used in preference to CsvTranslators</action>
+    <action issue="TEXT-67" type="update" dev="kinow">NumericEntityUnescaper.options - fix TODO</action>
     <action issue="TEXT-84" type="update" dev="djones">RandomStringGenerator claims to be immutable, but isn't</action>
   </release>
 

http://git-wip-us.apache.org/repos/asf/commons-text/blob/0029f139/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
index 081aa82..2987ead 100644
--- a/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
+++ b/src/main/java/org/apache/commons/text/translate/CsvTranslators.java
@@ -24,15 +24,10 @@ import org.apache.commons.lang3.StringUtils;
 /**
  * <p>This class holds inner classes for escaping/unescaping Comma Separated Values.<p>
  *
- * In favor of Commons CSV which is responsible for all csv operations its always
- * recommended to use API given in commons-csv.
- *
- * {@link CsvTranslators} have made by keeping in mind it will be useful to make high
- * level and more complex API around CSV files. All low level API working on Text and
- * with CSV are present in this class.
+ * In general the use a high level API like commons-csv should be preferred over these
+ * low level classes.
  *
  * @see <a href="http://commons.apache.org/proper/commons-csv/apidocs/index.html">commons-csv</a>
- *
  */
 public final class CsvTranslators {