Skip to content
Permalink
Browse files
Merge pull request #76 from arturobernalg/feature/FILEUPLOAD-325
FILEUPLOAD-325 - Remove Unused Assignment
  • Loading branch information
jochenw committed May 1, 2021
2 parents 68dbfbc + ca45aa7 commit 1ac8c617896b5dd0e1900dbe3ffd4cf165c6ad1b
Showing 4 changed files with 6 additions and 6 deletions.
@@ -451,7 +451,7 @@ public byte readByte() throws IOException {
public boolean readBoundary()
throws FileUploadIOException, MalformedStreamException {
final byte[] marker = new byte[2];
boolean nextChunk = false;
boolean nextChunk;

head += boundaryLength;
try {
@@ -582,7 +582,7 @@ public String readHeaders() throws FileUploadIOException, MalformedStreamExcepti
baos.write(b);
}

String headers = null;
String headers;
if (headerEncoding != null) {
try {
headers = baos.toString(headerEncoding);
@@ -303,8 +303,8 @@ public Map<String, String> parse(
this.pos = offset;
this.len = length;

String paramName = null;
String paramValue = null;
String paramName;
String paramValue;
while (hasChar()) {
paramName = parseToken(new char[] {
'=', separator });
@@ -310,7 +310,7 @@ public void setCharacterEncoding(final String arg0)
*/
@Override
public int getContentLength() {
int iLength = 0;
int iLength;

if (null == m_requestData) {
iLength = -1;
@@ -324,7 +324,7 @@ public void setCharacterEncoding(final String arg0)
*/
@Override
public int getContentLength() {
int iLength = 0;
int iLength;

if (null == m_requestData) {
iLength = -1;

0 comments on commit 1ac8c61

Please sign in to comment.