xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r889193 - in /xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp: XMPArray.java XMPSchemaAdapter.java schemas/DublinCoreAdapter.java
Date Thu, 10 Dec 2009 11:22:33 GMT
Author: vhennebert
Date: Thu Dec 10 11:22:27 2009
New Revision: 889193

URL: http://svn.apache.org/viewvc?rev=889193&view=rev
Log:
Fixed typos

Modified:
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPArray.java
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPSchemaAdapter.java
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/schemas/DublinCoreAdapter.java

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPArray.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPArray.java?rev=889193&r1=889192&r2=889193&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPArray.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPArray.java Thu Dec 10
11:22:27 2009
@@ -131,7 +131,7 @@
      * @return the removed value (or null if no value was set)
      */
     public String removeLangValue(String lang) {
-        if (lang == null && "".equals(lang)) {
+        if (lang == null || "".equals(lang)) {
             return null;
         }
         for (int i = 0, c = values.size(); i < c; i++) {

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPSchemaAdapter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPSchemaAdapter.java?rev=889193&r1=889192&r2=889193&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPSchemaAdapter.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/XMPSchemaAdapter.java Thu
Dec 10 11:22:27 2009
@@ -401,7 +401,7 @@
     }
 
     /**
-     * Returns a String array representation of the property's values. Complex values to
converted
+     * Returns a String array representation of the property's values. Complex values are
converted
      * to Strings using the toString() method.
      * @param propName the property name
      * @return the String array or null if the property isn't set

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/schemas/DublinCoreAdapter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/schemas/DublinCoreAdapter.java?rev=889193&r1=889192&r2=889193&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/schemas/DublinCoreAdapter.java
(original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/xmp/schemas/DublinCoreAdapter.java
Thu Dec 10 11:22:27 2009
@@ -384,7 +384,7 @@
      * Returns an array of all document types.
      * @return a String array of all document types (or null if not set)
      */
-    public String[] getTypess() {
+    public String[] getTypes() {
         return getStringArray(TYPE);
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message