ENCAPSULATION FAIL
Nope, can't do this:
Now I have to go put it somewhere and document it in more detail instead of just keeping it by its only point of use.
import java.util.regex.Pattern;
class foo
{
public static void main(String[] args)
{
static final Pattern regex = Pattern.compile("abc");
}
}
Now I have to go put it somewhere and document it in more detail instead of just keeping it by its only point of use.
<< Home