You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ga...@apache.org on 2005/01/21 07:32:36 UTC

cvs commit: ws-axis/java/src/org/apache/axis AxisProperties.java

gawor       2005/01/20 22:32:36

  Modified:    java/src/org/apache/axis AxisProperties.java
  Log:
  synchronization fixes
  
  Revision  Changes    Path
  1.26      +3 -3      ws-axis/java/src/org/apache/axis/AxisProperties.java
  
  Index: AxisProperties.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/AxisProperties.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- AxisProperties.java	25 Feb 2004 14:02:28 -0000	1.25
  +++ AxisProperties.java	21 Jan 2005 06:32:36 -0000	1.26
  @@ -113,21 +113,21 @@
           return new DiscoverClasses(loaders).findResourceClasses(it);
       }
   
  -    private static ClassLoaders getClassLoaders() {
  +    private static synchronized ClassLoaders getClassLoaders() {
           if (loaders == null) {
               loaders = ClassLoaders.getAppLoaders(AxisProperties.class, null, true);
           }
           return loaders;
       }
   
  -    private static DiscoverMappedNames getMappedNames() {
  +    private static synchronized DiscoverMappedNames getMappedNames() {
           if (mappedNames == null) {
               mappedNames = new DiscoverMappedNames();
           }
           return mappedNames;
       }
   
  -    private static DiscoverNamesInAlternateManagedProperties getAlternatePropertyNameDiscoverer() {
  +    private static synchronized DiscoverNamesInAlternateManagedProperties getAlternatePropertyNameDiscoverer() {
           if (altNameDiscoverer == null) {
               altNameDiscoverer = new DiscoverNamesInAlternateManagedProperties();
           }