gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.java


From: Matti Katila
Subject: [Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.java
Date: Sun, 09 Mar 2003 06:30:07 -0500

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Changes by:     Matti Katila <address@hidden>   03/03/09 06:30:05

Modified files:
        org/fenfire/modules/pp: PPActionsImpl.java 

Log message:
        hups..

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/modules/pp/PPActionsImpl.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/modules/pp/PPActionsImpl.java
diff -u fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.9 
fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.10
--- fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.9       Sat Mar  8 
20:46:25 2003
+++ fenfire/org/fenfire/modules/pp/PPActionsImpl.java   Sun Mar  9 06:30:05 2003
@@ -12,7 +12,7 @@
 /** The implementation of PPActions.
  */
 public class PPActionsImpl extends UnicastRemoteObject implements PPActions {
-public static final String rcsid = "$Id: PPActionsImpl.java,v 1.9 2003/03/09 
01:46:25 mudyc Exp $";
+public static final String rcsid = "$Id: PPActionsImpl.java,v 1.10 2003/03/09 
11:30:05 mudyc Exp $";
     public static final boolean dbg = true;
     protected static void p(String s) { if(dbg) pa(s); }
     protected static void pa(String s) { System.out.println(s); }
@@ -81,7 +81,7 @@
        // note doesn't exist so we need to make one
        String note_uri = URN5Namespace.instance.generateId();
        Resource note = model.createResource(note_uri);
-       note.addProperty(RDF.type, PP.Note);
+       note.addProperty(RDF.type, PP.NoteType);
        
        // set note to paper
        paper.addProperty(PP.Contains, note);
@@ -106,8 +106,9 @@
 
            note.addProperty(PP.LinkToContentRef, data);
            data.addProperty(PP.Data, text);
+           data.addProperty(RDF.type, PP.DataType);
 
-           } else {
+       } else {
            // check if uri really exists?
            // XXX maybe RDFException ?
            Resource clone = model.getResource(noteURI);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]