tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler SmapStratum.java
Date Wed, 16 Apr 2003 22:05:32 GMT
kinman      2003/04/16 15:05:32

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        SmapStratum.java
  Log:
  - Remove synchronization from the methods, since they are not needed.
  
  Revision  Changes    Path
  1.4       +3 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/SmapStratum.java
  
  Index: SmapStratum.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/SmapStratum.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SmapStratum.java	16 Apr 2003 21:50:48 -0000	1.3
  +++ SmapStratum.java	16 Apr 2003 22:05:31 -0000	1.4
  @@ -196,7 +196,7 @@
        * @param filePath the path for the filename, potentially relative
        *                 to a source compilation path
        */
  -    public synchronized void addFile(String filename, String filePath) {
  +    public void addFile(String filename, String filePath) {
         int pathIndex = filePathList.indexOf(filePath);
         if (pathIndex == -1) {
           fileNameList.add(filename);
  @@ -227,7 +227,7 @@
        *        the subconscious urge to call this field
        *        <tt>OutputLineExcrement</tt>.</i>
        */
  -    public synchronized void addLineData(int inputStartLine,
  +    public void addLineData(int inputStartLine,
   				    String inputFileName,
   				    int inputLineCount,
   				    int outputStartLine,
  @@ -266,7 +266,7 @@
        * Returns the given stratum as a String:  a StratumSection,
        * followed by at least one FileSection and at least one LineSection.
        */
  -    public synchronized String getString() {
  +    public String getString() {
   	// check state and initialize buffer
   	if (fileNameList.size() == 0 || lineData.size() == 0)
   	    return null;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message