You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by mb...@apache.org on 2021/10/23 18:16:19 UTC
[roller] branch master updated (4b8d5cc -> 80e12ae)
This is an automated email from the ASF dual-hosted git repository.
mbien pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/roller.git.
from 4b8d5cc semicolons for consistency.
new e23b32f Use getDeviceType() of the already parsed request instead of parsing it again.
new eec6c79 Use StandardCharsets.UTF_8 constant instead of "UTF-8" String lookup.
new 2e31b23 Use Colleciton.toArray(T::new) instead of Colleciton.toArray(new T[size]).
new 86eabea Small optimizations like better buffer sizing and switch instead of long else if chain.
new 0832526 Use collection.sort() instead of Collections.sort(col).
new fc8cdba Use copy collection copy constructors instead of addAll().
new 4de79d5 Use ByteArrayOutputStream::toString.
new cb3090f Use String::equalsIgnoreCase where applicable.
new 92b9932 Use set/getProperty methods instead of Hashtable put/get.
new d6ed11c Use try-with-resource and input.transferTo(output) where applicable.
new bf4f750 maven dependency updates.
new 1a6f44f skip derby startup if tests are skipped.
new 80e12ae Merge pull request #105 from mbien/optimizations
The 4682 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
app/pom.xml | 60 ++++---
.../planet/business/MultiPlanetURLStrategy.java | 28 +--
.../roller/planet/config/PlanetRuntimeConfig.java | 17 +-
.../java/org/apache/roller/util/RegexUtil.java | 18 +-
.../weblogger/business/DatabaseProvider.java | 6 +-
.../roller/weblogger/business/MailProvider.java | 6 +-
.../business/jpa/JPAMediaFileManagerImpl.java | 6 +-
.../business/jpa/JPAWeblogEntryManagerImpl.java | 8 +-
.../business/jpa/JPAWeblogManagerImpl.java | 2 +-
.../business/startup/SQLScriptRunner.java | 52 +++---
.../business/themes/SharedThemeFromDir.java | 3 +-
.../roller/weblogger/config/WebloggerConfig.java | 4 +-
.../weblogger/config/WebloggerRuntimeConfig.java | 12 +-
.../org/apache/roller/weblogger/pojos/Weblog.java | 2 +-
.../apache/roller/weblogger/pojos/WeblogEntry.java | 9 +-
.../ui/rendering/WeblogRequestMapper.java | 187 +++++++++++----------
.../ui/rendering/servlets/PreviewServlet.java | 2 +-
.../ui/rendering/servlets/SearchServlet.java | 13 +-
.../ui/rendering/util/WeblogCommentRequest.java | 11 +-
.../ui/rendering/util/WeblogTrackbackRequest.java | 11 +-
.../ui/rendering/util/cache/SiteWideCache.java | 32 +---
.../ui/rendering/util/cache/WeblogFeedCache.java | 10 +-
.../ui/rendering/util/cache/WeblogPageCache.java | 23 +--
.../struts2/admin/GlobalCommentManagementBean.java | 5 +-
.../ui/struts2/editor/BookmarksImport.java | 2 +-
.../weblogger/ui/struts2/editor/CommentsBean.java | 7 +-
.../weblogger/ui/struts2/editor/MediaFileView.java | 13 +-
.../weblogger/ui/struts2/editor/Templates.java | 7 +-
.../roller/weblogger/ui/struts2/util/UIUtils.java | 2 +-
.../roller/weblogger/util/Bannedwordslist.java | 30 ++--
.../apache/roller/weblogger/util/IPBanList.java | 6 +-
.../org/apache/roller/weblogger/util/MailUtil.java | 4 +-
.../roller/weblogger/util/PasswordUtility.java | 14 +-
.../util/StandaloneWebappClassLoader.java | 2 +-
.../apache/roller/weblogger/util/Trackback.java | 5 +-
.../apache/roller/weblogger/util/URLUtilities.java | 18 +-
.../apache/roller/weblogger/util/Utilities.java | 53 +-----
.../roller/weblogger/util/WSSEUtilities.java | 6 +-
.../roller/weblogger/util/cache/CachedContent.java | 18 +-
.../webservices/atomprotocol/MediaCollection.java | 2 +-
.../atomprotocol/RollerAtomHandler.java | 8 +-
.../webservices/oauth/AccessTokenServlet.java | 13 +-
.../webservices/oauth/AuthorizationServlet.java | 17 +-
.../webservices/oauth/RequestTokenServlet.java | 16 +-
app/src/main/webapp/WEB-INF/security.xml | 6 +-
.../weblogger/business/SQLScriptRunnerTest.java | 4 +-
pom.xml | 2 +-
47 files changed, 303 insertions(+), 479 deletions(-)