P
ptg_abhishek
I just ran findbugs and it came up with this warning - "This class
contains an instance final field that is initialized to a compile-time
static value. Consider making the field static".
What is the difference whether a set of classes use variables
initialized to a compile-time constant [string literals], or whether a
set of static variables is used [apart from the knowledge that the
static variables persist as long as the application is alive]? Could
the use of static variables in a web-application pose any problems when
handling concurrent requests [threading handled by the Server]?
regards.
-abhishek.
contains an instance final field that is initialized to a compile-time
static value. Consider making the field static".
What is the difference whether a set of classes use variables
initialized to a compile-time constant [string literals], or whether a
set of static variables is used [apart from the knowledge that the
static variables persist as long as the application is alive]? Could
the use of static variables in a web-application pose any problems when
handling concurrent requests [threading handled by the Server]?
regards.
-abhishek.