JAVA FAIL

Tuesday, November 4, 2008

ENCAPSULATION FAIL

Nope, can't do this:

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.