mina-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r1078406 - /mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java
Date Sun, 06 Mar 2011 06:57:46 GMT
Author: ngn
Date: Sun Mar  6 06:57:46 2011
New Revision: 1078406

URL: http://svn.apache.org/viewvc?rev=1078406&view=rev
Log:
Fixing build on Java 1.5

Modified:
    mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java

Modified: mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java
URL: http://svn.apache.org/viewvc/mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java?rev=1078406&r1=1078405&r2=1078406&view=diff
==============================================================================
--- mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java
(original)
+++ mina/vysper/trunk/server/core/src/main/java/org/apache/vysper/xmpp/modules/extension/xep0049_privatedata/PrivateDataIQHandler.java
Sun Mar  6 06:57:46 2011
@@ -173,7 +173,7 @@ public class PrivateDataIQHandler extend
             }
         });
 
-        IoBuffer buffer = IoBuffer.wrap(xml.getBytes(Charset.forName("UTF-8")));
+        IoBuffer buffer = IoBuffer.wrap(xml.getBytes("UTF-8"));
         reader.parse(buffer, CharsetUtil.UTF8_DECODER);
 
         return documents.get(0);



Mime
View raw message