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
Needs Work 41 TODO, FIXME, XXX
Noteable Markers 77 NOTE, NOPMD, NOSONAR

Each tag is detailed below:

Needs Work

Number of occurrences found in the code: 41

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 { 98
Implement rather than convert to String return cs.toString().indexOf(searchChar.toString(), start); } 103
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 891
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 291
I think this should hold, needs further investigation String unescapedFromEntity = StringEscapeUtils.unescapeHtml4( "𝍢" ); assertEquals( "High Unicode should have been unescaped", original, unescapedFromEntity); 531
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.FieldUtils Line
is this workaround still needed? lang requires Java 6 Sun Java 1.3 has a bugged implementation of getField hence we write the code ourselves 88
org.apache.commons.lang3.reflect.MemberUtils Line
extract an interface to implement compareParameterSets(...)? 33
Default access superclass workaround. 42
org.apache.commons.lang3.text.StrBuilder Line
make private? 92
make private? 94
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. 287
Need to handle escaping of ' 513
org.apache.commons.lang3.time.FormatCache Line
Before making public move from getDateTimeInstance(Integer,...) to int; or some other approach. 34

Noteable Markers

Number of occurrences found in the code: 77

org.apache.commons.lang3.ArrayUtils Line
Cannot use {@code} to enclose text which includes {}, but <code></code> is OK 144
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.ClassUtils Line
--No comment-- 921
org.apache.commons.lang3.SerializationUtils Line
--No comment-- 162
--No comment-- 237
org.apache.commons.lang3.StringUtils Line
logic duplicated below START 4747
logic mostly below END 4765
logic mostly duplicated above START 4805
logic duplicated above END 4823
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. 96
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. 122
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. 792
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-- 536
--No comment-- 553
--No comment-- 564
--No comment-- 569
--No comment-- 589
--No comment-- 594
--No comment-- 609
--No comment-- 619
org.apache.commons.lang3.reflect.ConstructorUtils Line
- Swallow 250
org.apache.commons.lang3.reflect.FieldUtils Line
--No comment-- 116
--No comment-- 130
--No comment-- 182
org.apache.commons.lang3.reflect.MemberUtils Line
--No comment-- 63
org.apache.commons.lang3.reflect.MethodUtils Line
--No comment-- 485
- Swallow the exception 530
org.apache.commons.lang3.reflect.TypeUtilsTest Line
cast is required by Sun Java, but not by Eclipse 265
org.apache.commons.lang3.text.ExtendedMessageFormat Line
--No comment-- 345
org.apache.commons.lang3.text.ExtendedMessageFormatTest Line
FAILING - currently sub-formats not supported 155
FAILING - currently sub-formats not supported 172
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