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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user