bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | 30,787 |
public boolean equals(Object obj) { if (obj == null) { return false; } if (!(obj instanceof DSAPublicKey)) { return false; } DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | public boolean equals(Object obj) { if (obj == null) { return false; if (!(obj instanceof DSAPublicKey)) { return false; DSAPublicKey that = (DSAPublicKey) obj; return super.equals(that) && y.equals(that.getY()); } | 30,788 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toString(16)).append(ls) .appen... | public String toString() { if (str == null) { String ls = (String) AccessController.doPrivileged (new GetPropertyAction("line.separator")); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toSt... | 30,789 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toString(16)).append(ls) .appen... | public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toString(16)).append(ls) .appen... | 30,790 |
public String toString() { if (str == null) { String ls = SystemProperties.getProperty("line.separator"); str = new StringBuilder(this.getClass().getName()).append("(") .append(super.toString()).append(",").append(ls) .append("y=0x").append(y.toString(16)).append(ls) .appen... | publicStringtoString(){if(str==null){Stringls=SystemProperties.getProperty("line.separator");str=newStringBuilder(this.getClass().getName()).append("(").append(super.toString()).append(",").append(ls).append("y=0x").append(y.toString(16)).append(ls).append(")").toString();}returnstr;} | 30,791 |
public static DSSPublicKey valueOf(byte[] k) { // try RAW codec if (k[0] == Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0]) try { return (DSSPublicKey) new DSSKeyPairRawCodec().decodePublicKey(k); } catch (IllegalArgumentException ignored) { } // try X.509 codec return (DSSPu... | publicstaticDSSPublicKeyvalueOf(byte[]k){//tryRAWcodecif(k[0]==Registry.MAGIC_RAW_DSS_PUBLIC_KEY[0])try{return(DSSPublicKey)newDSSKeyPairRawCodec().decodePublicKey(k);}catch(IllegalArgumentExceptionignored){}//tryX.509codecreturn(DSSPublicKey)newDSSKeyPairX509Codec().decodePublicKey(k);} | 30,792 |
public static TypeCode type() { if (typecode == null) { ORB orb = Restricted_ORB.Singleton; typecode = orb.create_value_box_tc(id(), "WStringValue", twString); } return typecode; } | public static TypeCode type() { if (typecode == null) { ORB orb = OrbRestricted.Singleton; typecode = orb.create_value_box_tc(id(), "WStringValue", twString); } return typecode; } | 30,793 |
public void redo() { super.redo(); try { StringContent.this.insertString(this.start, this.redoContent); } catch (BadLocationException b) { throw new CannotRedoException(); } } | public void redo() { super.redo(); try { insertString(start, redoContent); redoContent = null; if (positions != null) { updateUndoPositions(positions); positions = null; } } catch (BadLocationException b) { throw new CannotRedoException(); } } | 30,794 |
public void undo() { super.undo(); try { StringContent.this.checkLocation(this.start, this.length); this.redoContent = new String(StringContent.this.content, this.start, this.length); StringContent.this.remove(this.start, this.length); } catch ... | public void undo() { super.undo(); try { StringContent.this.checkLocation(this.start, this.length); this.redoContent = new String(StringContent.this.content, this.start, this.length); StringContent.this.remove(this.start, this.length); } catch ... | 30,795 |
public void redo() { super.redo(); try { int end = this.undoString.length(); StringContent.this.remove(this.start, end); } catch (BadLocationException bad) { throw new CannotRedoException(); } } | public void redo() { super.redo(); try { int end = this.undoString.length(); StringContent.this.remove(this.start, end); } catch (BadLocationException bad) { throw new CannotRedoException(); } } | 30,797 |
public StickyPosition(int offset) { this.offset = offset; } | public StickyPosition(int offset) { garbageCollect(); mark = new Mark(offset); mark.refCount++; marks.add(mark); new WeakReference(this, queueOfDeath); } | 30,799 |
public int getOffset() { return offset < 0 ? 0 : offset; } | public int getOffset() { return mark.mark; } | 30,800 |
public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | 30,801 |
public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); this.positions.add(sp); return sp; } | public Position createPosition(int offset) throws BadLocationException { if (offset < this.count || offset > this.count) checkLocation(offset, 0); StickyPosition sp = new StickyPosition(offset); return sp; } | 30,802 |
public void getChars(int where, int len, Segment txt) throws BadLocationException { checkLocation(where, len); txt.array = this.content; txt.offset = where; txt.count = len; } | public void getChars(int where, int len, Segment txt) throws BadLocationException { checkLocation(where, len); txt.array = this.content; txt.offset = where; txt.count = len; } | 30,803 |
protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | 30,804 |
protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | protected Vector getPositionsInRange(Vector v, int offset, int length) { Vector refPos = new Vector(); Iterator iter = this.positions.iterator(); while(iter.hasNext()) { Position p = (Position) iter.next(); if ((o... | 30,805 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 30,807 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 30,808 |
public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | public UndoableEdit insertString(int where, String str) throws BadLocationException { checkLocation(where, 0); if (where == this.count) throw new BadLocationException("Invalid location", 1); if (str == null) throw new NullPointerException(); char[] insert = str.toCharArray(); char[] temp ... | 30,809 |
public int length() { return this.count; } | public int length() { return count; } | 30,811 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 30,812 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 30,813 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 30,814 |
public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | public UndoableEdit remove(int where, int nitems) throws BadLocationException { checkLocation(where, nitems + 1); char[] temp = new char[(this.content.length - nitems)]; this.count = this.count - nitems; RemoveUndo rundo = new RemoveUndo(where, new String(this.content, where, nitems)); // Copy... | 30,815 |
protected void updateUndoPositions(Vector positions) { // We do nothing here. } | for (Iterator i = positions.iterator(); i.hasNext();) { UndoPosRef pos = (UndoPosRef) i.next(); pos.reset(); } for (Iterator i = positions.iterator(); i.hasNext();) { UndoPosRef pos = (UndoPosRef) i.next(); pos.reset(); } protectedfor (Iterator i = positions.iterator(); i.hasNext();) { UndoPosRef pos = (UndoPosRef) i.n... | 30,816 |
private void createType(Map types, ConfigurationElement element) { final String className = element.getAttribute("class"); if (className != null) { try { final Object obj = Class.forName(className).newInstance(); final FileSystemType type = (FileSystemType)obj; types.put(type.getName(), type); } catch ... | private void createType(Map types, ConfigurationElement element) { final String className = element.getAttribute("class"); if (className != null) { try { final Object obj = Class.forName(className).newInstance(); final FileSystemType type = (FileSystemType)obj; types.put(type.getName(), type); } catch ... | 30,817 |
public static final int[] G(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { // int[] w = new int[80]; // int i, T; // for (i = 0; i < 16; i++) { // w[i] = in[offset++] << 24 | // (in[offset++] & 0xFF) << 16... | public static final int[] G(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { // int[] w = new int[80]; // int i, T; // for (i = 0; i < 16; i++) { // w[i] = in[offset++] << 24 | // (in[offset++] & 0xFF) << 16 | // (in[offset++] & 0xFF) << 8 | ... | 30,818 |
protected byte[] getResult() { byte[] result = new byte[] { (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ... | protected byte[] getResult() { byte[] result = new byte[] { (byte) (h0 >>> 24), (byte) (h0 >>> 16), (byte) (h0 >>> 8), (byte) h0, (byte) (h1 >>> 24), (byte) (h1 >>> 16), (byte) (h1 >>> 8), (byte) h1, ... | 30,819 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo... | protected byte[] padBuffer() { int n = (int)(count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lon... | 30,820 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo... | protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<56)?(56-n):(120-n);byte[]result=newbyte[padding+8];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8byteslongbits=count<<3;result[padding++]=(byte)(bits>>>56);result[padding++]=(byte)(bits>>>... | 30,821 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo... | protectedbyte[]padBuffer(){intn=(int)(count%BLOCK_SIZE);intpadding=(n<56)?(56-n):(120-n);byte[]result=newbyte[padding+8];//paddingisalwaysbinary1followedbybinary0sresult[0]=(byte)0x80;//savenumberofbits,castingthelongtoanarrayof8byteslongbits=count<<3;result[padding++]=(byte)(bits>>>56);result[padding++]=(byte)(bits>>>... | 30,822 |
protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo... | protected byte[] padBuffer() { int n = (int) (count % BLOCK_SIZE); int padding = (n < 56) ? (56 - n) : (120 - n); byte[] result = new byte[padding + 8]; // padding is always binary 1 followed by binary 0s result[0] = (byte) 0x80; // save number of bits, casting the long to an array of 8 bytes lo... | 30,823 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | private static synchronized final int[] sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 ... | 30,824 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(inthh0,inthh1,inthh2,inthh3,inthh4,byte[]in,intoffset){intA=hh0;intB=hh1;intC=hh2;intD=hh3;intE=hh4;intr,T;for(r=0;r<16;r++){w[r]=in[offset++]<<24|(in[offset++]&0xFF)<<16|(in[offset++]&0xFF)<<8|(in[offset++]&0xFF);}for(r=16;r<80;r++){T=w[r-3]^w[r-8]^w[r-14]^w[r-16];w[r]=T<<1|T>>>31;}//rounds0-19for(r=0;r<20;r++){T=... | 30,825 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,826 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,827 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,828 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,829 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,830 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | 30,831 |
sha(int hh0, int hh1, int hh2, int hh3, int hh4, byte[] in, int offset) { int A = hh0; int B = hh1; int C = hh2; int D = hh3; int E = hh4; int r, T; for (r = 0; r < 16; r++) { w[r] = in[offset++] << 24 | (in[offset++] & 0xFF) << 16 | (in[offset++] & 0xFF) << 8 | (in[off... | sha(inthh0,inthh1,inthh2,inthh3,inthh4,byte[]in,intoffset){intA=hh0;intB=hh1;intC=hh2;intD=hh3;intE=hh4;intr,T;for(r=0;r<16;r++){w[r]=in[offset++]<<24|(in[offset++]&0xFF)<<16|(in[offset++]&0xFF)<<8|(in[offset++]&0xFF);}for(r=16;r<80;r++){T=w[r-3]^w[r-8]^w[r-14]^w[r-16];w[r]=T<<1|T>>>31;}//rounds0-19for(r=0;r<20;r++){T=... | 30,832 |
protected void transform(byte[] in, int offset) { // int i, T; // for (i = 0; i < 16; i++) { // W[i] = in[offset++] << 24 | // (in[offset++] & 0xFF) << 16 | // (in[offset++] & 0xFF) << 8 | // (in[offset++] & 0xFF); // } ... | protected void transform(byte[] in, int offset) { // int i, T; // for (i = 0; i < 16; i++) { // W[i] = in[offset++] << 24 | // (in[offset++] & 0xFF) << 16 | // (in[offset++] & 0xFF) << 8 | // (in[offset++] & 0xFF); // } // for (i = 16; i < 80; i++) { ... | 30,833 |
protected void transform(byte[] in, int offset) { // int i, T; // for (i = 0; i < 16; i++) { // W[i] = in[offset++] << 24 | // (in[offset++] & 0xFF) << 16 | // (in[offset++] & 0xFF) << 8 | // (in[offset++] & 0xFF); // } ... | protectedvoidtransform(byte[]in,intoffset){//inti,T;//for(i=0;i<16;i++){//W[i]=in[offset++]<<24|//(in[offset++]&0xFF)<<16|//(in[offset++]&0xFF)<<8|//(in[offset++]&0xFF);//}//for(i=16;i<80;i++){//T=W[i-3]^W[i-8]^W[i-14]^W[i-16];//W[i]=T<<1|T>>>31;//}//int[]result=sha(h0,h1,h2,h3,h4,in,offset,W);int[]result=sha(h0,h1,h2,... | 30,834 |
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; TreeModel mod = tree.getModel(); setM... | 30,836 |
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | publicvoidinstallUI(JComponentc) { super.installUI(c); installDefaults((JTree)c); tree=(JTree)c;cellEditor=createDefaultCellEditor();currentCellRenderer=createDefaultCellRenderer();rendererPane=createCellRendererPane();createdRenderer=true;createdCellEditor=true;TreeModelmod=tree.getModel();setModel(mod);tree.setRo... | 30,837 |
public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | public void installUI(JComponent c) { super.installUI(c); installDefaults((JTree) c); tree = (JTree) c; cellEditor = createDefaultCellEditor(); currentCellRenderer = createDefaultCellRenderer(); rendererPane = createCellRendererPane(); createdRenderer = true; createdCellEditor = true; ... | 30,838 |
protected TreeCellEditor createDefaultCellEditor() { if (currentCellRenderer != null) return new DefaultTreeCellEditor(tree, (DefaultTreeCellRenderer) currentCellRenderer, cellEditor); return new DefaultTreeCellEditor(tree, (DefaultT... | protected TreeCellEditor createDefaultCellEditor() { if (currentCellRenderer != null) return new DefaultTreeCellEditor(tree, (DefaultTreeCellRenderer) currentCellRenderer, cellEditor); return new DefaultTreeCellEditor(tree, (DefaultT... | 30,840 |
protected void installKeyboardActions() { } | protected void installKeyboardActions() { } | 30,842 |
public abstract void addTreeModelListener(TreeModelListener listener); | public abstract void addTreeModelListener(TreeModelListener listener); | 30,843 |
public abstract Object getRoot(); | public abstract Object getRoot(); | 30,844 |
public abstract void removeTreeModelListener(TreeModelListener listener); | public abstract void removeTreeModelListener(TreeModelListener listener); | 30,846 |
public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ... | public boolean implies(Permission perm) { SocketPermission p; // First make sure we are the right object type if (perm instanceof SocketPermission) p = (SocketPermission) perm; else return false; // Next check the actions String ourlist = getActions(); String theirlist = ... | 30,847 |
public Image() { } | public Image() { } | 30,849 |
public Image getScaledInstance(int width, int height, int flags) { throw new Error("not implemented"); } | public Image getScaledInstance(int width, int height, int flags) { throw new Error("not implemented"); } | 30,850 |
private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | 30,852 |
private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | private void paintNorthBorderFreeStanding(Graphics g, int w, int h) { if (isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(0, 0, w - 2, 0); g.drawLine(0, 0, 0, h - 1); g.drawLine(2, h - 1, w - 2, h - 1); g.drawLine(w - 2, 2, w - 2, h - 1); ... | 30,853 |
protected int[] layerToRange (Integer layer) { int[] ret = new int[2]; ret[1] = getComponents ().length; Iterator i = layers.entrySet ().iterator (); while (i.hasNext()) { Map.Entry pair = (Map.Entry) i.next(); Integer layerNum = (Integer) pair.getKey (); Integer layerSz = (Integ... | protected int[] layerToRange (Integer layer) { int[] ret = new int[2]; ret[1] = getComponents ().length; Iterator i = layers.entrySet ().iterator (); while (i.hasNext()) { Map.Entry pair = (Map.Entry) i.next(); Integer layerNum = (Integer) pair.getKey (); Integer layerSz = (Integ... | 30,854 |
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (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 targ = top +... | public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (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 targ = Math.... | 30,855 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,856 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,857 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,858 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractU... | 30,859 |
protected void doResolve(AbstractVmClassLoader clc) { getConstClass().resolve(clc); doResolveMember(clc); cachedHashCode = VmMember.calcHashCode(getName(), getSignature()); } | protected void doResolve(AbstractVmClassLoader clc) { getConstClass().resolve(clc); doResolveMember(clc); cachedHashCode = VmMember.calcHashCode(getName(), getSignature()); } | 30,860 |
protected abstract void doResolve(AbstractVmClassLoader clc); | protected abstract void doResolve(AbstractVmClassLoader clc); | 30,861 |
protected AccessibleJFileChooser(JFileChooser component) { super(component); // TODO } // AccessibleJFileChooser() | protected AccessibleJFileChooser(JFileChooser component) { super(component); // TODO } // AccessibleJFileChooser() | 30,862 |
public AccessibleRole getAccessibleRole() { return AccessibleRole.FILE_CHOOSER; } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return AccessibleRole.FILE_CHOOSER; } // getAccessibleRole() | 30,863 |
public AccessibleRole getAccessibleRole() { return AccessibleRole.FILE_CHOOSER; } // getAccessibleRole() | public AccessibleRole getAccessibleRole() { return AccessibleRole.FILE_CHOOSER; } // getAccessibleRole() | 30,864 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJFileChooser(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJFileChooser(this); } // if return accessibleContext; } // getAccessibleContext() | 30,865 |
public FSEntry getEntry(String name) throws IOException{ //parse the directory and search for the file FSEntryIterator iterator=iterator(); while(iterator.hasNext()) { FSEntry entry = (FSEntry)iterator.next(); if(entry.getName().equals(name)) return entry; } return null; } | public FSEntry getEntry(String name) throws IOException{ //parse the directory and search for the file FSEntryIterator iterator=iterator(); while(iterator.hasNext()) { FSEntry entry = (FSEntry)iterator.next(); if(entry.getName().equals(name)) return entry; } return null; } | 30,866 |
public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getINode()), //so synchronize to the inode synchronized(iNode) { ... | public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //a single inode may be represented by more than one Ext2Directory instances, //but each will use the same instance of the underlying inode (see Ext2FileSystem.getINode()), //so synchronize to the inode synchronized(iNode) { ... | 30,867 |
Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) return tests[0]; } return null; } | Test getNodeTest(Expr expr) { if (expr instanceof Selector) { Selector selector = (Selector) expr; Test[] tests = selector.getTests(); if (tests.length > 0) return tests[0]; } return null; } | 30,868 |
public JIFSDirectory(String name) { this(); label = name; } | public JIFSDirectory(String name) { this(); label = name; } | 30,869 |
public long getLastModified() { return 0; } | public long getLastModified() { return System.currentTimeMillis(); } | 30,870 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children long sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pr... | 30,871 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | 30,872 |
private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | private static void adjustGreater(int allocated, SizeRequirements[] children, int[] spans, int span) { // Sum up (maxSize - prefSize) over all children int sumDelta = 0; for (int i = 0; i < children.length; i++) { sumDelta += children[i].maximum - children[i].pre... | 30,873 |
getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | getTiledSizeRequirements(SizeRequirements[] children) { long minimum = 0; long preferred = 0; long maximum = 0; for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } ... | 30,874 |
getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | getTiledSizeRequirements(SizeRequirements[] children) { SizeRequirements result = new SizeRequirements(); for (int i = 0; i < children.length; i++) { result.minimum += children[i].minimum; result.preferred += children[i].preferred; result.maximum += children[i].maximum; } retu... | 30,875 |
private final boolean expect (String source, ParsePosition pos, char ch) { int x = pos.getIndex(); boolean r = x < source.length() && source.charAt(x) == ch; if (r) pos.setIndex(x + 1); else pos.setErrorIndex(x); return r; } | private boolean expect(String source, ParsePosition pos, char ch) { int x = pos.getIndex(); boolean r = x < source.length() && source.charAt(x) == ch; if (r) pos.setIndex(x + 1); else pos.setErrorIndex(x); return r; } | 30,877 |
final private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (ite... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 30,878 |
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months... | private static boolean equals (Object x, Object y) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(mont... | 30,879 |
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months... | public boolean equals (Object obj) { if (x == y) return true; if (x == null || y == null) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, o... | 30,880 |
public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months... | public boolean equals (Object obj) { if (! (obj instanceof DateFormatSymbols)) return false; DateFormatSymbols other = (DateFormatSymbols) obj; return (equals(ampms, other.ampms) && equals(eras, other.eras) && equals(localPatternChars, other.localPatternChars) && equals(months, other.months... | 30,881 |
public final String getDisplayName(boolean dst, int style) { return (getDisplayName(dst, style, Locale.getDefault())); } | public final String getDisplayName(boolean dst, int style) { return (getDisplayName(dst, style, Locale.getDefault())); } | 30,882 |
public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); } | private static int hashCode (Object x) { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); } | 30,883 |
public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); } | public int hashCode () { return (hashCode(ampms) ^ hashCode(eras) ^ hashCode(localPatternChars) ^ hashCode(months) ^ hashCode(shortMonths) ^ hashCode(shortWeekdays) ^ hashCode(weekdays) ^ hashCode(zoneStrings)); } | 30,884 |
public abstract Date parse (String source, ParsePosition pos); | public abstract Date parse (String source, ParsePosition pos); | 30,885 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,886 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,887 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,888 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,889 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,890 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,891 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,892 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,893 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,894 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,895 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,896 |
protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | protected void ArrangeGrid (Container parent) { Component[] components = parent.getComponents(); if (components.length == 0) return; GridBagLayoutInfo info = getLayoutInfo (parent, PREFERREDSIZE); if (info.cols == 0 && info.rows == 0) return; // DEBUG //dumpLayoutInfo ... | 30,897 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.