implemented the "pics in posts" flag globally...it marks the first appearance

of "properties" storage and editing for conferences, communities, users, and
the global system.  In addition, the "global properties" editing screen got
implemented, because it wasn't there yet.
This commit is contained in:
Eric J. Bowersox
2001-11-11 01:22:07 +00:00
parent b105a43619
commit 070fd2c9e2
46 changed files with 2135 additions and 87 deletions

View File

@@ -109,6 +109,19 @@ public class OptionSet extends BitSet
*--------------------------------------------------------------------------------
*/
public boolean assign(int ndx, boolean val)
{
if (ndx>=ALPHA.length())
throw new IndexOutOfBoundsException();
boolean old = super.get(ndx);
if (val)
super.set(ndx);
else
super.clear(ndx);
return (old!=val);
} // end assign
public void assign(char[] options)
{
int i;
@@ -127,7 +140,8 @@ public class OptionSet extends BitSet
public void assign(String options)
{
assign(options.toCharArray());
if (options!=null)
assign(options.toCharArray());
} // end assign