|
From: Elmer G. <ega...@us...> - 2004-08-17 21:35:37
|
Update of /cvsroot/javaowl/JavaOWL/src/org/javaowl/models/prevalence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1692/src/org/javaowl/models/prevalence Modified Files: TripleUtil.java Log Message: More changes in remote graph. Index: TripleUtil.java =================================================================== RCS file: /cvsroot/javaowl/JavaOWL/src/org/javaowl/models/prevalence/TripleUtil.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TripleUtil.java 11 Aug 2004 02:06:04 -0000 1.2 --- TripleUtil.java 17 Aug 2004 20:18:12 -0000 1.3 *************** *** 100,103 **** --- 100,105 ---- public static String nodeToString(Node node) throws RDFRDBException { + if (node == null) + return null; String res; if (node.isURI()) { *************** *** 134,138 **** } ! public static Node stringToNode(String rdbString) throws RDFRDBException { Node res = null; int len = rdbString.length(); --- 136,142 ---- } ! public static Node stringToNode(String rdbString) throws RDFRDBException { ! if (rdbString == null) ! return null; Node res = null; int len = rdbString.length(); |