Loránd
08/28/2017, 11:03 AMprivate void foo(Object obj){
obj.doSomething();
}
vs
private void foo(){
mObj.doSomething();
}
I am just looking for some thoughts.karelpeeters
08/28/2017, 11:08 AMobj
belong to the state of MyClass
? If so it should be a member variable, otherwise pass it as an argument to the method.