You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by se...@apache.org on 2003/08/10 15:42:45 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/pull/util UIManager.java

seade       2003/08/10 06:42:45

  Modified:    src/java/org/apache/turbine/services/pull/util Tag:
                        TURBINE_2_2_BRANCH UIManager.java
  Log:
  Backport of revision 1.10 changes into 2.2 branch:
  
  Remove the static attribute to some variables which are accessed from
  non-static context and should not be shared between instances of the
  Tool.
  
  Found by Peter Courcoux <pe...@courcoux.biz>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +4 -4      jakarta-turbine-2/src/java/org/apache/turbine/services/pull/util/UIManager.java
  
  Index: UIManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/pull/util/UIManager.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- UIManager.java	11 Jul 2002 16:53:25 -0000	1.3
  +++ UIManager.java	10 Aug 2003 13:42:44 -0000	1.3.2.1
  @@ -147,7 +147,7 @@
       /**
        * The skins directory.
        */
  -    private static String skinsDirectory;
  +    private String skinsDirectory;
   
       /**
        * The file within the skin directory that actually
  @@ -165,13 +165,13 @@
        * webapp context. Used for constructing correct
        * URIs for retrieving images in image().
        */
  -    private static String resourcesDirectory;
  +    private String resourcesDirectory;
   
       /**
        * Properties to hold the name/value pairs
        * for the skin.
        */
  -    private static Properties skinProperties;
  +    private Properties skinProperties;
   
       /**
        * Initialize the UIManager object.