wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r935190 - /incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java
Date Sat, 17 Apr 2010 15:29:23 GMT
Author: bluk
Date: Sat Apr 17 15:29:23 2010
New Revision: 935190

URL: http://svn.apache.org/viewvc?rev=935190&view=rev
Log:
Clean up message formatting in ClientResponseImpl

Modified:
    incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java

Modified: incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java?rev=935190&r1=935189&r2=935190&view=diff
==============================================================================
--- incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java
(original)
+++ incubator/wink/trunk/wink-client/src/main/java/org/apache/wink/client/internal/handlers/ClientResponseImpl.java
Sat Apr 17 15:29:23 2010
@@ -119,7 +119,7 @@ public class ClientResponseImpl extends 
                                                        contentMediaType,
                                                        runtimeContext);
             if (reader == null) {
-                throw new RuntimeException(String.format(Messages.getMessage("clientNoReaderForTypeAndMediaType"),
+                throw new RuntimeException(Messages.getMessage("clientNoReaderForTypeAndMediaType",
                                                          String.valueOf(type),
                                                          contentType));
             }



Mime
View raw message