camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1227212 - in /camel/trunk: components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java parent/pom.xml
Date Wed, 04 Jan 2012 16:33:14 GMT
Author: davsclaus
Date: Wed Jan  4 16:33:14 2012
New Revision: 1227212

URL: http://svn.apache.org/viewvc?rev=1227212&view=rev
Log:
CAMEL-4860: Upgraded to tagsoup 1.2.1. Thanks to Babak for the patch.

Modified:
    camel/trunk/components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java
    camel/trunk/parent/pom.xml

Modified: camel/trunk/components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java?rev=1227212&r1=1227211&r2=1227212&view=diff
==============================================================================
--- camel/trunk/components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java
(original)
+++ camel/trunk/components/camel-tagsoup/src/main/java/org/apache/camel/dataformat/tagsoup/TidyMarkupDataFormat.java
Wed Jan  4 16:33:14 2012
@@ -74,7 +74,7 @@ public class TidyMarkupDataFormat implem
     /**
      * String or Node to return
      */
-    private Class dataObjectType;
+    private Class<?> dataObjectType;
 
     /**
      * What is the default output format ?
@@ -117,7 +117,6 @@ public class TidyMarkupDataFormat implem
      * 
      * @throws Exception
      */
-    @SuppressWarnings("unchecked")
     public Object unmarshal(Exchange exchange, InputStream inputStream) throws Exception
{
 
         ObjectHelper.notNull(dataObjectType, "dataObjectType", this);
@@ -317,7 +316,7 @@ public class TidyMarkupDataFormat implem
     /**
      * @return the dataObjectType
      */
-    public Class getDataObjectType() {
+    public Class<?> getDataObjectType() {
         return dataObjectType;
     }
 
@@ -325,7 +324,7 @@ public class TidyMarkupDataFormat implem
      * @param dataObjectType
      *            the dataObjectType to set
      */
-    public void setDataObjectType(Class dataObjectType) {
+    public void setDataObjectType(Class<?> dataObjectType) {
         this.dataObjectType = dataObjectType;
     }
 

Modified: camel/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=1227212&r1=1227211&r2=1227212&view=diff
==============================================================================
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Wed Jan  4 16:33:14 2012
@@ -154,7 +154,7 @@
     <spymemcached-version>2.5</spymemcached-version>
     <stax-api-version>1.0.1</stax-api-version>
     <stringtemplate-version>3.0</stringtemplate-version>
-    <tagsoup-version>1.2</tagsoup-version>
+    <tagsoup-version>1.2.1</tagsoup-version>
     <testng-version>6.0.1</testng-version>
     <velocity-version>1.7</velocity-version>
     <woodstox-version>4.1.1</woodstox-version>



Mime
View raw message