You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2006/05/20 20:48:34 UTC
svn commit: r408072 -
/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java
Author: olegk
Date: Sat May 20 11:48:34 2006
New Revision: 408072
URL: http://svn.apache.org/viewvc?rev=408072&view=rev
Log:
Bug fix
Modified:
jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java
Modified: jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java?rev=408072&r1=408071&r2=408072&view=diff
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java (original)
+++ jakarta/httpcomponents/httpcore/trunk/src/java/org/apache/http/entity/EntityTemplate.java Sat May 20 11:48:34 2006
@@ -49,7 +49,7 @@
public EntityTemplate(final ContentProducer contentproducer) {
super();
- if (this.contentproducer == null) {
+ if (contentproducer == null) {
throw new IllegalArgumentException("Content producer may not be null");
}
this.contentproducer = contentproducer;