Kaydet (Commit) 79017a02 authored tarafından Steffen Grund's avatar Steffen Grund

CHG: removed usage of xMSF as key for Hashtable

üst 45037dc6
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: SOfficeFactory.java,v $ * $RCSfile: SOfficeFactory.java,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change:$Date: 2003-02-13 12:46:42 $ * last change:$Date: 2003-03-25 15:31:45 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -112,11 +112,11 @@ public class SOfficeFactory { ...@@ -112,11 +112,11 @@ public class SOfficeFactory {
public static SOfficeFactory getFactory( XMultiServiceFactory xMSF ) { public static SOfficeFactory getFactory( XMultiServiceFactory xMSF ) {
SOfficeFactory soFactory = (SOfficeFactory)lookup.get( xMSF ); SOfficeFactory soFactory = (SOfficeFactory)lookup.get( "xMSF" );
if ( soFactory == null ) { if ( soFactory == null ) {
soFactory = new SOfficeFactory( xMSF ); soFactory = new SOfficeFactory( xMSF );
lookup.put( xMSF, soFactory ); lookup.put( "xMSF", soFactory );
} }
return soFactory; return soFactory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment