Update of /cvsroot/freenet/freenet/src/freenet
In directory sc8-pr-cvs1:/tmp/cvs-serv30255/src/freenet
Modified Files:
FieldSet.java
Log Message:
It's new BigInteger(1, <bytes>), not new BigInteger(<bytes>) - see the definition of
the Util we are replacing. Otherwise it will fail every time the first bit is wrong.
Index: FieldSet.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/FieldSet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -r1.6 -r1.7
--- FieldSet.java 10 Oct 2003 23:26:59 -0000 1.6
+++ FieldSet.java 31 Oct 2003 17:54:42 -0000 1.7
@@ -147,28 +147,6 @@
}
/**
- * Add a string value. This will overwrite any old values for this field.
- * @param name The name of the field.
- * @param value The value to set to the field.
- * @deprecated
- * @see put(name, value)
- */
- public final void add(String name, String value) {
-
- // uncommented by Oskar
-
- put(name, value);
-
- // Careful, I've changed it so that all field names with '.' in them will
- // be stored as sets instead of strings.
-
- // No you won't, could you please try to think for two seconds about
- // what a class is trying to do before you fuck with it like that.
- //
- // readField(name, value, '.');
- }
-
- /**
* Add a subset. This will overwrite any old values for this field.
* @param name The name of the field.
* @param value The value to set to the field.
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs