bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir... | public FSEntry createDirectoryEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Dir... | 21,535 |
public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director... | public FSEntry createFileEntry(String name) throws IOException { if(!canWrite()) throw new IOException("Filesystem or directory is mounted read-only!"); //create a new iNode for the file //TODO: access rights, file type, UID and GID should be passed through the FSDirectory interface INode newINode; Ext2Director... | 21,536 |
public ClassNotFoundException() { super(); } | public ClassNotFoundException() { super(); } | 21,537 |
public int columnAtPoint(Point point) { if (point != null) { int x0 = getLocation().x; int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { ... | public int columnAtPoint(Point point) { if (point != null) { int ncols = getColumnCount(); Dimension gap = getIntercellSpacing(); TableColumnModel cols = getColumnModel(); int x = point.x; for (int i = 0; i < ncols; ++i) { int width = cols.getCol... | 21,539 |
private static int[] getSelections(ListSelectionModel lsm) { int sz = countSelections(lsm); int [] ret = new int[sz]; int lo = lsm.getMinSelectionIndex(); int hi = lsm.getMaxSelectionIndex(); int j = 0; java.util.ArrayList ls = new java.util.ArrayList(); if (lo != -1 && hi != -1) { s... | private static int[] getSelections(ListSelectionModel lsm) { int sz = countSelections(lsm); int [] ret = new int[sz]; int lo = lsm.getMinSelectionIndex(); int hi = lsm.getMaxSelectionIndex(); int j = 0; if (lo != -1 && hi != -1) { switch (lsm.getSelectionMode()) { ... | 21,540 |
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b... | public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b... | 21,541 |
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b... | public Component prepareRenderer(TableCellRenderer renderer, int row, int column) { boolean rsa = getRowSelectionAllowed(); boolean csa = getColumnSelectionAllowed(); boolean rs = rsa ? getSelectionModel().isSelectedIndex(row) : false; b... | 21,542 |
public int rowAtPoint(Point point) { if (point != null) { int y0 = getLocation().y; int nrows = getRowCount(); int height = getRowHeight(); int y = point.y; for (int i = 0; i < nrows; ++i) { if (0 <= y && y < height) return i; y -... | public int rowAtPoint(Point point) { if (point != null) { int nrows = getRowCount(); int height = getRowHeight(); int y = point.y; for (int i = 0; i < nrows; ++i) { if (0 <= y && y < height) return i; y -= height; } ... | 21,543 |
public byte[] getEncoded() { if (encoded == null) { List bc = new ArrayList (2); bc.add (new DERValue (DER.BOOLEAN, new Boolean (ca))); if (pathLenConstraint >= 0) bc.add (new DERValue (DER.INTEGER, BigInteger.valueOf ((long) pathLenConstraint))); ... | public byte[] getEncoded() { if (encoded == null) { List bc = new ArrayList (2); bc.add (new DERValue (DER.BOOLEAN, Boolean.valueOf (ca))); if (pathLenConstraint >= 0) bc.add (new DERValue (DER.INTEGER, BigInteger.valueOf ((long) pathLenConstraint)... | 21,544 |
public TreePath[] getPaths() { return paths; } // getPaths() | public TreePath[] getPaths() { return paths; } // getPaths() | 21,545 |
public boolean isAddedPath() { return false; // TODO } // isAddedPath() | public boolean isAddedPath() { return false; // TODO } // isAddedPath() | 21,546 |
private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""... | private Date makeTime(int tag, byte[] value) throws IOException { Calendar calendar = Calendar.getInstance(); String str = makeString(PRINTABLE_STRING, value); // Classpath's SimpleDateFormat does not work for parsing these // types of times, so we do this by hand. String date = str; String tz = ""... | 21,548 |
public ClassFormatError() { super(); } | public ClassFormatError() { super(); } | 21,549 |
final private String capitalize(String s) { return s.substring(0, 1).toUpperCase() + s.substring(1); } | private String capitalize(String s) { return s.substring(0, 1).toUpperCase() + s.substring(1); } | 21,551 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; ResponseHandlerImpl i_handler = null; try... | 21,552 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,553 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,554 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,555 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,556 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,557 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,558 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,559 |
public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | public OutputStream _invoke(String method, InputStream input, ResponseHandler r_handler ) throws SystemException { boolean intercept = false; ServerRequestInterceptorOperations interceptor = null; gnuServerRequestInfo info = null; bufferedResponseHandler i_handler = null; ... | 21,560 |
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru... | public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IorObject) { IOR_contructed_object ... | 21,561 |
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru... | public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IorObject ... | 21,562 |
public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru... | public boolean _is_equivalent(org.omg.CORBA.Object other) { if (other instanceof gnuServantObject) { gnuServantObject g = (gnuServantObject) other; return orb == g.orb && poa == g.poa && Arrays.equals(Id, g.Id); } else if (other instanceof IOR_contructed_object) { IOR_contru... | 21,563 |
public InvokeHandler servantToHandler(Servant a_servant) { if (a_servant instanceof InvokeHandler) { return (InvokeHandler) a_servant; } else if (a_servant instanceof DynamicImplementation) { return new dynImpHandler((DynamicImplementation) a_servant); } else { ... | public InvokeHandler servantToHandler(Servant a_servant) { if (a_servant instanceof InvokeHandler) { return (InvokeHandler) a_servant; } else if (a_servant instanceof DynamicImplementation) { return new DynamicImpHandler((DynamicImplementation) a_servant); } else { ... | 21,564 |
public byte[] idFormIor(byte[] ior_key) { cdrBufInput in = new cdrBufInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] object_id = in.read_sequence(); byte[] poa_id = in.read_sequence(); if (Arrays.equals(poa_id, id())) return object_id; el... | public byte[] idFormIor(byte[] ior_key) { BufferredCdrInput in = new BufferredCdrInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] object_id = in.read_sequence(); byte[] poa_id = in.read_sequence(); if (Arrays.equals(poa_id, id())) return obje... | 21,565 |
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IorObject) { IOR_contructed_object iref = (IOR_contructed_object) fto; ... | 21,566 |
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IorObject iref = (IorObject) fto; // Check m... | 21,567 |
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | 21,568 |
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | 21,569 |
public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | public static Servant create(org.omg.CORBA.Object a_ref) { try { ObjectImpl fto = (ObjectImpl) a_ref; // Check maybe the remote side forwarded back to our local object. if (fto instanceof IOR_contructed_object) { IOR_contructed_object iref = (IOR_contructed_object) ft... | 21,570 |
public Servant id_to_servant(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { if (applies(ServantRetentionPolicyValue.RETAIN)) { activeObjectMap.Obj ref = aom.get(the_Object_Id); if (ref == null || ref.isDeactiveted()) { if (default_servant ... | public Servant id_to_servant(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.get(the_Object_Id); if (ref == null || ref.isDeactiveted()) { if (default_servant != null) ... | 21,571 |
EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verifying entry " + entr... | EntryInputStream(final ZipEntry entry, final InputStream in, final JarFile jar) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verif... | 21,572 |
EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr = manifest.getAttributes(entry.getName()); if (DEBUG) debug("verifying entry " + entr... | EntryInputStream(final ZipEntry entry, final InputStream in) throws IOException { super(in); this.entry = entry; length = entry.getSize(); pos = 0; checked = false; Attributes attr; Manifest manifest = jarfile.getManifest(); if (manifest != null) attr = manifest.getAttributes(e... | 21,573 |
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(... | private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(... | 21,574 |
private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(... | private void eof() throws IOException { if (checked) return; checked = true; for (int i = 0; i < md.length; i++) { byte[] hash = md[i].digest(); if (DEBUG) debug("verifying " + md[i].getAlgorithm() + " expect=" + new java.math.BigInteger(... | 21,575 |
JarEnumeration(Enumeration e) { entries = e; } | JarEnumeration(Enumeration e, JarFile f) { entries = e; } | 21,576 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = jarfile.getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(j... | 21,578 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,579 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,580 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,581 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,582 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,583 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,584 |
public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | public Object nextElement() { ZipEntry zip = (ZipEntry) entries.nextElement(); JarEntry jar = new JarEntry(zip); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jar.attr = manifest.getAttributes(jar.getNa... | 21,585 |
private static void debug(Object msg) { System.err.print(JarFile.class.getName()); System.err.print(" >>> "); System.err.println(msg); } | static void debug(Object msg) { System.err.print(JarFile.class.getName()); System.err.print(" >>> "); System.err.println(msg); } | 21,587 |
public Enumeration entries() throws IllegalStateException { return new JarEnumeration(super.entries()); } | public Enumeration entries() throws IllegalStateException { return new JarEnumeration(super.entries(), this); } | 21,588 |
public ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry.attr = manife... | public synchronized ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry.... | 21,589 |
public ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry.attr = manife... | public ZipEntry getEntry(String name) { ZipEntry entry = super.getEntry(name); if (entry != null) { JarEntry jarEntry = new JarEntry(entry); Manifest manifest; try { manifest = getManifest(); } catch (IOException ioe) { manifest = null; } if (manifest != null) { jarEntry.attr = manife... | 21,590 |
public synchronized InputStream getInputStream(ZipEntry entry) throws ZipException, IOException { // If we haven't verified the hash, do it now. if (!verified.containsKey(entry.getName()) && verify) { if (DEBUG) debug("reading and verifying " + entry); return new EntryInputStream... | public synchronized InputStream getInputStream(ZipEntry entry) throws ZipException, IOException { // If we haven't verified the hash, do it now. if (!verified.containsKey(entry.getName()) && verify) { if (DEBUG) debug("reading and verifying " + entry); return new EntryInputStream... | 21,591 |
public synchronized InputStream getInputStream(ZipEntry entry) throws ZipException, IOException { // If we haven't verified the hash, do it now. if (!verified.containsKey(entry.getName()) && verify) { if (DEBUG) debug("reading and verifying " + entry); return new EntryInputStream... | public synchronized InputStream getInputStream(ZipEntry entry) throws ZipException, IOException { // If we haven't verified the hash, do it now. if (!verified.containsKey(entry.getName()) && verify) { if (DEBUG) debug("reading and verifying " + entry); return new EntryInputStream... | 21,592 |
public Manifest getManifest() throws IOException { if (!manifestRead) manifest = readManifest(); return manifest; } | public synchronized Manifest getManifest() throws IOException { if (!manifestRead) manifest = readManifest(); return manifest; } | 21,593 |
public void deinstall(JTextComponent c) { parent.removeFocusListener(this); parent.removeMouseListener(this); parent = null; } | public void deinstall(JTextComponent c) { parent.removeFocusListener(this); parent.removeMouseListener(this); parent = null; } | 21,594 |
public int getBlinkRate() { return blink; } | public int getBlinkRate() { return blinkRate; } | 21,595 |
protected final JTextComponent getComponent() { return parent; } | protected final JTextComponent getComponent() { return textComponent; } | 21,596 |
public Point getMagicCaretPosition() { return magic; } | public Point getMagicCaretPosition() { return magicCaretPosition; } | 21,597 |
public void install(JTextComponent c) { parent.addFocusListener(this); parent.addMouseListener(this); parent = c; repaint(); } | public void install(JTextComponent c) { parent.addFocusListener(this); parent.addMouseListener(this); parent = c; repaint(); } | 21,598 |
public boolean isSelectionVisible() { return vis_sel; } | public boolean isSelectionVisible() { return selectionVisible; } | 21,599 |
public boolean isVisible() { return vis; } | public boolean isVisible() { return visible; } | 21,600 |
public void moveDot(int dot) { setDot(dot); } | public void moveDot(int dot) { this.dot = dot; handleHighlight(); repaint(); } | 21,601 |
public void paint(Graphics g) { g.setColor(color); g.drawLine(x, y, x, y + height); } | public void paint(Graphics g) { g.setColor(color); g.drawLine(x, y, x, y + height); } | 21,602 |
protected final void repaint() { if (parent != null) parent.repaint(); } | protected final void repaint() { if (parent != null) parent.repaint(); } | 21,603 |
public void setBlinkRate(int rate) { blink = rate; } | public void setBlinkRate(int rate) { blinkRate = rate; } | 21,604 |
public void setMagicCaretPosition(Point p) { magic = p; } | public void setMagicCaretPosition(Point p) { magicCaretPosition = p; } | 21,606 |
public void setSelectionVisible(boolean v) { vis_sel = v; repaint(); } | public void setSelectionVisible(boolean v) { if (selectionVisible == v) return; selectionVisible = v; handleHighlight(); repaint(); } | 21,607 |
public void setVisible(boolean v) { vis = v; repaint(); } | public void setVisible(boolean v) { visible = v; repaint(); } | 21,608 |
private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | 21,609 |
private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | 21,610 |
private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | private static void generateCode(AbstractX86Stream os, String className) throws MalformedURLException, ClassNotFoundException { //VmByteCode code = loadByteCode(className, "arithOptIntx"); //VmByteCode code = loadByteCode(className, "simpleWhile"); VmByteCode code = loadByteCode(className, "terniary2"); ... | 21,612 |
public void hide() { JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane(); layeredPane.remove(panel); } | public void hide() { JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane(); layeredPane.remove(panel); } | 21,616 |
public void show() { JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane(); // We insert a JPanel between the layered pane and the contents so we // can fiddle with the setLocation() method without disturbing a // JPopupMenu (which o... | public void show() { JRootPane rootPane = SwingUtilities.getRootPane(owner); JLayeredPane layeredPane = rootPane.getLayeredPane(); // We insert a JPanel between the layered pane and the contents so we // can fiddle with the setLocation() method without disturbing a // JPopupMenu (which o... | 21,617 |
public void addActionListener(ActionListener l) { editor.addActionListener(l); } | public void addActionListener(ActionListener l) { listener.addListener(l); } | 21,619 |
public void removeActionListener(ActionListener l) { editor.removeActionListener(l); } | public void removeActionListener(ActionListener l) { listener.removeListener(l); } | 21,620 |
public ORB_1_4() { super(); try { rootPOA = new gnuPOA(null, "RootPOA", null, policySets.rootPoa(), this); } catch (InvalidPolicy ex) { // Invalid default policy set. InternalError ierr = new InternalError(); ierr.initCause(ex); throw ierr; } initial... | public ORB_1_4() { super(); try { rootPOA = new gnuPOA(null, "RootPOA", null, StandardPolicies.rootPoa(), this); } catch (InvalidPolicy ex) { // Invalid default policy set. InternalError ierr = new InternalError(); ierr.initCause(ex); throw ierr; } i... | 21,622 |
protected IOR createIOR(cObject ref) throws BAD_OPERATION { IOR ior = super.createIOR(ref); if (iIor != null) { activeObjectMap.Obj obj = rootPOA.findIorKey(ior.key); POA poa; // Null means that the object was connected to the ORB directly. if (obj == null) poa = ro... | protected IOR createIOR(cObject ref) throws BAD_OPERATION { IOR ior = super.createIOR(ref); if (iIor != null) { AOM.Obj obj = rootPOA.findIorKey(ior.key); POA poa; // Null means that the object was connected to the ORB directly. if (obj == null) poa = rootPOA; ... | 21,623 |
public String object_to_string(org.omg.CORBA.Object forObject) { try { return super.object_to_string(forObject); } catch (Exception ex) { try { activeObjectMap.Obj exists = rootPOA.findObject(forObject); if (exists == null) throw new OBJE... | public String object_to_string(org.omg.CORBA.Object forObject) { try { return super.object_to_string(forObject); } catch (Exception ex) { try { AOM.Obj exists = rootPOA.findObject(forObject); if (exists == null) throw new OBJECT_NOT_EXIST... | 21,624 |
public gnuPOA(gnuPOA a_parent, String a_name, POAManager a_manager, Policy[] a_policies, ORB_1_4 an_orb ) throws InvalidPolicy { // Add default policies. Policy[] all_policies = policySets.withDefault(a_policies); name = a_name; parent = a_parent; m_orb = an_orb; ... | public gnuPOA(gnuPOA a_parent, String a_name, POAManager a_manager, Policy[] a_policies, ORB_1_4 an_orb ) throws InvalidPolicy { // Add default policies. Policy[] all_policies = StandardPolicies.withDefault(a_policies); name = a_name; parent = a_parent; m_orb = an_... | 21,625 |
public gnuPOA(gnuPOA a_parent, String a_name, POAManager a_manager, Policy[] a_policies, ORB_1_4 an_orb ) throws InvalidPolicy { // Add default policies. Policy[] all_policies = policySets.withDefault(a_policies); name = a_name; parent = a_parent; m_orb = an_orb; ... | public gnuPOA(gnuPOA a_parent, String a_name, POAManager a_manager, Policy[] a_policies, ORB_1_4 an_orb ) throws InvalidPolicy { // Add default policies. Policy[] all_policies = policySets.withDefault(a_policies); name = a_name; parent = a_parent; m_orb = an_orb; ... | 21,626 |
public activeObjectMap.Obj findIorKey(byte[] ior_key) { cdrBufInput in = new cdrBufInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] id = in.read_sequence(); byte[] poa = in.read_sequence(); return findKey(id, poa); } | public AOM.Obj findIorKey(byte[] ior_key) { cdrBufInput in = new cdrBufInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] id = in.read_sequence(); byte[] poa = in.read_sequence(); return findKey(id, poa); } | 21,627 |
public activeObjectMap.Obj findIorKey(byte[] ior_key) { cdrBufInput in = new cdrBufInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] id = in.read_sequence(); byte[] poa = in.read_sequence(); return findKey(id, poa); } | public activeObjectMap.Obj findIorKey(byte[] ior_key) { BufferredCdrInput in = new BufferredCdrInput(ior_key); int signature = in.read_long(); if (signature != SIGNATURE) return null; byte[] id = in.read_sequence(); byte[] poa = in.read_sequence(); return findKey(id, poa); } | 21,628 |
public void destroy(boolean etherealize_objects, boolean wait_for_completion) { if (wait_for_completion) waitWhileRunning(); // Put the brake instead of manager, preventing the subsequent // requests. gnuPOAManager g = new gnuPOAManager(); g.state = State.INACTIVE; m_manager = g; // Disconn... | public void destroy(boolean etherealize_objects, boolean wait_for_completion) { if (wait_for_completion) waitWhileRunning(); // Put the brake instead of manager, preventing the subsequent // requests. gnuPOAManager g = new gnuPOAManager(); g.state = State.INACTIVE; m_manager = g; // Disconn... | 21,629 |
public activeObjectMap.Obj findServant(Servant servant) { activeObjectMap.Obj h = aom.findServant(servant); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findServant(servant); if (h != null) ... | public AOM.Obj findServant(Servant servant) { activeObjectMap.Obj h = aom.findServant(servant); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findServant(servant); if (h != null) return ... | 21,630 |
public activeObjectMap.Obj findServant(Servant servant) { activeObjectMap.Obj h = aom.findServant(servant); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findServant(servant); if (h != null) ... | public activeObjectMap.Obj findServant(Servant servant) { AOM.Obj h = aom.findServant(servant); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findServant(servant); if (h != null) return ... | 21,631 |
public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = null; if (!applies(IdUniqueness... | public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj exists = null; if (!applies(IdUniquenessPolicyValue.... | 21,632 |
public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = null; if (!applies(IdUniqueness... | public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = null; if (!applies(IdUniqueness... | 21,633 |
public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = null; if (!applies(IdUniqueness... | public org.omg.CORBA.Object servant_to_reference(Servant the_Servant) throws ServantNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = null; if (!applies(IdUniqueness... | 21,634 |
public void caretUpdate(CaretEvent value0) { // TODO } | public void caretUpdate(CaretEvent e) { // TODO } | 21,636 |
public void changedUpdate(DocumentEvent value0) { // TODO } | public void changedUpdate(DocumentEvent e) { // TODO } | 21,638 |
public AccessibleRole getAccessibleRole() { return null; // TODO } | public AccessibleRole getAccessibleRole() { return AccessibleRole.TEXT; // TODO } | 21,639 |
public AccessibleStateSet getAccessibleStateSet() { return null; // TODO } | public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet state = super.getAccessibleStateSet(); return state; // TODO } | 21,640 |
public AccessibleText getAccessibleText() { return null; // TODO } | public AccessibleText getAccessibleText() { return this; // TODO } | 21,641 |
public String getAfterIndex(int value0, int value1) { return null; // TODO } | public String getAfterIndex(int part, int index) { return null; // TODO } | 21,642 |
public String getAtIndex(int value0, int value1) { return null; // TODO } | public String getAtIndex(int part, int index) { return null; // TODO } | 21,643 |
public String getBeforeIndex(int value0, int value1) { return null; // TODO } | public String getBeforeIndex(int part, int index) { return null; // TODO } | 21,644 |
public int getCaretPosition() { return 0; // TODO } | public int getCaretPosition() { dot = textComp.getCaretPosition(); return dot; // TODO } | 21,645 |
public int getCharCount() { return 0; // TODO } | public int getCharCount() { return textComp.getText().length(); // TODO } | 21,646 |
public AttributeSet getCharacterAttribute(int value0) { return null; // TODO } | public AttributeSet getCharacterAttribute(int index) { return null; // TODO } | 21,647 |
public Rectangle getCharacterBounds(int value0) { return null; // TODO } | public Rectangle getCharacterBounds(int index) { return null; // TODO } | 21,648 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.