From 22a53f4335d12340753f494ffe7a01dad54b6eb8 Mon Sep 17 00:00:00 2001
From: pompert <sdos@astron.nl>
Date: Thu, 18 May 2006 14:02:02 +0000
Subject: [PATCH] 701 Additions: - None Mods: - Made the getOTDBrmi method pass
 on the static connection to OTDB, instead of a potentially dangerous
 non-static version of it. Removals: -getStaticOTDBrmi no longer necessary

---
 .../OTB/src/nl/astron/lofar/sas/otb/SharedVars.java   | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/SharedVars.java b/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/SharedVars.java
index 034f377206c..9a93deabfbb 100644
--- a/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/SharedVars.java
+++ b/SAS/OTB/OTB/src/nl/astron/lofar/sas/otb/SharedVars.java
@@ -78,23 +78,14 @@ public class SharedVars {
      *
      * @return the OtdbRmi object
      */
-    public OtdbRmi getOTDBrmi() {
+    public static OtdbRmi getOTDBrmi() {
         return itsOtdbRmi;
     }
-    
     /** gets OTDBrmi
      * OTBrmi holds all JNI/RMI connections
      *
      * @return the OtdbRmi object
      */
-    public static OtdbRmi getStaticOTDBrmi() {
-        return itsOtdbRmi;
-    }
-     /** gets OTDBrmi
-     * OTBrmi holds all JNI/RMI connections
-     *
-     * @return the OtdbRmi object
-     */
     public static jParmFacade getJParmFacade() {
         if(itsjParmFacade == null){
             System.loadLibrary("jparmfacade");
-- 
GitLab