From 48d363352cf3195f49228363149c2fc3c645a337 Mon Sep 17 00:00:00 2001 From: jendib Date: Tue, 13 Aug 2013 20:08:14 +0200 Subject: [PATCH] Cleanup imports --- .idea/codeStyleSettings.xml | 6 ++- .idea/misc.xml | 18 ++++++++ .../docs/core/dao/file/theme/ThemeDao.java | 6 +-- .../core/dao/jpa/AuthenticationTokenDao.java | 16 ++++---- .../sismics/docs/core/dao/jpa/ConfigDao.java | 6 +-- .../docs/core/dao/jpa/DocumentDao.java | 18 +++----- .../sismics/docs/core/dao/jpa/FileDao.java | 11 +++-- .../sismics/docs/core/dao/jpa/LocaleDao.java | 7 ++-- .../core/dao/jpa/RoleBaseFunctionDao.java | 9 ++-- .../com/sismics/docs/core/dao/jpa/TagDao.java | 15 +++---- .../sismics/docs/core/dao/jpa/UserDao.java | 21 ++++------ .../core/dao/lucene/DocsStandardAnalyzer.java | 6 +-- .../core/listener/sync/DeadEventListener.java | 5 +-- .../docs/core/model/context/AppContext.java | 17 ++++---- .../core/model/jpa/AuthenticationToken.java | 5 +-- .../docs/core/model/jpa/BaseFunction.java | 4 +- .../sismics/docs/core/model/jpa/Config.java | 9 +--- .../sismics/docs/core/model/jpa/Document.java | 5 +-- .../docs/core/model/jpa/DocumentTag.java | 5 +-- .../com/sismics/docs/core/model/jpa/File.java | 5 +-- .../sismics/docs/core/model/jpa/Locale.java | 4 +- .../com/sismics/docs/core/model/jpa/Role.java | 5 +-- .../docs/core/model/jpa/RoleBaseFunction.java | 5 +-- .../com/sismics/docs/core/model/jpa/Tag.java | 5 +-- .../com/sismics/docs/core/model/jpa/User.java | 5 +-- .../docs/core/service/IndexingService.java | 17 ++++---- .../sismics/docs/core/util/ConfigUtil.java | 4 +- .../sismics/docs/core/util/DirectoryUtil.java | 5 +-- .../sismics/docs/core/util/LuceneUtil.java | 7 ++-- .../docs/core/util/TransactionUtil.java | 11 +++-- .../docs/core/util/jpa/PaginatedLists.java | 3 +- .../sismics/docs/core/util/jpa/QueryUtil.java | 5 +-- .../main/java/com/sismics/util/DateUtil.java | 4 +- .../main/java/com/sismics/util/FileUtil.java | 12 +++--- .../main/java/com/sismics/util/HttpUtil.java | 6 +-- .../main/java/com/sismics/util/ImageUtil.java | 11 +++-- .../com/sismics/util/JsonValidationUtil.java | 4 +- .../java/com/sismics/util/LocaleUtil.java | 7 ++-- .../java/com/sismics/util/ResourceUtil.java | 10 ++--- .../com/sismics/util/jpa/DbOpenHelper.java | 34 +++++++-------- .../main/java/com/sismics/util/jpa/EMF.java | 22 +++++----- .../jpa/ManagedProvidedConnectionHelper.java | 8 ++-- ...iedConnectionProviderConnectionHelper.java | 6 +-- .../sismics/util/log4j/MemoryAppender.java | 13 +++--- .../sismics/docs/BaseTransactionalTest.java | 11 +++-- .../sismics/docs/core/dao/jpa/TestJpa.java | 7 +--- .../java/com/sismics/util/TestDateUtil.java | 1 - .../com/sismics/util/TestResourceUtil.java | 5 +-- .../rest/exception/ClientException.java | 8 ++-- .../exception/ForbiddenClientException.java | 6 +-- .../rest/exception/ServerException.java | 10 ++--- .../rest/resource/GenericExceptionMapper.java | 10 ++--- .../com/sismics/rest/util/ValidationUtil.java | 17 ++++---- .../sismics/security/AnonymousPrincipal.java | 4 +- .../java/com/sismics/security/IPrincipal.java | 4 +- .../com/sismics/security/UserPrincipal.java | 4 +- .../util/filter/RequestContextFilter.java | 35 +++++++--------- .../util/filter/TokenBasedSecurityFilter.java | 31 ++++++-------- .../com/sismics/docs/rest/BaseJerseyTest.java | 26 ++++++------ .../JerseyTestWebAppDescriptorFactory.java | 4 +- .../filter/CookieAuthenticationFilter.java | 9 ++-- .../sismics/docs/rest/util/ClientUtil.java | 9 ++-- .../docs/rest/util/TestValidationUtil.java | 6 +-- .../docs/rest/constant/BaseFunction.java | 2 +- .../docs/rest/resource/AppResource.java | 32 +++++++-------- .../docs/rest/resource/BaseResource.java | 16 ++++---- .../docs/rest/resource/DocumentResource.java | 34 +++++---------- .../docs/rest/resource/FileResource.java | 41 +++++++------------ .../docs/rest/resource/LocaleResource.java | 14 +++---- .../docs/rest/resource/TagResource.java | 29 +++++-------- .../resource/TextPlainMessageBodyWriter.java | 18 ++++---- .../docs/rest/resource/ThemeResource.java | 12 +++--- .../docs/rest/resource/UserResource.java | 38 +++++++---------- .../sismics/docs/rest/TestAppResource.java | 13 +++--- .../docs/rest/TestDocumentResource.java | 16 ++++---- .../sismics/docs/rest/TestFileResource.java | 19 ++++----- .../sismics/docs/rest/TestLocaleResource.java | 9 ++-- .../com/sismics/docs/rest/TestSecurity.java | 13 +++--- .../sismics/docs/rest/TestTagResource.java | 12 +++--- .../sismics/docs/rest/TestThemeResource.java | 9 ++-- .../sismics/docs/rest/TestUserResource.java | 20 ++++----- 81 files changed, 409 insertions(+), 552 deletions(-) diff --git a/.idea/codeStyleSettings.xml b/.idea/codeStyleSettings.xml index 1129f001..9178b389 100644 --- a/.idea/codeStyleSettings.xml +++ b/.idea/codeStyleSettings.xml @@ -2,7 +2,11 @@ diff --git a/.idea/misc.xml b/.idea/misc.xml index acdd00f4..816abb33 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -10,6 +10,24 @@ + +