bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,670 |
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,671 |
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,672 |
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,673 |
private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | private String toTypeString() { StringBuilder str = new StringBuilder(); switch ( type ) { case EMPTY: str.append ( "Empty" ); break; case CONTAINED: str.append ( "Contained[" + start + ":" + length + "]" ); break; case CROSSED: str.append ( "Crossed " ); if ( ofsR != 0 ) str.append (... | 25,674 |
public BlockAlignmentSupport(BlockDeviceAPI parentApi, int alignment) { this.parentApi = parentApi; this.alignment = alignment; if (alignment <= 0) { throw new IllegalArgumentException("alignment <= 0"); } } | public BlockAlignmentSupport(BlockDeviceAPI parentApi, int alignment) { this.parentApi = parentApi; this.alignment = alignment; if (alignment <= 0) { throw new IllegalArgumentException("alignment <= 0"); } } | 25,675 |
public void flush() throws IOException { parentApi.flush(); } | public void flush() throws IOException { parentApi.flush(); } | 25,676 |
public int getAlignment() { return alignment; } | public int getAlignment() { return alignment; } | 25,677 |
public long getLength() throws IOException { return parentApi.getLength(); } | public long getLength() throws IOException { return parentApi.getLength(); } | 25,678 |
private void mylog ( String msg ) { if ( dolog ) log.debug ( msg ); } | private void mylog ( String msg ) { if ( dolog ) log.debug ( msg ); } | 25,679 |
public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | 25,680 |
public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | 25,681 |
public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | 25,682 |
public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | 25,683 |
public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | public void read ( long offset, ByteBuffer dst ) throws IOException { BufferType t = new BufferType ( offset, dst ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: break; case BufferType.CONTAINED: { mylog ( "read[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf = By... | 25,684 |
public void setAlignment(int i) { alignment = i; } | public void setAlignment(int i) { alignment = i; } | 25,685 |
public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | 25,686 |
public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | 25,687 |
public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | 25,688 |
public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | 25,689 |
public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | public void write ( long offset, ByteBuffer src ) throws IOException { BufferType t = new BufferType ( offset, src ); mylog ( "\n" + t ); switch ( t.type ) { case BufferType.EMPTY: return; case BufferType.CONTAINED: { mylog ( "write[CONT] " + t.toBlockString ( t.ofsR, t.length ) ); // ByteBuffer buf =... | 25,690 |
public final Buffer limit (int newLimit) { if ((newLimit < 0) || (newLimit > cap)) throw new IllegalArgumentException (); if (newLimit < mark) mark = -1; if (pos > newLimit) pos = newLimit; limit = newLimit; return this; } | public final int limit () { if ((newLimit < 0) || (newLimit > cap)) throw new IllegalArgumentException (); if (newLimit < mark) mark = -1; if (pos > newLimit) pos = newLimit; limit = newLimit; return this; } | 25,691 |
public final Buffer limit (int newLimit) { if ((newLimit < 0) || (newLimit > cap)) throw new IllegalArgumentException (); if (newLimit < mark) mark = -1; if (pos > newLimit) pos = newLimit; limit = newLimit; return this; } | public final Buffer limit (int newLimit) { if ((newLimit < 0) || (newLimit > cap)) throw new IllegalArgumentException (); if (newLimit < mark) mark = -1; if (pos > newLimit) pos = newLimit; limit = newLimit; return this; } | 25,692 |
public Menu(String label) { this(label, false); } | public Menu(String label) { this(label, false); } | 25,693 |
public static boolean isHeadless() { // XXX Should be: getLocalGraphicsEnvironment().isHeadlessInstance(); return false; } | public static boolean isHeadless() { // XXX Should be: getLocalGraphicsEnvironment().isHeadlessInstance(); return false; } | 25,694 |
public void addNotify() { if (peer != null) peer = getToolkit().createMenu(this); super.addNotify(); } | public void addNotify() { if (peer != null) peer = getToolkit().createMenu(this); super.addNotify(); } | 25,695 |
public void addNotify() { if (peer != null) peer = getToolkit().createMenu(this); super.addNotify(); } | public void addNotify() { if (peer != null) peer = getToolkit().createMenu(this); super.addNotify(); } | 25,696 |
public abstract void show (Component origin, int x, int y); | public abstract void show (Component origin, int x, int y); | 25,698 |
public AccessibleJLayeredPane() { // Nothing to do here. } | protected AccessibleJLayeredPane() { // Nothing to do here. } | 25,699 |
public JLayeredPane() { layers = new TreeMap (); componentToLayer = new Hashtable (); setLayout(null); } | public JLayeredPane() { componentToLayer = new Hashtable (); setLayout(null); } | 25,700 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { int layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); e... | 25,701 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | 25,702 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | 25,703 |
protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | protected void addImpl(Component comp, Object layerConstraint, int index) { Integer layer; if (layerConstraint != null && layerConstraint instanceof Integer) layer = (Integer) layerConstraint; else if (componentToLayer.containsKey (comp)) layer = (Integer) componentToLayer.remove (comp); ... | 25,704 |
public int getComponentCountInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return 0; else return (range[1] - range[0]); } | public int getComponentCountInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return 0; else return (range[1] - range[0]); } | 25,705 |
public Component[] getComponentsInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return new Component[0]; else { Component[] comps = getComponents (); int sz = range[1] - range[0]; Component[] nc = new Component[sz]; f... | public Component[] getComponentsInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return new Component[0]; else { Component[] comps = getComponents (); int sz = range[1] - range[0]; Component[] nc = new Component[sz]; f... | 25,706 |
public Component[] getComponentsInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return new Component[0]; else { Component[] comps = getComponents (); int sz = range[1] - range[0]; Component[] nc = new Component[sz]; f... | public Component[] getComponentsInLayer(int layer) { int[] range = layerToRange (getObjectForLayer (layer)); if (range[0] == range[1]) return new Component[0]; else { Component[] comps = getComponents (); int sz = range[1] - range[0]; Component[] nc = new Component[sz]; f... | 25,707 |
public int getIndexOf(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); Component[] comps = getComponents(); for (int i = range[0]; i < range[1]; ++i) { if (comps[i] == c) return i; } // should have found the component during iteration ... | public int getIndexOf(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); Component[] comps = getComponents(); for (int i = range[0]; i < range[1]; ++i) { if (comps[i] == c) return i; } // should have found the component during iteration ... | 25,709 |
public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | 25,710 |
public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | 25,711 |
public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | public int getLayer(Component c) { Component myComp = c; while(! componentToLayer.containsKey(myComp)) { myComp = myComp.getParent(); if (myComp == null) break; } if (myComp == null) throw new IllegalArgumentException ("component is not in this JLayeredPane"); Integer layerObj = (Integer... | 25,712 |
public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | 25,713 |
public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | 25,714 |
public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | public int getPosition(Component c) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should h... | 25,715 |
public int highestLayer() { if (layers.size() == 0) return 0; return ((Integer)(layers.lastKey ())).intValue (); } | public int highestLayer() { if (layers.size() == 0) return 0; return ((Integer)(layers.lastKey ())).intValue (); } | 25,716 |
protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | 25,717 |
protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | 25,718 |
protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | protected int insertIndexForLayer(int layer, int position) { Integer lobj = getObjectForLayer (layer); if (! layers.containsKey(lobj)) layers.put (lobj, new Integer (0)); int[] range = layerToRange (lobj); if (range[0] == range[1]) return range[0]; int top = range[0]; int bot = range[1... | 25,719 |
public boolean isOptimizedDrawingEnabled() { return false; } | public boolean isOptimizedDrawingEnabled() { int numChildren = getComponentCount(); boolean result = false; switch (numChildren) { case 0: case 1: result = true; break; case 2: Rectangle r1 = getComponent(0).getBounds(); Rectangle r2 = getComponent(1).getBounds(); result = !r1.intersects(r2); break; defa... | 25,720 |
public int lowestLayer() { if (layers.size() == 0) return 0; return ((Integer)(layers.firstKey ())).intValue (); } | public int lowestLayer() { if (layers.size() == 0) return 0; return ((Integer)(layers.firstKey ())).intValue (); } | 25,721 |
public static void putLayer(JComponent component, int layer) { getLayeredPaneAbove(component).setLayer(component, layer); } | public static void putLayer(JComponent component, int layer) { component.putClientProperty(LAYER_PROPERTY, new Integer(layer)); } | 25,722 |
public void remove(int index) { Component c = getComponent(index); int layer = getLayer(c); decrLayer(new Integer(layer)); componentToLayer.remove(c); super.remove(index); // FIXME: Figure out if this call is correct. revalidate(); } | public void remove(int index) { Component c = getComponent(index); int layer = getLayer(c); decrLayer(new Integer(layer)); componentToLayer.remove(c); super.remove(index); // FIXME: Figure out if this call is correct. revalidate(); } | 25,723 |
public void remove(int index) { Component c = getComponent(index); int layer = getLayer(c); decrLayer(new Integer(layer)); componentToLayer.remove(c); super.remove(index); // FIXME: Figure out if this call is correct. revalidate(); } | public void remove(int index) { Component c = getComponent(index); int layer = getLayer(c); decrLayer(new Integer(layer)); componentToLayer.remove(c); super.remove(index); // FIXME: Figure out if this call is correct. } | 25,724 |
public void setLayer(Component c, int layer) { componentToLayer.put (c, getObjectForLayer (layer)); } | public void setLayer(Component c, int layer) { setLayer(c, layer, -1); } | 25,725 |
public void setPosition(Component c, int position) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int ta... | public void setPosition(Component c, int position) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int ta... | 25,726 |
public synchronized boolean containsKey(Object key) { int idx = hash(key); HashEntry<K, V> e = buckets[idx]; while (e != null) { if (key.equals(e.key)) return true; e = e.next; } return false; } | public synchronized boolean containsKey(Object key) { int idx = hash(key); HashEntry<K, V> e = buckets[idx]; while (e != null) { if (e.key.equals(key)) return true; e = e.next; } return false; } | 25,727 |
public synchronized V remove(Object key) { int idx = hash(key); HashEntry<K, V> e = buckets[idx]; HashEntry<K, V> last = null; while (e != null) { if (key.equals(e.key)) { modCount++; if (last == null) buckets[idx] = e.next; else ... | public synchronized V remove(Object key) { int idx = hash(key); HashEntry<K, V> e = buckets[idx]; HashEntry<K, V> last = null; while (e != null) { if (e.key.equals(key)) { modCount++; if (last == null) buckets[idx] = e.next; else ... | 25,728 |
public synchronized StringBuffer insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; retur... | public synchronized StringBuffer insert(int offset, char[] str, int str_offset, int len) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset... | 25,729 |
public synchronized StringBuffer insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; retur... | public synchronized StringBuffer insert(int offset, char ch) { if (offset < 0 || offset > count) throw new StringIndexOutOfBoundsException(offset); ensureCapacity_unsynchronized(count + 1); VMSystem.arraycopy(value, offset, value, offset + 1, count - offset); value[offset] = ch; count++; retur... | 25,730 |
public static int digit(char ch, int radix) { if (radix < MIN_RADIX || radix > MAX_RADIX) return -1; char attr = readChar(ch); if (((1 << (attr & TYPE_MASK)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << DECIMAL_DIGIT_NUMBER))) != 0) { // Signedn... | public static int digit(char ch, int radix) { if (radix < MIN_RADIX || radix > MAX_RADIX) return -1; char attr = readCodePoint((int)ch); if (((1 << (attr & TYPE_MASK)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << DECIMAL_DIGIT_NUMBER))) != 0) { ... | 25,731 |
public static int digit(char ch, int radix) { if (radix < MIN_RADIX || radix > MAX_RADIX) return -1; char attr = readChar(ch); if (((1 << (attr & TYPE_MASK)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << DECIMAL_DIGIT_NUMBER))) != 0) { // Signedn... | public static int digit(char ch, int radix) { if (radix < MIN_RADIX || radix > MAX_RADIX) return -1; char attr = readChar(ch); if (((1 << (attr & TYPE_MASK)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << DECIMAL_DIGIT_NUMBER))) != 0) { // Signedn... | 25,732 |
public static int getType(char ch) { return readChar(ch) & TYPE_MASK; } | public static int getType(char ch) { return getType((int)ch); } | 25,733 |
public String toUpperCase() { return toUpperCase(Locale.getDefault()); } | public String toUpperCase(Locale loc) { return toUpperCase(Locale.getDefault()); } | 25,734 |
public String toUpperCase() { return toUpperCase(Locale.getDefault()); } | public String toUpperCase() { boolean turkish = "tr".equals(loc.getLanguage()); int expand = 0; boolean unchanged = true; int i = count; int x = i + offset; while (--i >= 0) { char ch = value[--x]; expand += upperCaseExpansion(ch); unchanged = (unchanged && expand == 0 && ! (turkish && ch == '\u0069') && ch == ... | 25,735 |
public void ancestorMoved(HierarchyEvent e) { } | public void ancestorMoved(HierarchyEvent event) { } | 25,736 |
public void ancestorResized(HierarchyEvent e) { } | public void ancestorResized(HierarchyEvent event) { } | 25,737 |
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionM... | public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) mode = ListSelectionMo... | 25,738 |
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionM... | public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionM... | 25,739 |
public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionM... | public void propertyChange(PropertyChangeEvent e) { JFileChooser filechooser = getFileChooser(); String n = e.getPropertyName(); if (n.equals(JFileChooser.MULTI_SELECTION_ENABLED_CHANGED_PROPERTY)) { if (filechooser.isMultiSelectionEnabled()) fileList.setSelectionM... | 25,740 |
private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | 25,743 |
private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | private void completeEditing() { if (editField != null && editFile != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); ... | 25,744 |
private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | 25,745 |
private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | private void completeEditing() { if (editField != null) { String text = editField.getText(); if (text != null && !text.equals("")) editFile.renameTo(new File(text)); list.remove(editField); list.revalidate(); list.repaint(); } } | 25,746 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = new JText... | 25,748 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | private void editFile(int index) { Rectangle bounds = list.getCellBounds(index, index); list.scrollRectToVisible(bounds); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getF... | 25,749 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { startEditing = true; editField = new JTextField(editFile.getName()); editField.addActionListener(new EditingActionListener()); ... | 25,750 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | 25,751 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | 25,752 |
private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | private void editFile(int index) { list.ensureIndexIsVisible(index); editFile = (File) list.getModel().getElementAt(index); if (editFile.canWrite()) { Rectangle bounds = list.getCellBounds(index, index); Icon icon = getFileView(fc).getIcon(editFile); editField = n... | 25,753 |
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1 && e.getButton() == MouseEvent.BUTTON1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) ... | 25,754 |
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && !startEditing && lis... | 25,755 |
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | 25,756 |
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { int index = list.locationToIndex(e.getPoint()); File[] sf = fc.getSelectedFiles(); if ((!fc.isMultiSelectionEnabled() || (sf != null && sf.length <= 1)) && index >= 0 && editFile == null && ... | 25,757 |
protected void addControlButtons() { JButton upButton = new JButton(getChangeToParentDirectoryAction()); upButton.setText(null); upButton.setIcon(this.upFolderIcon); upButton.setMargin(new Insets(0, 0, 0, 0)); controls.add(upButton); JButton homeButton = new JButton(getGoHomeAction()); homeB... | protected void addControlButtons() { JButton upButton = new JButton(getChangeToParentDirectoryAction()); upButton.setText(null); upButton.setIcon(this.upFolderIcon); upButton.setMargin(new Insets(0, 0, 0, 0)); controls.add(upButton); JButton homeButton = new JButton(getGoHomeAction()); homeB... | 25,759 |
protected void addControlButtons() { JButton upButton = new JButton(getChangeToParentDirectoryAction()); upButton.setText(null); upButton.setIcon(this.upFolderIcon); upButton.setMargin(new Insets(0, 0, 0, 0)); controls.add(upButton); JButton homeButton = new JButton(getGoHomeAction()); homeB... | listButton.addActionListener(new ListViewActionListener()); listButton.setSelected(true); listView = true; listButton.addActionListener(new ListViewActionListener()); listButton.setSelected(true); listView = true; protectedlistButton.addActionListener(new ListViewActionListener()); listButton.setSelected(true); listVie... | 25,760 |
protected void addControlButtons() { JButton upButton = new JButton(getChangeToParentDirectoryAction()); upButton.setText(null); upButton.setIcon(this.upFolderIcon); upButton.setMargin(new Insets(0, 0, 0, 0)); controls.add(upButton); JButton homeButton = new JButton(getGoHomeAction()); homeB... | detailButton.addActionListener(new DetailViewActionListener()); detailButton.setSelected(false); detailButton.addActionListener(new DetailViewActionListener()); detailButton.setSelected(false); protecteddetailButton.addActionListener(new DetailViewActionListener()); detailButton.setSelected(false); voiddetailButton.add... | 25,761 |
protected ActionMap createActionMap() { ActionMap map = new ActionMap(); map.put("approveSelection", getApproveSelectionAction()); map.put("cancelSelection", null); // FIXME: implement this one map.put("Go Up", getChangeToParentDirectoryAction()); return map; } | protected ActionMap createActionMap() { ActionMap map = new ActionMap(); map.put("approveSelection", getApproveSelectionAction()); map.put("cancelSelection", getCancelSelectionAction()); // FIXME: implement this one map.put("Go Up", getChangeToParentDirectoryAction()); return map; } | 25,762 |
protected JPanel createDetailsView(JFileChooser fc) { // FIXME: implement this. The details view is a panel containing a table // inside a JScrollPane - it gets displayed when the user clicks on the // "details" button. return new JPanel(); } | protected JPanel createDetailsView(JFileChooser fc) { // FIXME: implement this. The details view is a panel containing a table // inside a JScrollPane - it gets displayed when the user clicks on the // "details" button. fileTablePanel = new JPanel(new BorderLayout()); Object[] cols = new Object[] {"Name",... | 25,763 |
protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JScrollPane(fileList)); ... | protected JPanel createList(JFileChooser fc) { if (fileList == null) { fileListPanel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JS... | 25,764 |
protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JScrollPane(fileList)); ... | protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JScrollPane(fileList)); ... | 25,765 |
protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JScrollPane(fileList)); ... | protected JPanel createList(JFileChooser fc) { JPanel panel = new JPanel(new BorderLayout()); fileList = new JList(getModel()); fileList.setLayoutOrientation(JList.VERTICAL_WRAP); fileList.setVisibleRowCount(0); fileList.setCellRenderer(new FileRenderer()); panel.add(new JScrollPane(fileList)); ... | 25,766 |
public Dimension getMinimumSize(JComponent c) { // FIXME: not likely to be a fixed value return new Dimension(506, 326); } | public Dimension getMinimumSize(JComponent c) { // FIXME: not likely to be a fixed value Dimension tp = topPanel.getMinimumSize(); Dimension bp = bottomPanel.getMinimumSize(); Dimension bup = buttonPanel.getMinimumSize(); Dimension fl = fileList.getMinimumSize(); return new Dimension((tp.width + bp.width + bup.... | 25,767 |
public Dimension getPreferredSize(JComponent c) { // FIXME: not likely to be a fixed value return new Dimension(500, 326); } | public Dimension getPreferredSize(JComponent c) { // FIXME: not likely to be a fixed value Dimension tp = topPanel.getPreferredSize(); Dimension bp = bottomPanel.getPreferredSize(); Dimension bup = buttonPanel.getPreferredSize(); Dimension fl = fileList.getPreferredSize(); return new Dimension((tp.width + bp.wi... | 25,768 |
public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ... | public void installComponents(JFileChooser fc) { fc.setLayout(new BorderLayout()); topPanel = new JPanel(new BorderLayout()); topPanel.add(new JLabel(directoryLabel), BorderLayout.WEST); this.controls = new JPanel(); addControlButtons(); JPanel dirPanel = new JPanel(new VerticalMidLayout()); ... | 25,769 |
protected void installListeners(JFileChooser fc) { directoryComboBox.setAction(new DirectoryComboBoxAction()); fileList.addListSelectionListener(createListSelectionListener(fc)); fileList.addMouseListener(this.createDoubleClickListener(fc, fileList)); fileList.addMouseListener(new SingleClickListener(fil... | protected void installListeners(JFileChooser fc) { directoryComboBox.setAction(new DirectoryComboBoxAction()); fileList.addListSelectionListener(createListSelectionListener(fc)); fileList.addMouseListener(this.createDoubleClickListener(fc, fileList)); fileList.addMouseListener(new SingleClickListener(fil... | 25,770 |
public void rescanCurrentDirectory(JFileChooser fc) { // FIXME: this will need to take into account whether the list view or // the table view is current directoryModel.setSelectedItem(fc.getCurrentDirectory()); getModel().validateFileCache(); fileList.revalidate(); } | public void rescanCurrentDirectory(JFileChooser fc){// FIXME: this will need to take into account whether the list view or// the table view is currentdirectoryModel.setSelectedItem(fc.getCurrentDirectory());getModel().validateFileCache();fileList.revalidate();} | 25,773 |
public void rescanCurrentDirectory(JFileChooser fc) { // FIXME: this will need to take into account whether the list view or // the table view is current directoryModel.setSelectedItem(fc.getCurrentDirectory()); getModel().validateFileCache(); fileList.revalidate(); } | public void rescanCurrentDirectory(JFileChooser fc) { // FIXME: this will need to take into account whether the list view or // the table view is current directoryModel.setSelectedItem(fc.getCurrentDirectory()); getModel().validateFileCache(); if (!listView) updateTable(); else createList(fc); } | 25,774 |
public void valueChanged(ListSelectionEvent e) { // FIXME: implement } | public void valueChanged(ListSelectionEvent e) { // FIXME: implement } | 25,777 |
setTitle(String title){ // A null title is equivalent to an empty title this.title = (title != null) ? title : ""; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle (title); }} | setTitle(String title){ // A null title is equivalent to an empty title this.title = (title != null) ? title : ""; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle (title); }} | 25,779 |
setTitle(String title){ // A null title is equivalent to an empty title this.title = (title != null) ? title : ""; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle (title); }} | setTitle(String title){ // A null title is equivalent to an empty title this.title = (title != null) ? title : ""; if (peer != null) { DialogPeer d = (DialogPeer) peer; d.setTitle (title); }} | 25,780 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.