CVS Update: xmlpull-api-v1/src/java/samples

Aleksander Andrzej Slominski <[email protected]> Fri, 13 Feb 2004 16:26:25 -0500 (EST)
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
aslom       04/02/13 16:26:25

  Modified:    src/java/samples CloneParser.java
  Log:
  fixed: this would compile only with JDK 1.5 ...
  
  Revision  Changes    Path
  1.2       +1 -1      xmlpull-api-v1/src/java/samples/CloneParser.java
  
  Index: CloneParser.java
  ===================================================================
  RCS file: /l/extreme/cvspub/xmlpull-api-v1/src/java/samples/CloneParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -t -w -r1.1 -r1.2
  --- CloneParser.java	13 Feb 2004 21:06:02 -0000	1.1
  +++ CloneParser.java	13 Feb 2004 21:26:25 -0000	1.2
  @@ -23,7 +23,7 @@
           public Object clone() throws CloneNotSupportedException
           {
               CloenableCharArrayReader cloned = (CloenableCharArrayReader) super.clone();
  -            cloned.buf = buf.clone();
  +            cloned.buf = (char[]) buf.clone();
               //UGLY UGLY UGLY ...
               cloned.lock = cloned;
               return cloned;
  
  
  



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/xmlpull-dev/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/