Skip to content
Permalink
Browse files
Remove redundant modifiers like public on interface members.
  • Loading branch information
garydgregory committed Nov 21, 2020
1 parent 6598b7a commit 0b032b5e39aead754cf0aaccd91ccd65c6637ee5
Showing 1 changed file with 7 additions and 7 deletions.
@@ -34,7 +34,7 @@ public interface FileItemIterator {
* request specific value by invoking {@link #setFileSizeMax(long)} on this object.
* @return The maximum size of a single, uploaded file. The value -1 indicates "unlimited".
*/
public long getFileSizeMax();
long getFileSizeMax();

/** Sets the maximum size of a single file. An {@link FileSizeLimitExceededException}
* will be thrown, if there is an uploaded file, which is exceeding this value.
@@ -45,7 +45,7 @@ public interface FileItemIterator {
* <em>Note:</em>Changing this value doesn't affect files, that have already been uploaded.
* @param pFileSizeMax The maximum size of a single, uploaded file. The value -1 indicates "unlimited".
*/
public void setFileSizeMax(long pFileSizeMax);
void setFileSizeMax(long pFileSizeMax);

/** Returns the maximum size of the complete HTTP request. A {@link SizeLimitExceededException}
* will be thrown, if the HTTP request will exceed this value.
@@ -54,7 +54,7 @@ public interface FileItemIterator {
* request specific value by invoking {@link #setSizeMax(long)} on this object.
* @return The maximum size of the complete HTTP request. The value -1 indicates "unlimited".
*/
public long getSizeMax();
long getSizeMax();

/** Returns the maximum size of the complete HTTP request. A {@link SizeLimitExceededException}
* will be thrown, if the HTTP request will exceed this value.
@@ -66,7 +66,7 @@ public interface FileItemIterator {
* yet been invoked.
* @param pSizeMax The maximum size of the complete HTTP request. The value -1 indicates "unlimited".
*/
public void setSizeMax(long pSizeMax);
void setSizeMax(long pSizeMax);

/**
* Returns, whether another instance of {@link FileItemStream}
@@ -78,7 +78,7 @@ public interface FileItemIterator {
* @return True, if one or more additional file items
* are available, otherwise false.
*/
public boolean hasNext() throws FileUploadException, IOException;
boolean hasNext() throws FileUploadException, IOException;

/**
* Returns the next available {@link FileItemStream}.
@@ -91,7 +91,7 @@ public interface FileItemIterator {
* @return FileItemStream instance, which provides
* access to the next file item.
*/
public FileItemStream next() throws FileUploadException, IOException;
FileItemStream next() throws FileUploadException, IOException;

public List<FileItem> getFileItems() throws FileUploadException, IOException;
List<FileItem> getFileItems() throws FileUploadException, IOException;
}

0 comments on commit 0b032b5

Please sign in to comment.