bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void setMinimumIntegerDigits (int newValue) { minimumIntegerDigits = newValue; if (getMaximumIntegerDigits () < minimumIntegerDigits) setMaximumIntegerDigits (minimumIntegerDigits); }
public void setMinimumIntegerDigits (int newValue) { minimumIntegerDigits = digits; if (getMaximumIntegerDigits () < minimumIntegerDigits) setMaximumIntegerDigits (minimumIntegerDigits); }
32,894
public void addChangeListener (ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
public void addChangeListener(ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
32,896
public void addChangeListener (ChangeListener listener) { listenerList.add (ChangeListener.class, listener); }
public void addChangeListener (ChangeListener listener) { listenerList.add(ChangeListener.class, listener); }
32,897
protected void fireStateChanged() { ChangeListener[] listeners = getChangeListeners(); for (int i = 0; i < listeners.length; i++) listeners [i].stateChanged (changeEvent); }
protected void fireStateChanged() { ChangeListener[] listeners = getChangeListeners(); for (int i = 0; i < listeners.length; i++) listeners[i].stateChanged(changeEvent); }
32,898
public ChangeListener[] getChangeListeners() { return (ChangeListener[]) listenerList.getListeners (ChangeListener.class); }
public ChangeListener[] getChangeListeners() { return (ChangeListener[]) listenerList.getListeners(ChangeListener.class); }
32,899
public void removeChangeListener (ChangeListener listener) { listenerList.remove (ChangeListener.class, listener); }
public void removeChangeListener(ChangeListener listener) { listenerList.remove (ChangeListener.class, listener); }
32,900
public void removeChangeListener (ChangeListener listener) { listenerList.remove (ChangeListener.class, listener); }
public void removeChangeListener (ChangeListener listener) { listenerList.remove(ChangeListener.class, listener); }
32,901
public void setSelectedColor (Color color) { this.selectedColor = color; }
public void setSelectedColor(Color color) { if (color == null) throw new Error("ColorSelectionModel cannot be set to have null color."); if (color != selectedColor) { this.selectedColor = color; }
32,902
public DynAny copy() { try { gnuDynUnion other = new gnuDynUnion(official_type, final_type, factory, orb); other.discriminator = discriminator.copy(); ((abstractDynAny) other.discriminator).listener = other; if (array.length == 1) { other.array = new D...
public DynAny copy() { try { gnuDynUnion other = new gnuDynUnion(official_type, final_type, factory, orb); other.discriminator = discriminator.copy(); ((AbstractAny) other.discriminator).listener = other; if (array.length == 1) { other.array = new DynA...
32,905
public gnuDynUnion(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) throws InconsistentTypeCode { super(oType, aType, aFactory, anOrb); try { discriminator = factory.create_dyn_any_from_type_code(final_type.discrimin...
public gnuDynUnion(TypeCode oType, TypeCode aType, gnuDynAnyFactory aFactory, ORB anOrb ) throws InconsistentTypeCode { super(oType, aType, aFactory, anOrb); try { discriminator = factory.create_dyn_any_from_type_code(final_type.discrimin...
32,906
public InconsistentTypeCode(String why) { super(why); }
public InconsistentTypeCode() { super(why); }
32,907
public InconsistentTypeCode(String why) { super(why); }
public InconsistentTypeCode(String why) { }
32,908
public static ComponentUI createUI(final JComponent c) { return new BasicToggleButtonUI(); }
public static ComponentUI createUI(final JComponent c) { return new BasicToggleButtonUI(); }
32,909
private Plugin createPlugin() throws PluginException { if (className == null) { return new EmptyPlugin(this); } else { try { // final Class cls = // Thread.currentThread().getContextClassLoader().loadClass(className); final ClassLoader...
private Plugin createPlugin() throws PluginException { if (className == null) { return new EmptyPlugin(this); } else { try { // final Class cls = // Thread.currentThread().getContextClassLoader().loadClass(className); final ClassLoader...
32,910
final void startPlugin(final PluginRegistryModel registry) throws PluginException { if (started) { return; } synchronized (this) { if (started || starting) { return; } starting = true; // BootLog.info("Resolve on p...
} try { AccessController.doPrivileged(new PrivilegedExceptionAction() { public Object run() throws PluginException { resolve(registry); final int reqMax = requires.length; for (int i = 0; i < reqMax; i++) { final String reqId = requires[i].getPluginId(); final PluginDescriptorModel reqDescr = (PluginDescriptorModel) ...
32,911
final void startPlugin(final PluginRegistryModel registry) throws PluginException { if (started) { return; } synchronized (this) { if (started || starting) { return; } starting = true; // BootLog.info("Resolve on p...
final void startPlugin(final PluginRegistryModel registry) throws PluginException { if (started) { return; } synchronized (this) { if (started || starting) { return; } starting = true; // BootLog.info("Resolve on p...
32,912
public Object run() throws PluginException { resolve(registry); final int reqMax = requires.length; for (int i = 0; i < reqMax; i++) { final String reqId = requires[i].getPluginId(); ...
public Object run() throws PluginException { resolve(registry); final int reqMax = requires.length; for (int i = 0; i < reqMax; i++) { final String reqId = requires[i].getPluginId(); ...
32,914
private int evaluateCrossings(double x, double y, boolean neg, boolean useYaxis, double distance) { float cx = 0.0f; float cy = 0.0f; float firstx = 0.0f; float firsty = 0.0f; int negative = (neg) ? -1 : 1; double x0; double x1; double x2; double x3; doubl...
private int evaluateCrossings(double x, double y, boolean neg, boolean useYaxis, double distance) { float cx = 0.0f; float cy = 0.0f; float firstx = 0.0f; float firsty = 0.0f; int negative = (neg) ? -1 : 1; double x0; double x1; double x2; double x3; doubl...
32,962
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,964
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,965
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,966
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,967
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,968
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,969
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
protected void prepareForInstantiation() { // Step 3: Calculate the object size final VmNormalClass superCls = getSuperClass(); int sc_size = (superCls != null) ? superCls.objectSize : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields(); ...
32,970
private final void testClassType() throws RuntimeException { if (isArray()) { throw new RuntimeException("Not a normal class (array-class)"); } if (isInterface()) { throw new RuntimeException("Not a normal class (interface-class)"); } }
private final void testClassType() throws RuntimeException { if (isArray()) { throw new RuntimeException("Not a normal class (array-class)"); } if (isInterface()) { throw new RuntimeException("Not a normal class (interface-class)"); } }
32,971
public boolean equals(Object obj) { if (this == obj) return true; if (! (obj instanceof Locale)) return false; Locale l = (Locale) obj; // ??? We might also want to add: // hashCode() == l.hashCode() // But this is a synchronized method. Is the overhead worth it? // Measure...
public boolean equals(Object obj) {if (this == obj) return true;if (! (obj instanceof Locale)) return false;Locale l = (Locale) obj;// ??? We might also want to add://hashCode() == l.hashCode()// But this is a synchronized method. Is the overhead worth it?// Measure this to make a decision.return (language == l.l...
32,972
public final String getDisplayCountry() { return getDisplayCountry(defaultLocale); }
public String getDisplayCountry() { return getDisplayCountry(defaultLocale); }
32,973
public final String getDisplayLanguage() { return getDisplayLanguage(defaultLocale); }
public String getDisplayLanguage() { return getDisplayLanguage(defaultLocale); }
32,974
public final String getDisplayName() { return getDisplayName(defaultLocale); }
public String getDisplayName() { return getDisplayName(defaultLocale); }
32,975
public final String getDisplayVariant() { return getDisplayVariant(defaultLocale); }
public String getDisplayVariant() { return getDisplayVariant(defaultLocale); }
32,976
public synchronized int hashCode() { // This method is synchronized because writeObject() might reset // the hashcode. return hashcode; }
public int hashCode() { // This method is synchronized because writeObject() might reset // the hashcode. return hashcode; }
32,977
public synchronized int hashCode() { // This method is synchronized because writeObject() might reset // the hashcode. return hashcode; }
public synchronized int hashCode(){// This method is synchronized because writeObject() might reset// the hashcode.return hashcode;}
32,978
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { input.defaultReadObject(); hashcode = language.hashCode() ^ country.hashCode() ^ variant.hashCode(); }
private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException { input.defaultReadObject(); hashcode = language.hashCode() ^ country.hashCode() ^ variant.hashCode(); }
32,979
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { input.defaultReadObject(); hashcode = language.hashCode() ^ country.hashCode() ^ variant.hashCode(); }
private void readObject(ObjectInputStream input) throws IOException, ClassNotFoundException { language = ((String) s.readObject()).intern(); country = ((String) s.readObject()).intern(); variant = ((String) s.readObject()).intern(); hashcode = language.hashCode() ^ country.hashCode() ^ variant.hashCode...
32,980
public final String toString() { if (language.length() == 0 && country.length() == 0) return ""; else if (country.length() == 0 && variant.length() == 0) return language; StringBuffer result = new StringBuffer(language); result.append('_').append(country); if ...
public String toString() { if (language.length() == 0 && country.length() == 0) return ""; else if (country.length() == 0 && variant.length() == 0) return language; StringBuffer result = new StringBuffer(language); result.append('_').append(country); if (varia...
32,981
private synchronized void writeObject(ObjectOutputStream output) throws IOException { // Synchronized so that hashCode() doesn't get wrong value. int tmpHashcode = hashcode; hashcode = -1; output.defaultWriteObject(); hashcode = tmpHashcode; }
private void writeObject(ObjectOutputStream s) throws IOException { // Synchronized so that hashCode() doesn't get wrong value. int tmpHashcode = hashcode; hashcode = -1; output.defaultWriteObject(); hashcode = tmpHashcode; }
32,982
private synchronized void writeObject(ObjectOutputStream output) throws IOException { // Synchronized so that hashCode() doesn't get wrong value. int tmpHashcode = hashcode; hashcode = -1; output.defaultWriteObject(); hashcode = tmpHashcode; }
private synchronized void writeObject(ObjectOutputStream output) throws IOException { // Synchronized so that hashCode() doesn't get wrong value. int tmpHashcode = hashcode; hashcode = -1; output.defaultWriteObject(); hashcode = tmpHashcode; }
32,983
public int getEndOffset() { if (getElementCount() == 0) throw new NullPointerException("This BranchElement has no children."); return children[children.length - 1].getEndOffset(); }
public int getEndOffset() { if (getElementCount() == 0) throw new NullPointerException("This BranchElement has no children."); return children[children.length - 1].getEndOffset(); }
32,984
public int getStartOffset() { if (getElementCount() == 0) throw new NullPointerException("This BranchElement has no children."); return children[0].getStartOffset(); }
public int getStartOffset() { if (getElementCount() == 0) throw new NullPointerException("This BranchElement has no children."); return children[0].getStartOffset(); }
32,985
protected void writeLock() { if (currentWriter!= null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } cat...
protected void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ca...
32,987
private void copyraster(Raster src, ColorSpace scs, WritableRaster dst, ColorSpace dcs) { float[] sbuf = new float[src.getNumBands()]; if (hints.get(RenderingHints.KEY_COLOR_RENDERING) == RenderingHints.VALUE_COLOR_RENDER_QUALITY) { // use cie for accuracy for (int y = src.g...
private void copyraster(Raster src, ColorSpace scs, WritableRaster dst, ColorSpace dcs) { float[] sbuf = new float[src.getNumBands()]; if (hints.get(RenderingHints.KEY_COLOR_RENDERING) == RenderingHints.VALUE_COLOR_RENDER_QUALITY) { // use cie for accuracy for (int y = src.g...
32,988
private void copyraster(Raster src, ColorSpace scs, WritableRaster dst, ColorSpace dcs) { float[] sbuf = new float[src.getNumBands()]; if (hints.get(RenderingHints.KEY_COLOR_RENDERING) == RenderingHints.VALUE_COLOR_RENDER_QUALITY) { // use cie for accuracy for (int y = src.g...
private void copyraster(Raster src, ColorSpace scs, WritableRaster dst, ColorSpace dcs) { float[] sbuf = new float[src.getNumBands()]; if (hints.get(RenderingHints.KEY_COLOR_RENDERING) == RenderingHints.VALUE_COLOR_RENDER_QUALITY) { // use cie for accuracy for (int y = src.g...
32,989
public SwingTest(String title) { super(title); getRootPane().setDoubleBuffered(false); setLocation(100, 100); setSize(400, 400); getContentPane().add(new JButton("JButton north"), BorderLayout.NORTH); getContentPane().add(new JTextArea("JTextArea test"), BorderLayout.CENTER...
public SwingTest(String title) { super(title); getRootPane().setDoubleBuffered(false); setLocation(100, 100); setSize(400, 400); getContentPane().add(north = new JButton("JButton north"), BorderLayout.NORTH); getContentPane().add(new JTextArea("JTextArea test"), BorderLayou...
32,990
public SwingTest(String title) { super(title); getRootPane().setDoubleBuffered(false); setLocation(100, 100); setSize(400, 400); getContentPane().add(new JButton("JButton north"), BorderLayout.NORTH); getContentPane().add(new JTextArea("JTextArea test"), BorderLayout.CENTER...
public SwingTest(String title) { super(title); getRootPane().setDoubleBuffered(false); setLocation(100, 100); setSize(400, 400); getContentPane().add(new JButton("JButton north"), BorderLayout.NORTH); getContentPane().add(new JTextArea("JTextArea test"), BorderLayout.CENTER...
32,991
public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = Unsafe.add(Unsafe.addressOf(dst), flagsOffset); int oldValue; int newValue; do { oldValue = Unsafe.getInt(dst, flagsOffset); if ((oldValue & ObjectFlags.GC_COLOUR_MASK...
public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = Unsafe.add(Unsafe.addressOf(dst), flagsOffset); int oldValue; int newValue; do { oldValue = Unsafe.getInt(dst, flagsOffset); if ((oldValue & ObjectFlags.GC_COLOUR_MASK...
32,993
public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = Unsafe.add(Unsafe.addressOf(dst), flagsOffset); int oldValue; int newValue; do { oldValue = Unsafe.getInt(dst, flagsOffset); if ((oldValue & ObjectFlags.GC_COLOUR_MASK...
public boolean atomicChangeObjectColor(Object dst, int oldColor, int newColor) { final Address addr = Unsafe.add(Unsafe.addressOf(dst), flagsOffset); int oldValue; int newValue; do { oldValue = Unsafe.getInt(dst, flagsOffset); if ((oldValue & ObjectFlags.GC_COLOUR_MASK...
32,994
public final Object getTib(Object object) { return Unsafe.getObject(object, tibOffset); }
public final Object getTib(Object object) { return Unsafe.getObject(object, tibOffset); }
32,995
static final Address allocateBlock(Extent blockSize) { if (!initialized) { initialize(); } if (false) { Unsafe.debug("allocateBlock"); Unsafe.debug(lockPtr.toInt()); } enter(); try { // Calculate the number of blocks needed final Word reqBlockCount = blockAlign(blockSize.toWord(), true).rshl(BLOCK_SIZE...
staticUnsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); finalUnsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); AddressUnsafe.getCurrentProcessor().getArchitecture().getStackReader().debugStackTrace(); allocateBlock(ExtentUnsafe.getCurrentProcessor().get...
32,996
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride = getNumComponents(); /* TODO: Maybe we don't need to create a new offset array each time, but rather use the same array every time. */ int[] bandOffsets = new int[pixelStride]; for (int i=0; i<pixelStride; i++) band...
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride, scanlineStride; int[] bandOffsets; pixelStride = getNumComponents(); scanlineStride = pixelStride * w; /* We might be able to re-use the same bandOffsets array among * multiple calls to this method. However, this optimization does *...
32,997
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride = getNumComponents(); /* TODO: Maybe we don't need to create a new offset array each time, but rather use the same array every time. */ int[] bandOffsets = new int[pixelStride]; for (int i=0; i<pixelStride; i++) band...
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride = getNumComponents(); /* TODO: Maybe we don't need to create a new offset array each time, but rather use the same array every time. */ int[] bandOffsets = new int[pixelStride]; for (int i=0; i<pixelStride; i++) band...
32,998
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride = getNumComponents(); /* TODO: Maybe we don't need to create a new offset array each time, but rather use the same array every time. */ int[] bandOffsets = new int[pixelStride]; for (int i=0; i<pixelStride; i++) band...
public SampleModel createCompatibleSampleModel(int w, int h) { int pixelStride = getNumComponents(); /* TODO: Maybe we don't need to create a new offset array each time, but rather use the same array every time. */ int[] bandOffsets = new int[pixelStride]; for (int i=0; i<pixelStride; i++) band...
32,999
protected void bcsPreDeserializationHook (ObjectInputStream ois) throws ClassNotFoundException, IOException { throw new Error ("Not implemented"); }
protected void bcsPreDeserializationHook (ObjectInputStream ois) throws ClassNotFoundException, IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,005
protected void bcsPreSerializationHook (ObjectOutputStream oos) throws IOException { throw new Error ("Not implemented"); }
protected void bcsPreSerializationHook (ObjectOutputStream oos) throws IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,006
protected final void deserialize (ObjectInputStream ois, Collection coll) throws ClassNotFoundException, IOException { throw new Error ("Not implemented"); }
protected final void deserialize (ObjectInputStream ois, Collection coll) throws ClassNotFoundException, IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,017
public Object instantiateChild (String beanName) throws IOException, ClassNotFoundException { throw new Error ("Not implemented"); }
public Object instantiateChild (String beanName) throws IOException, ClassNotFoundException, NotImplementedException { throw new Error ("Not implemented"); }
33,030
public final void readChildren (ObjectInputStream ois) throws IOException, ClassNotFoundException { throw new Error ("Not implemented"); }
public final void readChildren (ObjectInputStream ois) throws IOException, ClassNotFoundException, NotImplementedException { throw new Error ("Not implemented"); }
33,037
private void readObject (ObjectInputStream s) throws ClassNotFoundException, IOException { throw new Error ("Not implemented"); }
private void readObject (ObjectInputStream s) throws ClassNotFoundException, IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,038
protected final void serialize (ObjectOutputStream oos, Collection coll) throws IOException { throw new Error ("Not implemented"); }
protected final void serialize (ObjectOutputStream oos, Collection coll) throws IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,040
public void setLocale (Locale newLocale) throws PropertyVetoException { throw new Error ("Not implemented"); }
public void setLocale (Locale newLocale) throws PropertyVetoException, NotImplementedException { throw new Error ("Not implemented"); }
33,042
public void vetoableChange (PropertyChangeEvent pce) throws PropertyVetoException { throw new Error ("Not implemented"); }
public void vetoableChange (PropertyChangeEvent pce) throws PropertyVetoException, NotImplementedException { throw new Error ("Not implemented"); }
33,046
public final void writeChildren (ObjectOutputStream oos) throws IOException { throw new Error ("Not implemented"); }
public final void writeChildren (ObjectOutputStream oos) throws IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,047
private void writeObject (ObjectOutputStream s) throws ClassNotFoundException, IOException { throw new Error ("Not implemented"); }
private void writeObject (ObjectOutputStream s) throws ClassNotFoundException, IOException, NotImplementedException { throw new Error ("Not implemented"); }
33,048
public Option(AttributeSet attr) { attributes = attr; label = null; selected = false; // FIXME: Probably initialize something using the attributes. }
public Option(AttributeSet attr) { attributes = attr.copyAttributes(); label = null; selected = false; // FIXME: Probably initialize something using the attributes. }
33,049
public Option(AttributeSet attr) { attributes = attr; label = null; selected = false; // FIXME: Probably initialize something using the attributes. }
public Option(AttributeSet attr) { attributes = attr; label = null; selected = attr.getAttribute(HTML.Attribute.SELECTED) != null; // FIXME: Probably initialize something using the attributes. }
33,050
public String getValue() { // FIXME: Return some attribute here if specified. return label; }
public String getValue() { // FIXME: Return some attribute here if specified. String value = (String) attributes.getAttribute(HTML.Attribute.VALUE); if (value == null) value = label; return value; }
33,051
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // FIXME: Implement the above specified behaviour. return super.calculateMinorAxisRequirements(axis, r); }
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) { // FIXME: Implement the above specified behaviour. r = super.calculateMinorAxisRequirements(axis, r); if (! setCSSSpan(r, axis)) { int margin = axis == X_AXIS ? ge...
33,053
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); // Fetch CSS attributes. AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) ...
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); // Fetch CSS attributes. AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) ...
33,054
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); // Fetch CSS attributes. AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) ...
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); // Fetch CSS attributes. AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) ...
33,055
protected void setPropertiesFromAttributes() { super.setPropertiesFromAttributes(); // Fetch CSS attributes. AttributeSet atts = getAttributes(); Object o = atts.getAttribute(CSS.Attribute.TEXT_ALIGN); if (o != null) { String align = o.toString(); if (align.equals("left")) ...
StyleSheet ss = getStyleSheet(); float emBase = ss.getEMBase(attributes); float exBase = ss.getEXBase(attributes); cssWidth = (Length) attributes.getAttribute(CSS.Attribute.WIDTH); if (cssWidth != null) cssWidth.setFontBases(emBase, exBase); cssHeight = (Length) attributes.getAttribute(CSS.Attribute.WIDTH); if (cssHeig...
33,056
private KeyStroke() { } // KeyStroke()
private KeyStroke() { } // KeyStroke()
33,057
public static KeyStroke getKeyStroke(char keyChar) { // Variables KeyStroke key; key = new KeyStroke(); key.keyChar = keyChar; return key; } // getKeyStroke()
public static KeyStroke getKeyStroke(char keyChar) { // Variables KeyStroke key; key = new KeyStroke(); key.keyChar = keyChar; return key; } // getKeyStroke()
33,058
public static KeyStroke getKeyStrokeForEvent(KeyEvent event) { // Variables int eventID; int eventMod; // Get Event ID eventID = event.getID(); eventMod = event.getModifiersEx(); // Check for KEY_TYPED event if (eventID == KeyEvent.KEY_TYPED) { return getKeyStroke(event.getKeyChar(), eventMod); // KEY_PRESS...
public static KeyStroke getKeyStrokeForEvent(KeyEvent event) { // Variables int eventID; int eventMod; // Get Event ID eventID = event.getID(); eventMod = event.getModifiersEx(); // Check for KEY_TYPED event if (eventID == KeyEvent.KEY_TYPED) { return getKeyStroke(event.getKeyChar(), eventMod); // KEY_PRESS...
33,059
public void read(cdrInput profile) { cdrBufInput encapsulation = profile.read_encapsulation(); narrow.read(encapsulation); wide.read(encapsulation); }
public void read(AbstractCdrInput profile) { cdrBufInput encapsulation = profile.read_encapsulation(); narrow.read(encapsulation); wide.read(encapsulation); }
33,061
public void read(cdrInput profile) { cdrBufInput encapsulation = profile.read_encapsulation(); narrow.read(encapsulation); wide.read(encapsulation); }
public void read(cdrInput profile) { BufferredCdrInput encapsulation = profile.read_encapsulation(); narrow.read(encapsulation); wide.read(encapsulation); }
33,062
public void write(cdrOutput profile) { cdrOutput encapsulation = profile.createEncapsulation(); narrow.write(encapsulation); wide.write(encapsulation); try { encapsulation.close(); } catch (IOException ex) { throw new InternalError(); } }
public void write(AbstractCdrOutput profile) { cdrOutput encapsulation = profile.createEncapsulation(); narrow.write(encapsulation); wide.write(encapsulation); try { encapsulation.close(); } catch (IOException ex) { throw new InternalError(); ...
33,063
public void write(cdrOutput profile) { cdrOutput encapsulation = profile.createEncapsulation(); narrow.write(encapsulation); wide.write(encapsulation); try { encapsulation.close(); } catch (IOException ex) { throw new InternalError(); } }
public void write(cdrOutput profile) { AbstractCdrOutput encapsulation = profile.createEncapsulation(); narrow.write(encapsulation); wide.write(encapsulation); try { encapsulation.close(); } catch (IOException ex) { throw new InternalError(); ...
33,064
public void write(cdrOutput out) { try { // Need to write the Internet profile into the separate // stream as we must know the size in advance. cdrOutput b = out.createEncapsulation(); version.write(b); b.write_string(host); b.write_ushort((short)...
public void write(AbstractCdrOutput out) { try { // Need to write the Internet profile into the separate // stream as we must know the size in advance. cdrOutput b = out.createEncapsulation(); version.write(b); b.write_string(host); b.write_ushort...
33,065
public void write(cdrOutput out) { try { // Need to write the Internet profile into the separate // stream as we must know the size in advance. cdrOutput b = out.createEncapsulation(); version.write(b); b.write_string(host); b.write_ushort((short)...
public void write(cdrOutput out) { try { // Need to write the Internet profile into the separate // stream as we must know the size in advance. AbstractCdrOutput b = out.createEncapsulation(); version.write(b); b.write_string(host); b.write_ushort...
33,066
public void _read(cdrInput c) throws IOException, BAD_PARAM { int endian; endian = c.read_long(); if (endian != 0) { Big_Endian = false; c.setBigEndian(false); } _read_no_endian(c); }
public void _read(AbstractCdrInput c) throws IOException, BAD_PARAM { int endian; endian = c.read_long(); if (endian != 0) { Big_Endian = false; c.setBigEndian(false); } _read_no_endian(c); }
33,067
public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re...
public void _read_no_endian(AbstractCdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int ta...
33,068
public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re...
public void _read_no_endian(cdrInput c) throws IOException, BAD_PARAM { Id = c.read_string(); int n_profiles = c.read_long(); if (n_profiles == 0) { Id = null; Internet = null; return; } for (int i = 0; i < n_profiles; i++) { int tag = c.re...
33,069
public void _write(cdrOutput out) { // Always use Big Endian. out.write(0); _write_no_endian(out); }
public void _write(AbstractCdrOutput out) { // Always use Big Endian. out.write(0); _write_no_endian(out); }
33,070
public void _write_no_endian(cdrOutput out) { // Write repository id. out.write_string(Id); out.write_long(1 + profiles.size()); // Write the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); Internet.write(out); // Write other profiles. TaggedProfile tp; for...
public void _write_no_endian(AbstractCdrOutput out) { // Write repository id. out.write_string(Id); out.write_long(1 + profiles.size()); // Write the Internet profile. out.write_long(Internet_profile.TAG_INTERNET_IOP); Internet.write(out); // Write other profiles. TaggedProfile tp...
33,071
private static void addComponentTo(TaggedProfile profile, TaggedComponent component) { if (profile.tag == TAG_MULTIPLE_COMPONENTS.value) { TaggedComponent[] present; if (profile.profile_data.length > 0) { cdrBufInput in = new cdrBufInput(p...
private static void addComponentTo(TaggedProfile profile, TaggedComponent component) { if (profile.tag == TAG_MULTIPLE_COMPONENTS.value) { TaggedComponent[] present; if (profile.profile_data.length > 0) { BufferredCdrInput in = new Bufferr...
33,072
private static void addComponentTo(TaggedProfile profile, TaggedComponent component) { if (profile.tag == TAG_MULTIPLE_COMPONENTS.value) { TaggedComponent[] present; if (profile.profile_data.length > 0) { cdrBufInput in = new cdrBufInput(p...
private static void addComponentTo(TaggedProfile profile, TaggedComponent component) { if (profile.tag == TAG_MULTIPLE_COMPONENTS.value) { TaggedComponent[] present; if (profile.profile_data.length > 0) { cdrBufInput in = new cdrBufInput(p...
33,073
public static IOR parse(String stringified_reference) throws BAD_PARAM { try { if (!stringified_reference.startsWith("IOR:")) throw new BAD_PARAM("The string refernce must start with IOR:", FAILED, CompletionStatus.COMPLETED_NO); IOR r = n...
public static IOR parse(String stringified_reference) throws BAD_PARAM { try { if (!stringified_reference.startsWith("IOR:")) throw new BAD_PARAM("The string refernce must start with IOR:", FAILED, CompletionStatus.COMPLETED_NO); IOR r = n...
33,074
public String toStringifiedReference() { cdrBufOutput out = new cdrBufOutput(); _write(out); StringBuffer b = new StringBuffer("IOR:"); byte[] binary = out.buffer.toByteArray(); String s; for (int i = 0; i < binary.length; i++) { s = Integer.toHexString(binary[i] & 0xFF); if (s.l...
public String toStringifiedReference() { BufferedCdrOutput out = new BufferedCdrOutput(); _write(out); StringBuffer b = new StringBuffer("IOR:"); byte[] binary = out.buffer.toByteArray(); String s; for (int i = 0; i < binary.length; i++) { s = Integer.toHexString(binary[i] & 0xFF); ...
33,075
public static void write_null(cdrOutput out) { // Empty Id string. out.write_string(""); // Empty set of profiles. out.write_long(0); }
public static void write_null(AbstractCdrOutput out) { // Empty Id string. out.write_string(""); // Empty set of profiles. out.write_long(0); }
33,076
public final Class getCategory() { return JobMediaSheetsSupported.class; }
public Class getCategory() { return JobMediaSheetsSupported.class; }
33,077
public final String getName() { return "job-media-sheets-supported"; }
public String getName() { return "job-media-sheets-supported"; }
33,078
public SortedSet headSet(T to) { return new TreeSet<T>(map.headMap(to)); }
public SortedSet<T> headSet(T to) { return new TreeSet<T>(map.headMap(to)); }
33,079
public final Class getCategory() { return NumberOfDocuments.class; }
public Class getCategory() { return NumberOfDocuments.class; }
33,080
public final String getName() { return "number-of-documents"; }
public String getName() { return "number-of-documents"; }
33,081
public synchronized void setParent(Logger parent) { LogManager lm; /* Throw a new NullPointerException if parent is null. */ parent.getClass(); lm = LogManager.getLogManager(); if (this == lm.rootLogger) { if (parent != null) throw new IllegalArgumentException( "only the root l...
public synchronized void setParent(Logger parent) { LogManager lm; /* Throw a new NullPointerException if parent is null. */ parent.getClass(); lm = LogManager.getLogManager(); if (this == lm.rootLogger) { if (parent != null) throw new IllegalArgumentException( "only the root l...
33,082
public synchronized void setParent(Logger parent) { LogManager lm; /* Throw a new NullPointerException if parent is null. */ parent.getClass(); lm = LogManager.getLogManager(); if (this == lm.rootLogger) { if (parent != null) throw new IllegalArgumentException( "only the root l...
public synchronized void setParent(Logger parent) { LogManager lm; /* Throw a new NullPointerException if parent is null. */ parent.getClass(); lm = LogManager.getLogManager(); if (this == lm.rootLogger) { if (parent != null) throw new IllegalArgumentException( "only the root l...
33,083
lostOwnership(Clipboard clipboard, Transferable contents);
void lostOwnership (Clipboard clipboard, Transferable contents);
33,084
public void addPropertyChangeListener(PropertyChangeListener listener);
public void addPropertyChangeListener(PropertyChangeListener listener);
33,085
public void addSelectionPath(TreePath path);
public void addSelectionPath(TreePath path);
33,086
public void addSelectionPaths(TreePath[] paths);
public void addSelectionPaths(TreePath[] paths);
33,087