This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 316bad3fec352d861b44238f5d7ef367eb40f41f Author: Benoit Tellier <[email protected]> AuthorDate: Mon Nov 18 13:59:40 2019 +0700 [Refactoring] AbstractFileRepository::createChildRepository is never used --- .../apache/james/repository/file/AbstractFileRepository.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/server/data/data-library/src/main/java/org/apache/james/repository/file/AbstractFileRepository.java b/server/data/data-library/src/main/java/org/apache/james/repository/file/AbstractFileRepository.java index a2185ff..d3e4ab1 100644 --- a/server/data/data-library/src/main/java/org/apache/james/repository/file/AbstractFileRepository.java +++ b/server/data/data-library/src/main/java/org/apache/james/repository/file/AbstractFileRepository.java @@ -154,18 +154,6 @@ public abstract class AbstractFileRepository implements Configurable { } /** - * Return a new instance of this class - * - * @return class a new instance of AbstractFileRepository - * @throws Exception - * get thrown if an error is detected while create the new - * instance - */ - protected AbstractFileRepository createChildRepository() throws Exception { - return getClass().newInstance(); - } - - /** * Return the File Object which belongs to the given key * * @param key --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
