You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2007/08/15 16:38:03 UTC

Re: svn commit: r565234 - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/io/ rt/core/src/main/java/org/apache/cxf/attachment/ rt/core/src/main/java/org/apache/cxf/interceptor/ rt/core/src/test/java/org/apache/cxf/attachment/ systests/src/test/ja...

Am Montag, den 13.08.2007, 12:45 +0800 schrieb James Mao:
> > Modified: incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java
> > URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java?view=diff&rev=565234&r1=565233&r2=565234
> > ==============================================================================
> > --- incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java (original)
> > +++ incubator/cxf/trunk/rt/core/src/main/java/org/apache/cxf/attachment/AttachmentDeserializer.java Sun Aug 12 21:27:38 2007
> > @@ -19,6 +19,7 @@
> >  
> >  package org.apache.cxf.attachment;
> >  
> > +import java.io.File;
> >  import java.io.IOException;
> >  import java.io.InputStream;
> >  import java.io.PushbackInputStream;
> > @@ -46,7 +47,7 @@
> >  
> >      public static final String ATTACHMENT_MEMORY_THRESHOLD = "attachment-memory-threshold";
> >  
> > -    public static final int THRESHHOLD = 1024 * 100;
> > +    public static final int THRESHOLD = 1024 * 100; //100K (byte unit)
> >   
> So, now we allowing *TrailingComment* ?
> 

I recommended to Jeff that he add a comment giving the threshold unit of
measure at that location--but I didn't know whether or not trailing
comments were allowed.  The actual format/location of the UoM comment is
not important to me--as long as we have the comment I'm happy.

Glen


> Related commis: http://svn.apache.org/viewvc?view=rev&rev=450267
> 
> James