struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rlel...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/logic ForwardTag.java
Date Thu, 01 May 2003 17:13:47 GMT
rleland     2003/05/01 10:13:47

  Modified:    src/share/org/apache/struts/taglib/logic ForwardTag.java
  Log:
  Remove unnecessary test for null,
  if config was null an exception would have been thrown
  because forward would have been null the code
  above it.
  
  Revision  Changes    Path
  1.14      +5 -8      jakarta-struts/src/share/org/apache/struts/taglib/logic/ForwardTag.java
  
  Index: ForwardTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/logic/ForwardTag.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ForwardTag.java	23 Nov 2002 06:31:23 -0000	1.13
  +++ ForwardTag.java	1 May 2003 17:13:47 -0000	1.14
  @@ -147,10 +147,7 @@
   
   	// Forward or redirect to the corresponding actual path
   	String path = forward.getPath();
  -    // support modules
  -    if (config != null) {
  -        path = config.getPrefix() + path;
  -    }
  +    path = config.getPrefix() + path;
   
   
   	if (forward.getRedirect()) {
  
  
  

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


Mime
View raw message