File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/com/mongodb/gridfs Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -138,21 +138,21 @@ public void setContentType( String ct ) {
138138
139139 /**
140140 * Set the chunk size. This must be called before saving any data.
141- * @param _chunkSize
141+ * @param chunkSize The size in bytes.
142142 */
143- public void setChunkSize (long _chunkSize ) {
143+ public void setChunkSize (long chunkSize ) {
144144 if (_outputStream != null || _savedChunks )
145145 return ;
146- this . _chunkSize = _chunkSize ;
147- this . _buffer = new byte [(int ) _chunkSize ];
146+ _chunkSize = chunkSize ;
147+ _buffer = new byte [(int ) _chunkSize ];
148148 }
149149
150150 /**
151151 * calls {@link GridFSInputFile#save(long)} with the existing chunk size
152152 */
153153 @ Override
154154 public void save () {
155- save ( _chunkSize );
155+ save ( _chunkSize );
156156 }
157157
158158 /**
You can’t perform that action at this time.
0 commit comments