CVS update: sierra/src/java/org/openprivacy/sierra/client

From: cvs@openprivacy.org
Date: Fri Jan 12 2001 - 23:59:39 PST


Date: Friday January 12, 19101 @ 23:59
Author: burton
CVSWEB Options: -------------------

Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client

-----------------------------------

Update of /usr/local/cvsroot/sierra/src/java/org/openprivacy/sierra/client
In directory openprivacy.org:/tmp/cvs-serv3406/src/java/org/openprivacy/sierra/client

Modified Files:
        PutReputation.java
Log Message:
fixed dat abug

*****************************************************************
File: sierra/src/java/org/openprivacy/sierra/client/PutReputation.java

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/PutReputation.java?annotate=1.4

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/PutReputation.java?rev=1.4&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/sierra/src/java/org/openprivacy/sierra/client/PutReputation.java.diff?r1=1.4&r2=1.3

-----------------------------------

Index: sierra/src/java/org/openprivacy/sierra/client/PutReputation.java
diff -u sierra/src/java/org/openprivacy/sierra/client/PutReputation.java:1.3 sierra/src/java/org/openprivacy/sierra/client/PutReputation.java:1.4
--- sierra/src/java/org/openprivacy/sierra/client/PutReputation.java:1.3 Wed Jan 10 19:33:57 2001
+++ sierra/src/java/org/openprivacy/sierra/client/PutReputation.java Fri Jan 12 23:59:39 2001
@@ -55,7 +55,7 @@
      *
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PutReputation.java,v 1.3 2001/01/11 03:33:57 burton Exp $
+ * @version $Id: PutReputation.java,v 1.4 2001/01/13 07:59:39 burton Exp $
      */
     public PutReputation( String rpcRouter,
                           Reputation reputation ) throws Exception {
@@ -100,7 +100,7 @@
      * main()
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PutReputation.java,v 1.3 2001/01/11 03:33:57 burton Exp $
+ * @version $Id: PutReputation.java,v 1.4 2001/01/13 07:59:39 burton Exp $
      */
     public static void main( String[] args ) {
 
@@ -143,7 +143,7 @@
             
             
             name = value.substring( 0, split );
- value = value.substring( split + 1, value.length() );
+ data = value.substring( split + 1, value.length() );
 
         } else {
             showSyntax();
@@ -153,6 +153,9 @@
         Reputation rep = new Reputation( reference );
         rep.addValue( new Value( name, data ) );
 
+ //output what is about to be uploaded.
+ System.out.println( rep.getPrettyPrint() );
+
         try {
             new PutReputation( rpcRouter, rep );
 
@@ -168,7 +171,7 @@
      * Show the user how to work the system.
      *
      * @author <a href="mailto:burton@relativity.yi.org">Kevin A. Burton</a>
- * @version $Id: PutReputation.java,v 1.3 2001/01/11 03:33:57 burton Exp $
+ * @version $Id: PutReputation.java,v 1.4 2001/01/13 07:59:39 burton Exp $
      */
     public static void showSyntax() {
 



This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST