geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol ProtocolStack.java
Date Thu, 22 Jul 2004 03:25:30 GMT
gdamour     2004/07/21 20:25:30

  Modified:    modules/network/src/java/org/apache/geronimo/network/protocol
                        ProtocolStack.java
  Log:
  Gets rid of a non required cast.
  
  Revision  Changes    Path
  1.4       +2 -2      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/ProtocolStack.java
  
  Index: ProtocolStack.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/ProtocolStack.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ProtocolStack.java	17 Mar 2004 03:11:59 -0000	1.3
  +++ ProtocolStack.java	22 Jul 2004 03:25:30 -0000	1.4
  @@ -90,7 +90,7 @@
           ProtocolStack stack = new ProtocolStack();
   
           for (int i = 0; i < size(); i++) {
  -            Protocol protocol = (Protocol) ((Protocol) get(i)).cloneProtocol();
  +            Protocol protocol = ((Protocol) get(i)).cloneProtocol();
               protocol.clearLinks();
               stack.push(protocol);
           }
  
  
  

Mime
View raw message