Skip to content

Commit

Permalink
fixing checkstyle failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mufasa1976 committed May 20, 2024
1 parent 148bfaf commit 96e3573
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commons-fileupload2-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<commons.jacoco.instructionRatio>0.43</commons.jacoco.instructionRatio>
<commons.jacoco.methodRatio>0.40</commons.jacoco.methodRatio>
<commons.jacoco.branchRatio>0.43</commons.jacoco.branchRatio>
<commons.jacoco.lineRatio>0.41</commons.jacoco.lineRatio>
<commons.jacoco.lineRatio>0.42</commons.jacoco.lineRatio>
<commons.jacoco.complexityRatio>0.37</commons.jacoco.complexityRatio>
</properties>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

public abstract class AbstractRequestContext<T> implements RequestContext {
/**
* the Content-Type Pattern for multipart/related Requests
* the Content-Type Pattern for multipart/related Requests.
*/
private static final Pattern MULTIPART_RELATED =
Pattern.compile("^\\s*multipart/related.*", Pattern.CASE_INSENSITIVE);
Expand Down Expand Up @@ -85,7 +85,7 @@ public String toString() {
return String.format("%s [ContentLength=%s, ContentType=%s]", getClass().getSimpleName(), getContentLength(), getContentType());
}

protected boolean isMultipartRelated(String contentType) {
protected boolean isMultipartRelated(final String contentType) {
return MULTIPART_RELATED.matcher(contentType).matches();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class FileItemInputIteratorImpl implements FileItemInputIterator {
private boolean eof;

/**
* is the Request of type <code>multipart/related</code>
* is the Request of type <code>multipart/related</code>.
*/
private final boolean multipartRelated;

Expand Down

0 comments on commit 96e3573

Please sign in to comment.