/[cashew-s-editor]/cashews/src/nongnu/cashews/rdf/Blank.java
ViewVC logotype

Diff of /cashews/src/nongnu/cashews/rdf/Blank.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gnu_andrew, Mon Apr 4 16:00:19 2005 UTC revision 1.2 by gnu_andrew, Sun Apr 17 18:35:32 2005 UTC
# Line 32  package nongnu.cashews.rdf; Line 32  package nongnu.cashews.rdf;
32   * @author Andrew John Hughes (gnu_andrew@member.fsf.org)   * @author Andrew John Hughes (gnu_andrew@member.fsf.org)
33   */   */
34  public class Blank  public class Blank
35    implements Subject, RDFObject    extends Node
36  {  {
37    
38    /**    /**
# Line 59  public class Blank Line 59  public class Blank
59     */     */
60    public String toString()    public String toString()
61    {    {
62      return getClass().getName() +      String superToString = super.toString();
63        "[id = " +      return superToString.substring(0, superToString.length() - 1) +
64          ", id = " +
65        id +        id +
66        "]";        "]";
67    }    }
# Line 72  public class Blank Line 73  public class Blank
73     */     */
74    public Blank clone()    public Blank clone()
75    {    {
76      try      return (Blank) super.clone();
       {  
         return (Blank) super.clone();  
       }  
     catch (CloneNotSupportedException e)  
       {  
         throw new IllegalStateException("Unexpected exception: " + e, e);  
       }  
77    }    }
78    
79    /**    /**

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26