summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/jdbc/Exception.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/jdbc/Exception.cxx')
-rw-r--r--connectivity/source/drivers/jdbc/Exception.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/connectivity/source/drivers/jdbc/Exception.cxx b/connectivity/source/drivers/jdbc/Exception.cxx
index 2fdef4ee8028..9fa2d5c18c47 100644
--- a/connectivity/source/drivers/jdbc/Exception.cxx
+++ b/connectivity/source/drivers/jdbc/Exception.cxx
@@ -22,16 +22,14 @@ using namespace connectivity;
//************ Class: java.lang.Exception
-
jclass java_lang_Exception::theClass = nullptr;
-java_lang_Exception::~java_lang_Exception()
-{}
+java_lang_Exception::~java_lang_Exception() {}
jclass java_lang_Exception::getMyClass() const
{
// the class must be fetched only once, therefore static
- if( !theClass )
+ if (!theClass)
theClass = findMyClass("java/lang/Exception");
return theClass;
}