Yes, you should not have them as static as it breaks Object-Oriented principles, and will prevent you from subclassing or creating multiple instances of a class.
Type: Posts; User: curmudgeon
Yes, you should not have them as static as it breaks Object-Oriented principles, and will prevent you from subclassing or creating multiple instances of a class.
You're fixing the wrong thing. The solution is not to make everything static, but rather to call methods on object instances. So for instance if you have:
public class Foo {
public void...
When I run into problems like this, I try to pare my code down, to simplify it as much as possible so that it is as small as can be, yet still show the problem. This way I can isolate the error and...