Skip to content
Snippets Groups Projects
Commit e23d952c authored by Thomas Mortagne's avatar Thomas Mortagne
Browse files

[misc] Fix checkstyle

parent 6fdc5577
No related branches found
No related tags found
No related merge requests found
...@@ -48,5 +48,5 @@ public interface AttachmentFileProvider ...@@ -48,5 +48,5 @@ public interface AttachmentFileProvider
* @param versionName the name of the version of the attachment eg: "1.1" or "1.2" * @param versionName the name of the version of the attachment eg: "1.1" or "1.2"
* @return the File for storing the content of a particular version of the attachment. * @return the File for storing the content of a particular version of the attachment.
*/ */
File getAttachmentVersionContentFile(final String versionName); File getAttachmentVersionContentFile(String versionName);
} }
...@@ -47,7 +47,7 @@ public interface FilesystemStoreTools ...@@ -47,7 +47,7 @@ public interface FilesystemStoreTools
* @param storageFile the file to get a backup file for. * @param storageFile the file to get a backup file for.
* @return a backup file with a name based on the name of the given file. * @return a backup file with a name based on the name of the given file.
*/ */
File getBackupFile(final File storageFile); File getBackupFile(File storageFile);
/** /**
* Get a temporary file which for a given storage file. * Get a temporary file which for a given storage file.
...@@ -56,7 +56,7 @@ public interface FilesystemStoreTools ...@@ -56,7 +56,7 @@ public interface FilesystemStoreTools
* @param storageFile the file to get a temporary file for. * @param storageFile the file to get a temporary file for.
* @return a temporary file with a name based on the name of the given file. * @return a temporary file with a name based on the name of the given file.
*/ */
File getTempFile(final File storageFile); File getTempFile(File storageFile);
/** /**
* Get an instance of AttachmentFileProvider which will save everything to do with an attachment * Get an instance of AttachmentFileProvider which will save everything to do with an attachment
...@@ -66,7 +66,7 @@ public interface FilesystemStoreTools ...@@ -66,7 +66,7 @@ public interface FilesystemStoreTools
* @param attachment the attachment to get a tools for. * @param attachment the attachment to get a tools for.
* @return a provider which will provide files with collision free path and repeatable with same inputs. * @return a provider which will provide files with collision free path and repeatable with same inputs.
*/ */
AttachmentFileProvider getAttachmentFileProvider(final XWikiAttachment attachment); AttachmentFileProvider getAttachmentFileProvider(XWikiAttachment attachment);
/** /**
* Get an instance of AttachmentFileProvider which will save everything to do with an attachment * Get an instance of AttachmentFileProvider which will save everything to do with an attachment
...@@ -77,7 +77,7 @@ public interface FilesystemStoreTools ...@@ -77,7 +77,7 @@ public interface FilesystemStoreTools
* @param deleteDate the date the attachment was deleted. * @param deleteDate the date the attachment was deleted.
* @return a provider which will provide files with collision free path and repeatable with same inputs. * @return a provider which will provide files with collision free path and repeatable with same inputs.
*/ */
DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttachment attachment, DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(XWikiAttachment attachment,
final Date deleteDate); final Date deleteDate);
/** /**
...@@ -86,7 +86,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach ...@@ -86,7 +86,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach
* @param docRef a reference to the document to get deleted attachments for. * @param docRef a reference to the document to get deleted attachments for.
* @return a map of maps which provide FileProviders by deletion dates and filenames. * @return a map of maps which provide FileProviders by deletion dates and filenames.
*/ */
Map<String, Map<Date, DeletedAttachmentFileProvider>> deletedAttachmentsForDocument(final DocumentReference docRef); Map<String, Map<Date, DeletedAttachmentFileProvider>> deletedAttachmentsForDocument(DocumentReference docRef);
/** /**
* @return the absolute path to the directory where the files are stored. * @return the absolute path to the directory where the files are stored.
...@@ -99,7 +99,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach ...@@ -99,7 +99,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach
* @param name a unique identifier for the file. * @param name a unique identifier for the file.
* @return a file unique to the given name. * @return a file unique to the given name.
*/ */
File getGlobalFile(final String name); File getGlobalFile(String name);
/** /**
* Get a deleted attachment file provider from a path to the deleted attachment directory. * Get a deleted attachment file provider from a path to the deleted attachment directory.
...@@ -107,7 +107,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach ...@@ -107,7 +107,7 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach
* @param pathToDirectory a relitive path to the directory where the deleted attachment is. * @param pathToDirectory a relitive path to the directory where the deleted attachment is.
* @return a DeletedAttachmentFileProvider which will provide files for that deleted attachment. * @return a DeletedAttachmentFileProvider which will provide files for that deleted attachment.
*/ */
DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final String pathToDirectory); DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(String pathToDirectory);
/** /**
* Get a {@link java.util.concurrent.locks.ReadWriteLock} which is unique to the given file. * Get a {@link java.util.concurrent.locks.ReadWriteLock} which is unique to the given file.
...@@ -117,5 +117,5 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach ...@@ -117,5 +117,5 @@ DeletedAttachmentFileProvider getDeletedAttachmentFileProvider(final XWikiAttach
* @param toLock the file to get a lock for. * @param toLock the file to get a lock for.
* @return a lock for the given file. * @return a lock for the given file.
*/ */
ReadWriteLock getLockForFile(final File toLock); ReadWriteLock getLockForFile(File toLock);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment