GC.DUD
Do not use `Date[]'; use `long[]' instead
Description
This rule flag any occurrence of `Date[]'.
Do not use arrays of `Date' objects. Using an array of "long" is more efficient than using an array of `Date's .
Example
package GC;
import java.util.*;
public class DUD {
Date d[]; // Violation
}
Repair
Use an array of "long" objects instead.
|