1
0
Commit Graph

163 Commits

Author SHA1 Message Date
Gary Gregory
260d5e2177 Update call deprecated in Java 9 2023-10-02 12:05:29 -04:00
singingbush
01144cc86f mark loggers for Avalon and Lumberjack as deprecated 2023-09-02 20:47:17 +01:00
Alex Herbert
acd4893d89 Introduce end-of-line normalization 2023-09-02 13:37:42 +01:00
Gary Gregory
58b1369ac1 Normalize array type declarations 2023-08-23 08:48:30 -04:00
Gary Gregory
eee5bef7f0 Fix formatting 2023-08-22 11:00:58 -04:00
Gary Gregory
f674d8229e Fix formatting 2023-08-22 10:14:54 -04:00
Gary Gregory
ecce923148 Use modern Map API 2023-07-07 00:20:09 -04:00
Gary Gregory
5995c6c6e7 Javadoc typos 2023-05-19 08:52:13 -04:00
Gary Gregory
869eaa18df Format: "catch(" -> "catch (" 2023-04-18 10:56:16 -04:00
Gary Gregory
19ced996a0 Javadoc/Comments: Remove extra "whitespace" 2023-03-25 09:36:35 -04:00
Gary Gregory
d376d31286 Javadoc: Convert package.html to package-info.java 2023-03-19 15:52:49 -04:00
Gary Gregory
8018905e7e Javadoc: Convert package.html to package-info.java 2023-03-19 15:52:42 -04:00
Gary Gregory
6888105f9e Use StringBuilder instead of StringBuffer for internal processing 2023-03-04 09:18:20 -05:00
Gary Gregory
32891becf5 Use String.isEmpty() 2022-10-02 13:39:32 -04:00
Gary Gregory
e7bac9a257 Normalize Javadoc spelling 2022-06-15 08:20:20 -04:00
Gary Gregory
59bbadfc5a Remove noisy inline comments. 2022-05-31 11:29:02 -04:00
Gary Gregory
0dc8dfac82 Bump Java from 6 to 8. 2022-05-24 17:02:14 -04:00
Arturo Bernal
475b8323e5 Replace comparisons String.indexOf() with String.contains() method. (#85) 2022-04-23 10:10:22 -04:00
Gary Gregory
bc4af18850 Delete "@version $Id$" from Subversion days. 2022-03-10 13:39:31 -05:00
Jakob van Kruijssen
e7b328d7e0 Use a weak reference for the cached class loader (#71)
This replaces the strong reference to the class loader, `thisClassLoader`,
with a weak one.

The strong ref shows up as causing a GC root after unloading a web app in Tomcat that uses this library.
With these modifications, the GC root is gone...
2022-01-05 09:35:08 -05:00
Gary Gregory
5660a6f6ec Use Javadoc code tags instead of HTML (except when code blocks use tag
delimiters).
2021-10-17 11:19:18 -04:00
Gary Gregory
d2a0dc8d31 Simplify expressions. 2021-07-10 09:53:06 -04:00
Sebb
1ae5c5038c license-* files confuse GH license detection 2021-03-09 22:51:13 +00:00
Gary Gregory
1642a1bd98 No need to nest in else. 2021-03-05 14:43:24 -05:00
Gary Gregory
34ea3d6a0d Use primitive parsing. 2021-02-28 18:48:12 -05:00
Gary Gregory
c2afed56ab Raise embedded if into parent if. 2021-02-28 12:43:57 -05:00
Gary Gregory
a3661dd192 Normalize to US English spelling. 2021-02-08 14:14:24 -05:00
Gary Gregory
610117ab32 Normalize to US English spelling. 2021-02-08 14:06:20 -05:00
Arturo Bernal
c9818fa7b2 Minor Improvement: (#34)
* Change 'StringBuffer' by 'StringBuilder'
* Fix javadoc
* Remove redundant initializer
* Use Empty array
2021-01-17 16:47:03 -05:00
Gary Gregory
fdc41b1436 Fix Javadoc for Java 15 and up.
Disable Javadoc doclint for now.
2020-12-14 14:38:35 -05:00
Gary Gregory
a398111af3 Fix Javadoc for Java 15 and up. 2020-12-14 14:29:05 -05:00
Gary Gregory
02ac584cd9 Add missing '@Override' annotations. 2020-11-21 13:56:50 -05:00
Gary Gregory
cd99c4164f Use for-each. Use final. Remove redundant modifiers. 2020-11-21 13:39:02 -05:00
Gary Gregory
66aa7aacbe Use final. 2020-11-20 22:12:48 -05:00
Gary Gregory
896fbd2f56 Remove redundant calls to super(). 2020-11-20 18:00:39 -05:00
Gary Gregory
8b539bdf23 Remove useless null-check. 2020-11-20 17:26:01 -05:00
Gary Gregory
9444f0730b No need to initialize instance variables to their default values. 2020-05-25 12:08:30 -04:00
Gary Gregory
7c70d1a180 Standardize on American English spelling of 'behavior'. 2020-03-30 15:07:28 -04:00
Gary D. Gregory
0548efba5b Typo: 'JavaDoc' -> 'Javadoc'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1831658 13f79535-47bb-0310-9956-ffa450edef68
2018-05-15 18:58:35 +00:00
Gary D. Gregory
ace04921a5 [LOGGING-163] BufferedReader is not closed properly. Oops, clean up suggested by Sebb.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1765376 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 21:52:30 +00:00
Gary D. Gregory
47ae3e15c3 [LOGGING-163] BufferedReader is not closed properly.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1765341 13f79535-47bb-0310-9956-ffa450edef68
2016-10-17 16:56:41 +00:00
Gary D. Gregory
539d0518d9 Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1747117 13f79535-47bb-0310-9956-ffa450edef68
2016-06-07 02:19:52 +00:00
Gary D. Gregory
d51ef65456 Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1612041 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 06:54:48 +00:00
Thomas Neidhart
6a6b869f1a Add readme to source distribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1607021 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 08:41:47 +00:00
Gary D. Gregory
f5c9e7c2dd Add PMD.xml to src distro.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606349 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 13:25:04 +00:00
Thomas Neidhart
540a8a5138 Remove implicit public modifier from interface, fixes PMD warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606045 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 12:11:56 +00:00
Thomas Neidhart
71097fbd86 [LOGGING-37] Improve performance of LogFactory#getFactory() by calling getContextClassLoader() directly instead of using reflection. Drop support for JDK1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606041 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:56:59 +00:00
Thomas Neidhart
50e985a9ab Fix checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1606039 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 11:53:55 +00:00
Thomas Neidhart
6257078add [LOGGING-157] Fix javadoc. Thanks to Ville Skyttä
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1605899 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 20:11:57 +00:00
Gary D. Gregory
83ff55caf4 Sort methods in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1493214 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 19:11:09 +00:00