bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected void fireMenuDragMouseDragged(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseDragged() | protected void fireMenuDragMouseDragged(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseDragged() | 21,823 |
protected void fireMenuDragMouseEntered(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseEntered() | protected void fireMenuDragMouseEntered(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseEntered() | 21,824 |
protected void fireMenuDragMouseExited(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseExited() | protected void fireMenuDragMouseExited(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseExited() | 21,825 |
protected void fireMenuDragMouseReleased(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseReleased() | protected void fireMenuDragMouseReleased(MenuDragMouseEvent event) { // TODO } // fireMenuDragMouseReleased() | 21,826 |
protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO } // fireMenuKeyPressed() | protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO } // fireMenuKeyPressed() | 21,827 |
protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO } // fireMenuKeyPressed() | protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO } // fireMenuKeyPressed() | 21,828 |
protected void fireMenuKeyReleased(MenuKeyEvent event) { // TODO } // fireMenuKeyReleased() | protected void fireMenuKeyReleased(MenuKeyEvent event) { // TODO } // fireMenuKeyReleased() | 21,829 |
protected void fireMenuKeyReleased(MenuKeyEvent event) { // TODO } // fireMenuKeyReleased() | protected void fireMenuKeyReleased(MenuKeyEvent event) { // TODO } // fireMenuKeyReleased() | 21,830 |
protected void fireMenuKeyTyped(MenuKeyEvent event) { // TODO } // fireMenuKeyTyped() | protected void fireMenuKeyTyped(MenuKeyEvent event) { // TODO } // fireMenuKeyTyped() | 21,831 |
protected void fireMenuKeyTyped(MenuKeyEvent event) { // TODO } // fireMenuKeyTyped() | protected void fireMenuKeyTyped(MenuKeyEvent event) { // TODO } // fireMenuKeyTyped() | 21,832 |
public KeyStroke getAccelerator() { return null; // TODO } // getAccelerator() | public KeyStroke getAccelerator() { return null; // TODO } // getAccelerator() | 21,833 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | 21,834 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); // if return accessibleContext; // getAccessibleContext() | 21,835 |
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJMenuItem(this); } // if return accessibleContext; } // getAccessibleContext() | 21,836 |
public Component getComponent() { return null; // TODO } // getComponent() | public Component getComponent() { return null; // TODO } // getComponent() | 21,837 |
public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | public MenuElement[] getSubElements() { return null; // TODO } // getSubElements() | 21,838 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 21,839 |
public String getUIClassID() { return uiClassID; } // getUIClassID() | public String getUIClassID() { return uiClassID; } // getUIClassID() | 21,840 |
protected void init(String text, Icon icon) { // TODO } // init() | protected void init(String text, Icon icon) { // TODO } // init() | 21,841 |
protected void init(String text, Icon icon) { // TODO } // init() | protected void init(String text, Icon icon) { // TODO } // init() | 21,842 |
public boolean isArmed() { return false; // TODO } // isArmed() | public boolean isArmed() { return false; // TODO } // isArmed() | 21,843 |
public void menuSelectionChanged(boolean changed) { // TODO } // menuSelectionChanged() | public void menuSelectionChanged(boolean changed) { // TODO } // menuSelectionChanged() | 21,844 |
protected String paramString() { return null; // TODO } // paramString() | protected String paramString() { return null; // TODO } // paramString() | 21,845 |
public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | 21,846 |
public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | public void processKeyEvent(KeyEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processKeyEvent() | 21,847 |
public void processMenuDragMouseEvent(MenuDragMouseEvent event) { // TODO } // processMenuDragMouseEvent() | public void processMenuDragMouseEvent(MenuDragMouseEvent event) { // TODO } // processMenuDragMouseEvent() | 21,848 |
public void processMenuKeyEvent(MenuKeyEvent event) { // TODO } // processMenuKeyEvent() | public void processMenuKeyEvent(MenuKeyEvent event) { // TODO } // processMenuKeyEvent() | 21,849 |
public void processMenuKeyEvent(MenuKeyEvent event) { // TODO } // processMenuKeyEvent() | public void processMenuKeyEvent(MenuKeyEvent event) { // TODO } // processMenuKeyEvent() | 21,850 |
public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processMouseEvent() | public void processMouseEvent(MouseEvent event, MenuElement[] path, MenuSelectionManager manager) { // TODO } // processMouseEvent() | 21,851 |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | 21,852 |
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO } // readObject() | 21,853 |
public void removeMenuDragMouseListener(MenuDragMouseListener listener) { // TODO } // removeMenuDragMouseListener() | public void removeMenuDragMouseListener(MenuDragMouseListener listener) { // TODO } // removeMenuDragMouseListener() | 21,854 |
public void removeMenuKeyListener(MenuKeyListener listener) { // TODO } // removeMenuKeyListener() | public void removeMenuKeyListener(MenuKeyListener listener) { // TODO } // removeMenuKeyListener() | 21,855 |
public void setAccelerator(KeyStroke keystroke) { // TODO } // setAccelerator() | public void setAccelerator(KeyStroke keystroke) { // TODO } // setAccelerator() | 21,856 |
public void setArmed(boolean armed) { // TODO } // setArmed() | public void setArmed(boolean armed) { // TODO } // setArmed() | 21,857 |
public void setEnabled(boolean enabled) { // TODO } // setEnabled() | public void setEnabled(boolean enabled) { // TODO } // setEnabled() | 21,858 |
public void setUI(MenuItemUI ui) { super.setUI(ui); // TODO } // setUI() | public void setUI(MenuItemUI ui) { super.setUI(ui); // TODO } // setUI() | 21,859 |
public void setUI(MenuItemUI ui) { super.setUI(ui); // TODO } // setUI() | public void setUI(MenuItemUI ui) { super.setUI(ui); // TODO } // setUI() | 21,860 |
public void updateUI() { setUI((MenuItemUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((MenuItemUI) UIManager.get(this)); invalidate(); } // updateUI() | 21,861 |
public void updateUI() { setUI((MenuItemUI) UIManager.get(this)); invalidate(); } // updateUI() | public void updateUI() { setUI((MenuItemUI) UIManager.get(this)); invalidate(); } // updateUI() | 21,862 |
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | 21,863 |
private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | private void writeObject(ObjectOutputStream stream) throws IOException { // TODO } // writeObject() | 21,864 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { // With the OceanTheme the button border is painted entirely different. // However, I couldn't figure out how this is determined besides checking // for instanceof OceanTheme. The button paint... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { // With the OceanTheme the button border is painted entirely different. // However, I couldn't figure out how this is determined besides checking // for instanceof OceanTheme. The button paint... | 21,865 |
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { // With the OceanTheme the button border is painted entirely different. // However, I couldn't figure out how this is determined besides checking // for instanceof OceanTheme. The button paint... | public void paintBorder(Component c, Graphics g, int x, int y, int w, int h) { // With the OceanTheme the button border is painted entirely different. // However, I couldn't figure out how this is determined besides checking // for instanceof OceanTheme. The button paint... | 21,866 |
private void paintOceanButtonBorder(Component c, Graphics g, int x, int y, int w, int h) { ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkSha... | private void paintOceanButtonBorder(Component c, Graphics g, int x, int y, int w, int h) { ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkSha... | 21,867 |
private void paintOceanButtonBorder(Component c, Graphics g, int x, int y, int w, int h) { ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkSha... | private void paintOceanButtonBorder(Component c, Graphics g, int x, int y, int w, int h) { ButtonModel bmodel = null; if (c instanceof AbstractButton) bmodel = ((AbstractButton) c).getModel(); Color darkShadow = MetalLookAndFeel.getControlDarkSha... | 21,868 |
public CombinedClassLoader(Collection a_loaders) { ArrayList sLoaders = new ArrayList(a_loaders.size()); Iterator iter = a_loaders.iterator(); Object cl; while (iter.hasNext()) { cl = iter.next(); if (!sLoaders.contains(cl)) sLoaders.add(cl); } loaders = new Cl... | public CombinedClassLoader(Collection a_loaders) { ArrayList sLoaders = new ArrayList(a_loaders.size()); Iterator iter = a_loaders.iterator(); Object cl; while (iter.hasNext()) { cl = iter.next(); if (cl!=null && !sLoaders.contains(cl)) sLoaders.add(cl); } load... | 21,869 |
public Ext2File(INode iNode) { super(iNode.getExt2FileSystem()); this.iNode=iNode; log.setLevel(Level.DEBUG); } | public Ext2File(INode iNode) { super(iNode.getExt2FileSystem()); this.iNode=iNode; log.setLevel(Level.DEBUG); } | 21,870 |
public void flush() throws IOException { log.debug("Ext2File.flush()"); iNode.update(); //update the group descriptors and superblock: needed if blocks have been //allocated or deallocated iNode.getExt2FileSystem().updateFS(); } | public void flush() throws IOException { log.debug("Ext2File.flush()"); iNode.update(); //update the group descriptors and superblock: needed if blocks have been //allocated or deallocated iNode.getExt2FileSystem().updateFS(); } | 21,871 |
public long getLength() { //log.debug("getLength(): "+iNode.getSize()); return iNode.getSize(); } | public long getLength() { //log.debug("getLength(): "+iNode.getSize()); return iNode.getSize(); } | 21,872 |
private long getLengthInBlocks() { return iNode.getSizeInBlocks(); } | private long getLengthInBlocks() { return iNode.getSizeInBlocks(); } | 21,873 |
public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchronizing to i... | public void read(long fileOffset, byte[] dest, int off, int len) throws IOException { //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchronizing to i... | 21,874 |
private void rereadInode() throws IOException{ int iNodeNr = iNode.getINodeNr(); try{ iNode = ((Ext2FileSystem)getFileSystem()).getINode(iNodeNr); }catch(FileSystemException fse) { throw new IOException(fse); } } | private void rereadInode() throws IOException{ int iNodeNr = iNode.getINodeNr(); try{ iNode = ((Ext2FileSystem)getFileSystem()).getINode(iNodeNr); }catch(FileSystemException fse) { throw new IOException(fse); } } | 21,875 |
public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and... | public void setLength(long length) throws IOException { if(!canWrite()) throw new ReadOnlyFileSystemException("FileSystem or File is readonly"); long blockSize = iNode.getExt2FileSystem().getBlockSize(); //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and... | 21,876 |
public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchronizing to i... | public void write(long fileOffset, byte[] src, int off, int len) throws IOException { //synchronize to the inode cache to make sure that the inode does not get //flushed between reading it and locking it synchronized(((Ext2FileSystem)getFileSystem()).getInodeCache()) { //reread the inode before synchronizing to i... | 21,877 |
public static Remote toStub(Remote obj) throws NoSuchObjectException { Class cls = obj.getClass(); String classname = cls.getName(); ClassLoader cl = cls.getClassLoader(); try { Class scls = cl.loadClass(classname + "_Stub"); // JDK 1.2 stubs Class[] stubprototype = new Class[] { RemoteRef.class }... | public static Remote toStub(Remote obj) throws NoSuchObjectException { Class cls = obj.getClass(); String classname = cls.getName(); ClassLoader cl = cls.getClassLoader(); try { Class scls = cl.loadClass(classname + "_Stub"); // JDK 1.2 stubs Class[] stubprototype = new Class[] { RemoteRef.class }... | 21,878 |
public static UserException readUserException(String idl, InputStream input) { try { String holder = toHelperName(idl); Class holderClass = Class.forName(holder); Method read = holderClass.getMethod("read", new Class[] ... | public static UserException readUserException(String idl, InputStream input) { try { String holder = toHelperName(idl); Class holderClass = Class.forName(holder); Method read = holderClass.getMethod("read", new Class[] ... | 21,881 |
public static UserException readUserException(String idl, InputStream input) { try { String holder = toHelperName(idl); Class holderClass = Class.forName(holder); Method read = holderClass.getMethod("read", new Class[] ... | public static UserException readUserException(String idl, InputStream input) { try { String holder = toHelperName(idl); Class holderClass = Class.forName(holder); Method read = helperClass.getMethod("read", new Class[] ... | 21,882 |
public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm... | public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm... | 21,883 |
public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { ar... | public Expr clone(Object context) Stylesheet s = stylesheet; if (context instanceof Stylesheet) s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) args2.ad... | 21,884 |
public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { ar... | public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { args... | 21,885 |
public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { ar... | public Expr clone(Object context) Stylesheet s = stylesheet; if (context instanceof Stylesheet) s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) args2.ad... | 21,886 |
public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; } DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { ar... | public Expr clone(Object context) { Stylesheet s = stylesheet; if (context instanceof Stylesheet) { s = (Stylesheet) context; DocumentFunction f = new DocumentFunction(s, base); int len = args.size(); List args2 = new ArrayList(len); for (int i = 0; i < len; i++) { args... | 21,887 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) if ("".equals(uri) || uri == null) uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) String f = uri.substring(hi + 1); uri = uri.substring(0, hi); //... | 21,888 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | 21,889 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) if ("".equals(uri) || uri == null) uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) String f = uri.substring(hi + 1); uri = uri.substring(0, hi); //... | 21,890 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | 21,891 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) if ("".equals(uri) || uri == null) uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) String f = uri.substring(hi + 1); uri = uri.substring(0, hi); //... | 21,892 |
Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); } // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | Collection document(String uri, String base) { if ("".equals(uri) || uri == null) { uri = this.base.getBaseURI(); // Get fragment Expr fragment = null; int hi = uri.indexOf('#'); if (hi != -1) { String f = uri.substring(hi + 1); uri = uri.substring(0, hi); ... | 21,893 |
public boolean references(QName var) { for (Iterator i = args.iterator(); i.hasNext(); ) { if (((Expr) i.next()).references(var)) { return true; } } return false; } | public boolean references(QName var) for (Iterator i = args.iterator(); i.hasNext(); ) if (((Expr) i.next()).references(var)) return true; } } return false; } | 21,894 |
public boolean references(QName var) { for (Iterator i = args.iterator(); i.hasNext(); ) { if (((Expr) i.next()).references(var)) { return true; } } return false; } | public boolean references(QName var) { for (Iterator i = args.iterator(); i.hasNext(); ) { if (((Expr) i.next()).references(var)) { return true; return false; } | 21,895 |
JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | 21,898 |
JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL insideif (! url.getProtocol().equals("jar")) throw new MalformedURLException(url + ": Not jar protocol."); if (!url_string.startsWith("jar:")) throw ne... | 21,899 |
JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | 21,900 |
JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | 21,901 |
JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | JarURLConnection(URL url) throws MalformedURLException{ super(url); // Now, strip off the "jar:" and everything from the "!/" to the end // to get the "real" URL inside String url_string = url.toExternalForm(); if (!url_string.startsWith("jar:")) throw new MalformedURLException(url_string); if (url_string.inde... | 21,902 |
getAttributes() throws IOException{ return(getJarEntry().getAttributes());} | getAttributes() throws IOException{ return(getJarEntry().getAttributes());} | 21,903 |
getCertificates() throws IOException{ return(getJarEntry().getCertificates());} | getCertificates() throws IOException{ return(getJarEntry().getCertificates());} | 21,904 |
getEntryName(){ return(entry_name);} | getEntryName(){ return(entry_name);} | 21,905 |
getJarEntry() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getJarEntry(entry_name));} | getJarEntry() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getJarEntry(entry_name));} | 21,906 |
getJarEntry() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getJarEntry(entry_name));} | getJarEntry() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getJarEntry(entry_name));} | 21,907 |
getJarFile() throws IOException; | getJarFile() throws IOException; | 21,908 |
getJarFileURL(){ return(real_url);} | getJarFileURL(){ return(real_url);} | 21,909 |
getMainAttributes() throws IOException{ return(getManifest().getMainAttributes());} | getMainAttributes() throws IOException{ return(getManifest().getMainAttributes());} | 21,910 |
getManifest() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getManifest());} | getManifest() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getManifest());} | 21,911 |
getManifest() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getManifest());} | getManifest() throws IOException{ if (jar_file == null) jar_file = getJarFile(); return(jar_file.getManifest());} | 21,912 |
public FileSystem create(Device device, boolean readOnly) throws FileSystemException { return new ISO9660FileSystem(device, readOnly); // not readOnly ! } | public FileSystem create(Device device, boolean readOnly) throws FileSystemException { return new ISO9660FileSystem(device, readOnly); // not readOnly ! } | 21,913 |
public AccessibleJApplet() { super(); // Nothing to do here. } | protected AccessibleJApplet() { super(); // Nothing to do here. } | 21,914 |
public Frame() { this(""); } | public Frame() { this(""); } | 21,916 |
public void addNotify() { if (peer == null) peer = getToolkit().createFrame(this); super.addNotify(); } | public void addNotify() { if (peer == null) peer = getToolkit().createFrame(this); super.addNotify(); } | 21,917 |
public int getCursorType() { return (getCursor().getType()); } | public int getCursorType() { return (getCursor().getType()); } | 21,918 |
public static Frame[] getFrames() { //Frame[] array = new Frames[frames.size()]; //return frames.toArray(array); // see finalize() comment String msg = "FIXME: can't be implemented without weak references"; throw new UnsupportedOperationException(msg); } | public static Frame[] getFrames() { //Frame[] array = new Frames[frames.size()]; //return frames.toArray(array); // see finalize() comment String msg = "FIXME: can't be implemented without weak references"; throw new UnsupportedOperationException(msg); } | 21,919 |
public Image getIconImage() { return (icon); } | public Image getIconImage() { return (icon); } | 21,920 |
public MenuBar getMenuBar() { return (menuBar); } | public MenuBar getMenuBar() { return (menuBar); } | 21,921 |
public int getState() { /* FIXME: State might have changed in the peer... Must check. */ return state; } | public int getState() { /* FIXME: State might have changed in the peer... Must check. */ return state; } | 21,922 |
public String getTitle() { return (title); } | public String getTitle() { return (title); } | 21,923 |
public boolean isResizable() { return (resizable); } | public boolean isResizable() { return (resizable); } | 21,924 |
protected String paramString() { return (getClass().getName()); } | protected String paramString() { return (getClass().getName()); } | 21,925 |
public void remove(MenuComponent menu) { menuBar.remove(menu); } | public void remove(MenuComponent menu) { menuBar.remove(menu); } | 21,926 |
public void setCursor(int type) { setCursor(new Cursor(type)); } | public void setCursor(int type) { setCursor(new Cursor(type)); } | 21,927 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.