Apache Commons logo Commons Lang

Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
NOPMD 64 NOPMD
NOTE 13 NOTE
TODO 39 TODO

Each tag is detailed below:

NOPMD

Number of occurrences found in the code: 64

org.apache.commons.lang3.ClassUtils Line
--No comment-- 840
org.apache.commons.lang3.SerializationUtils Line
--No comment-- 163
--No comment-- 238
org.apache.commons.lang3.builder.StandardToStringStyle Line
as this is implementing the abstract class 55
as this is implementing the abstract class 65
as this is implementing the abstract class 78
as this is implementing the abstract class 89
as this is implementing the abstract class 100
as this is implementing the abstract class 110
as this is implementing the abstract class 122
as this is implementing the abstract class 132
as this is implementing the abstract class 145
as this is implementing the abstract class 156
as this is implementing the abstract class 168
as this is implementing the abstract class 178
as this is implementing the abstract class 190
as this is implementing the abstract class 203
as this is implementing the abstract class 215
as this is implementing the abstract class 228
as this is implementing the abstract class 240
as this is implementing the abstract class 253
as this is implementing the abstract class 265
as this is implementing the abstract class 278
as this is implementing the abstract class 290
as this is implementing the abstract class 303
as this is implementing the abstract class 315
as this is implementing the abstract class 328
as this is implementing the abstract class 340
as this is implementing the abstract class 353
as this is implementing the abstract class 367
as this is implementing the abstract class 379
as this is implementing the abstract class 393
as this is implementing the abstract class 405
as this is implementing the abstract class 417
as this is implementing the abstract class 430
as this is implementing the abstract class 445
as this is implementing the abstract class 461
as this is implementing the abstract class 476
as this is implementing the abstract class 492
as this is implementing the abstract class 507
as this is implementing the abstract class 523
as this is implementing the abstract class 538
as this is implementing the abstract class 554
org.apache.commons.lang3.exception.ExceptionUtils Line
--No comment-- 196
--No comment-- 198
--No comment-- 205
--No comment-- 207
--No comment-- 209
org.apache.commons.lang3.math.NumberUtils Line
--No comment-- 535
--No comment-- 552
--No comment-- 563
--No comment-- 568
--No comment-- 588
--No comment-- 593
--No comment-- 608
--No comment-- 618
org.apache.commons.lang3.reflect.ConstructorUtils Line
- Swallow 250
org.apache.commons.lang3.reflect.FieldUtils Line
--No comment-- 114
--No comment-- 128
--No comment-- 180
org.apache.commons.lang3.reflect.MemberUtils Line
--No comment-- 63
org.apache.commons.lang3.reflect.MethodUtils Line
--No comment-- 435
- Swallow the exception 480
org.apache.commons.lang3.text.ExtendedMessageFormat Line
--No comment-- 346

NOTE

Number of occurrences found in the code: 13

org.apache.commons.lang3.ArrayUtils Line
Cannot use {@code} to enclose text which includes {}, but <code></code> is OK 142
org.apache.commons.lang3.CharSet Line
This is no longer public as CharRange is no longer a public class. It may be replaced when CharSet moves to Range. 209
org.apache.commons.lang3.StringUtils Line
logic duplicated below START 4721
logic mostly below END 4739
logic mostly duplicated above START 4779
logic duplicated above END 4797
org.apache.commons.lang3.builder.EqualsBuilder Line
we cannot store the actual objects in a HashSet, as that would use the very hashCode() we are in the process of calculating. 95
org.apache.commons.lang3.builder.HashCodeBuilder Line
we cannot store the actual objects in a HashSet, as that would use the very hashCode() we are in the process of calculating. 111
This method uses >> and not >>> as Effective Java and Long.hashCode do. Ideally we should switch to >>> at some stage. There are backwards compat issues, so that will have to wait for the time being. cf LANG-342. 777
org.apache.commons.lang3.reflect.TypeUtilsTest Line
cast is required by Sun Java, but not by Eclipse 265
org.apache.commons.lang3.text.ExtendedMessageFormatTest Line
FAILING - currently sub-formats not supported 139
FAILING - currently sub-formats not supported 156
org.apache.commons.lang3.time.StopWatch Line
As from v2.1, the methods protect against inappropriate calls. Thus you cannot now call stop before start, resume before suspend or unsplit before split. </p> 42

TODO

Number of occurrences found in the code: 39

org.apache.commons.lang3.CharRange Line
This is no longer public and will be removed later as CharSet is moved to depend on Range. 32
org.apache.commons.lang3.CharSequenceUtils Line
Do we assume searchChar is usually relatively small; // If so then calling toString() on it is better than reverting to // the green implementation in the else block return ((String) cs).indexOf((String) searchChar, start); } else { 97
Implement rather than convert to String return cs.toString().indexOf(searchChar.toString(), start); } 102
Do we assume searchChar is usually relatively small; // If so then calling toString() on it is better than reverting to // the green implementation in the else block return ((String) cs).lastIndexOf((String) searchChar, start); } else { 147
Implement rather than convert to String return cs.toString().lastIndexOf(searchChar.toString(), start); } 152
org.apache.commons.lang3.ClassUtilsTest Line
this is not documented 862
org.apache.commons.lang3.RangeTest Line
add tests with a better comparator 101
org.apache.commons.lang3.StringEscapeUtils Line
Create a parent class - 'SinglePassTranslator' ? It would handle the index checking + length returning, and could also have an optimization check method. 247
throw "illegal character: \92" as an Exception if a \ on the end of the Java (as per the compiler)? 287
org.apache.commons.lang3.StringEscapeUtilsTest Line
refine API for escaping/unescaping specific HTML versions 290
I think this should hold, needs further investigation String unescapedFromEntity = StringEscapeUtils.unescapeHtml4( "𝍢" ); assertEquals( "High Unicode should have been unescaped", original, unescapedFromEntity); 532
org.apache.commons.lang3.Validate Line
when breaking BC, consider returning input 849
when breaking BC, consider returning input 873
when breaking BC, consider returning value 898
when breaking BC, consider returning value 923
when breaking BC, consider returning value 944
when breaking BC, consider returning value 967
when breaking BC, consider returning value 988
when breaking BC, consider returning value 1011
when breaking BC, consider returning value 1036
when breaking BC, consider returning value 1061
when breaking BC, consider returning value 1082
when breaking BC, consider returning value 1105
when breaking BC, consider returning value 1126
when breaking BC, consider returning value 1149
when breaking BC, consider returning obj 1175
when breaking BC, consider returning obj 1200
when breaking BC, consider returning type 1226
when breaking BC, consider returning type 1251
org.apache.commons.lang3.exception.ExceptionUtils Line
Remove in Lang 4.0 53
Remove in Lang 4.0 191
org.apache.commons.lang3.reflect.MemberUtils Line
extract an interface to implement compareParameterSets(...)? 33
org.apache.commons.lang3.text.StrBuilder Line
make private? 90
make private? 92
org.apache.commons.lang3.text.translate.NumericEntityUnescaper Line
?: Create an OptionsSet class to hide some of the conditional logic below 37
org.apache.commons.lang3.text.translate.UnicodeEscaper Line
Handle potential + sign per various Unicode escape implementations 114
org.apache.commons.lang3.time.DurationFormatUtils Line
Compare performance to see if anything was lost by losing this optimisation. 276
Need to handle escaping of ' 496
org.apache.commons.lang3.time.FormatCache Line
Before making public move from getDateTimeInstance(Integer,...) to int; or some other approach. 34