bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
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...
20,763
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...
20,765
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(); ...
20,767
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...
20,815
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.getObjectSize() : 0; objectSize += sc_size; // Step 4a: Fix the offset for all declared non-static fields final int cnt = getNoDeclaredFields...
20,817
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(); ...
20,818
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(); ...
20,819
public final String getDisplayCountry() { return getDisplayCountry(defaultLocale); }
public String getDisplayCountry() { return getDisplayCountry(defaultLocale); }
20,820
public final String getDisplayLanguage() { return getDisplayLanguage(defaultLocale); }
public String getDisplayLanguage() { return getDisplayLanguage(defaultLocale); }
20,821
public final String getDisplayName() { return getDisplayName(defaultLocale); }
public String getDisplayName() { return getDisplayName(defaultLocale); }
20,822
public final String getDisplayVariant() { return getDisplayVariant(defaultLocale); }
public String getDisplayVariant() { return getDisplayVariant(defaultLocale); }
20,823
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; }
20,824
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(); }
20,825
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(...
20,826
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...
20,827
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; }
20,828
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; }
20,829
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(); }
20,830
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(); }
20,831
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...
20,833
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...
20,834
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...
20,835
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; bandOffsets = new int[pixelStride]; for (int i = 0; i < pixelStride; i++) bandOffsets[i] = i; switch (transferType) { case Dat...
20,838
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...
20,839
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...
20,840
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"); }
20,846
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"); }
20,847
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"); }
20,857
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"); }
20,870
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"); }
20,877
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"); }
20,878
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"); }
20,880
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"); }
20,882
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"); }
20,886
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"); }
20,887
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"); }
20,888
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. }
20,889
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. }
20,890
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; }
20,891
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 ? g...
20,892
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")) ...
20,893
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")) ...
20,894
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()
20,896
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...
20,897
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); }
20,899
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); }
20,900
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(); ...
20,901
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(); ...
20,902
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...
20,903
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...
20,904
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); }
20,905
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...
20,906
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...
20,907
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); }
20,908
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...
20,909
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...
20,910
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...
20,911
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...
20,912
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); ...
20,913
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); }
20,914
public final Class getCategory() { return JobMediaSheetsSupported.class; }
public Class getCategory() { return JobMediaSheetsSupported.class; }
20,915
public final String getName() { return "job-media-sheets-supported"; }
public String getName() { return "job-media-sheets-supported"; }
20,916
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)); }
20,917
public final Class getCategory() { return NumberOfDocuments.class; }
public Class getCategory() { return NumberOfDocuments.class; }
20,918
public final String getName() { return "number-of-documents"; }
public String getName() { return "number-of-documents"; }
20,919
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...
20,920
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...
20,921
lostOwnership(Clipboard clipboard, Transferable contents);
void lostOwnership (Clipboard clipboard, Transferable contents);
20,922
public void addSelectionPath(TreePath path);
void addSelectionPath(TreePath path);
20,923
public void addSelectionPaths(TreePath[] paths);
void addSelectionPaths(TreePath[] paths);
20,924
public void addTreeSelectionListener(TreeSelectionListener x);
void addTreeSelectionListener(TreeSelectionListener x);
20,925
public TreePath getLeadSelectionPath();
TreePath getLeadSelectionPath();
20,926
public int getLeadSelectionRow();
int getLeadSelectionRow();
20,927
public int getMaxSelectionRow();
int getMaxSelectionRow();
20,928
public int getMinSelectionRow();
int getMinSelectionRow();
20,929
public RowMapper getRowMapper();
RowMapper getRowMapper();
20,930
public int getSelectionCount();
int getSelectionCount();
20,931
public int getSelectionMode();
int getSelectionMode();
20,932
public TreePath getSelectionPath();
TreePath getSelectionPath();
20,933
public TreePath[] getSelectionPaths();
TreePath[] getSelectionPaths();
20,934
public int[] getSelectionRows();
int[] getSelectionRows();
20,935
public boolean isPathSelected(TreePath path);
boolean isPathSelected(TreePath path);
20,936
public boolean isRowSelected(int row);
boolean isRowSelected(int row);
20,937
public boolean isSelectionEmpty();
boolean isSelectionEmpty();
20,938
public void removeSelectionPath(TreePath path);
void removeSelectionPath(TreePath path);
20,939
public void removeSelectionPaths(TreePath[] paths);
void removeSelectionPaths(TreePath[] paths);
20,940
public void removeTreeSelectionListener(TreeSelectionListener x);
void removeTreeSelectionListener(TreeSelectionListener x);
20,941
public void resetRowSelection();
void resetRowSelection();
20,942
public void setRowMapper(RowMapper newMapper);
void setRowMapper(RowMapper newMapper);
20,943
public void setSelectionMode(int mode);
void setSelectionMode(int mode);
20,944
public void setSelectionPath(TreePath path);
void setSelectionPath(TreePath path);
20,945
public void setSelectionPaths(TreePath[] paths);
void setSelectionPaths(TreePath[] paths);
20,946
public BasicToolBarUI(JToolBar b) { super(); }
public BasicToolBarUI() { super(); }
20,947
public static ComponentUI createUI(JComponent c) { return new BasicToolBarUI((JToolBar) c); }
public static ComponentUI createUI(JComponent c) { return new BasicToolBarUI(); }
20,948
private void postEvent(int id, int button) { JNodeToolkit tk = (JNodeToolkit) JNodeToolkit.getDefaultToolkit(); Component source = tk.getTop().getComponentAt(x, y); if( source == null) source = tk.getTop(); //TODO full support for modifiers MouseEvent me = new MouseEvent(source, i...
private void postEvent(int id, int button) { RawJNodeToolkit tk = (RawJNodeToolkit) RawJNodeToolkit.getDefaultToolkit(); Component source = tk.getTop().getComponentAt(x, y); if( source == null) source = tk.getTop(); //TODO full support for modifiers MouseEvent me = new MouseEvent(...
20,949
ColorRaster(ColorModel cm,int x, int y, int width, int height, int rgbPixel) { super(cm.createCompatibleSampleModel(width,height),new Point(x,y)); Object pixel = cm.getDataElements(rgbPixel,null); getSampleModel().setDataElements(0, 0, width, height, ...
ColorRaster(ColorModel cm,int x, int y, int width, int height, int rgbPixel) { super(cm.createCompatibleSampleModel(width,height),new Point(x,y)); Object pixel = cm.getDataElements(rgbPixel,null); getSampleModel().setDataElements(0, 0, width, height, ...
20,950
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
ColorPaintContext(int colorRGB) { color = colorRGB; colorModel = cm; }
20,951
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
ColorPaintContext(ColorModel cm,int colorRGB) { color = colorRGB; colorModel = cm; }
20,952
public Accessible getAccessibleChild(int i) { return null; }
public Accessible getAccessibleChild(int i) { Accessible child = null; if (i >= 0 && i < tabs.size()) child = (Page) tabs.get(i); return child; }
20,953
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this instance simultanously. Rectangle insid...
protected Rectangle getInsideAllocation(Shape a) { if (a == null) return null; Rectangle alloc = a instanceof Rectangle ? (Rectangle) a : a.getBounds(); // Initialize the inside allocation rectangle. This is done inside // a synchronized block in order to avoid multiple threads creating // this i...
20,954