bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | public void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | 32,666 |
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value != null) { i... | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value != null) { i... | 32,667 |
public boolean isLoggable(LogRecord record) { if (record.getLevel().intValue() <= level.intValue()) return false; if (filter != null) return filter.isLoggable(record); else return true; } | public boolean isLoggable(LogRecord record) { if (record.getLevel().intValue() <= level.intValue()) return false; if (filter != null) return filter.isLoggable(record); else return true; } | 32,669 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED"); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); break; ... | 32,670 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED"); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); break; ... | 32,671 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED"); break; ... | 32,672 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | 32,673 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | 32,674 |
public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | public String paramString() { StringBuffer s = new StringBuffer(); switch (id) { case KEY_PRESSED: s.append("KEY_PRESSED,keyCode="); break; case KEY_RELEASED: s.append("KEY_RELEASED,keyCode="); break; case KEY_TYPED: s.append("KEY_TYPED,keyCode="); ... | 32,675 |
createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl) { return null; } | createDefaultDragGestureRecognizer(Component c, int actions, DragGestureListener dgl) { return createDragGestureRecognizer (MouseDragGestureRecognizer.class, c, actions, dgl); } | 32,679 |
createDragGestureRecognizer(Class recognizer, Component c, int actions, DragGestureListener dgl) { return null; } | createDragGestureRecognizer(Class recognizer, Component c, int actions, DragGestureListener dgl) { return Toolkit.getDefaultToolkit () .createDragGestureRecognizer (recognizer, this, c, actions, dgl); } | 32,680 |
public DragSourceListener[] getDragSourceListeners() { return null; } | public DragSourceListener[] getDragSourceListeners() { return (DragSourceListener[]) getListeners (DragSourceListener.class); } | 32,681 |
public DragSourceMotionListener[] getDragSourceMotionListeners() { return null; } | public DragSourceMotionListener[] getDragSourceMotionListeners () { return null; } | 32,682 |
public DragSourceMotionListener[] getDragSourceMotionListeners() { return null; } | public DragSourceMotionListener[] getDragSourceMotionListeners() { return (DragSourceMotionListener[]) getListeners (DragSourceMotionListener.class); } | 32,683 |
public FlavorMap getFlavorMap() { return null; } | public FlavorMap getFlavorMap() { return flavorMap; } | 32,684 |
public EventListener[] getListeners(Class type) { return null; } | public EventListener[] getListeners (Class listenerType) { return null; } | 32,685 |
public EventListener[] getListeners(Class type) { return null; } | public EventListener[] getListeners(Class type) { if (listenerType == DragSourceListener.class) return DnDEventMulticaster.getListeners (dragSourceListener, listenerType); if (listenerType == DragSourceMotionListener.class) return DnDEventMulticaster.getListeners (dragSourceMotionListener, listenerType); retur... | 32,686 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,689 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,690 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,691 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,692 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,693 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,694 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,695 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,696 |
static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | static TimeZone getDefaultTimeZone(String sysTimeZoneId) { // First find start of GMT offset info and any Daylight zone name. int startGMToffset = 0; int sysTimeZoneIdLength = sysTimeZoneId.length(); for (int i = 0; i < sysTimeZoneIdLength && startGMToffset == 0; i++) { char c = sysTimeZoneId.charAt... | 32,697 |
private ByteOrder () { } | private ByteOrder() { } | 32,698 |
public int getNativeFD() { return ((DatagramChannelImpl) ch).getNativeFD(); } | public int getNativeFD() { NIODatagramSocket socket = (NIODatagramSocket) ((DatagramChannelImpl) ch).socket(); return socket.getPlainDatagramSocketImpl().getNativeFD(); } | 32,705 |
public String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage); | String getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage); | 32,706 |
public Image getInputMethodIcon(Locale inputLocale); | public Image getInputMethodIcon(Locale inputLocale); | 32,707 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); if (Configuration.DEBUG) log.fine("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed Ce... | 32,708 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,709 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,710 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,711 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,712 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,713 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,714 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,715 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,716 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,717 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,718 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,719 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,720 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,721 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,722 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,723 |
private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | private void parse(InputStream in) throws Exception { // CertificateList ::= SEQUENCE { DERReader der = new DERReader(in); DERValue val = der.read(); debug("start CertificateList len == " + val.getLength()); if (!val.isConstructed()) throw new IOException("malformed CertificateList"); encoded ... | 32,724 |
public synchronized Surface open(FrameBufferConfiguration config) throws UnknownConfigurationException, AlreadyOpenException, DeviceException { if (currentConfig != null) { throw new AlreadyOpenException(); } else if (config.equals(CONFIGS[0])) { try { vga = new VGASurface(this); currentConfig = config; ... | public synchronized Surface open(FrameBufferConfiguration config) throws UnknownConfigurationException, AlreadyOpenException, DeviceException { if (currentConfig != null) { throw new AlreadyOpenException(); } catch (DriverException ex) { throw new DeviceException(ex); } else if (config.equals(CONFIGS[0])) { try ... | 32,725 |
public FeatureDescriptor() { valueHash = new Hashtable(); } | public FeatureDescriptor() { valueHash = new Hashtable(); } | 32,726 |
public Enumeration attributeNames() { return valueHash.keys(); } | public Enumeration attributeNames() { return valueHash.keys(); } | 32,727 |
public String getDisplayName() { return displayName; } | public String getDisplayName() { return displayName; } | 32,728 |
public String getShortDescription() { return shortDescription; } | public String getShortDescription() { return shortDescription; } | 32,729 |
public Object getValue(String name) { return valueHash.get(name); } | public Object getValue(String name) { return valueHash.get(name); } | 32,730 |
public boolean isExpert() { return expert; } | public boolean isExpert() { return expert; } | 32,731 |
public boolean isHidden() { return hidden; } | public boolean isHidden() { return hidden; } | 32,732 |
public void setDisplayName(String displayName) { this.displayName = displayName; } | public void setDisplayName(String displayName) { this.displayName = displayName; } | 32,733 |
public void setExpert(boolean expert) { this.expert = expert; } | public void setExpert(boolean expert) { this.expert = expert; } | 32,734 |
public void setHidden(boolean hidden) { this.hidden = hidden; } | public void setHidden(boolean hidden) { this.hidden = hidden; } | 32,735 |
public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; } | public void setShortDescription(String shortDescription) { this.shortDescription = shortDescription; } | 32,736 |
public void setValue(String name, Object value) { valueHash.put(name, value); } | public void setValue(String name, Object value) { valueHash.put(name, value); } | 32,737 |
public void updateUI() { setUI((ToolTipUI) UIManager.getUI(this)); revalidate(); repaint(); } | public void updateUI() { setUI((ToolTipUI) UIManager.getUI(this)); revalidate(); repaint(); } | 32,738 |
private void readObject(ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); name = new X500DistinguishedName(buf); } | private void readObject (ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); name = new X500DistinguishedName(buf); } | 32,739 |
private void readObject(ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); name = new X500DistinguishedName(buf); } | private void readObject(ObjectInputStream in) throws IOException, NotActiveException, ClassNotFoundException { byte[] buf = (byte[]) in.readObject(); parseDer (new ByteArrayInputStream (buf)); } | 32,740 |
private void writeObject(ObjectOutputStream out) throws IOException { out.writeObject(name.getEncoded()); } | private void writeObject (ObjectOutputStream out) throws IOException { out.writeObject(name.getEncoded()); } | 32,741 |
private void writeObject(ObjectOutputStream out) throws IOException { out.writeObject(name.getEncoded()); } | private void writeObject(ObjectOutputStream out) throws IOException { if (encoded != null) encodeDer(); out.writeObject (encoded); } | 32,742 |
public boolean shouldScroll(int direction) { int value; if (scrollbar.getOrientation() == HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (thumbRect.contains(currentMouseX, currentMouseY)) return false; if (direction ==... | boolean shouldScroll(int direction) { int value; if (scrollbar.getOrientation() == HORIZONTAL) value = valueForXPosition(currentMouseX); else value = valueForYPosition(currentMouseY); if (thumbRect.contains(currentMouseX, currentMouseY)) return false; if (direction == POSITI... | 32,745 |
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | 32,746 |
void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | void calculatePreferredSize() { int height; int width; height = width = 0; if (scrollbar.getOrientation() == SwingConstants.HORIZONTAL) { width += incrButton.getPreferredSize().getWidth(); width += decrButton.getPreferredSize().getWidth(); width += (scrollbar.getMaximum() - scrollbar.getMinimum()); ... | 32,747 |
protected void installDefaults() { int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SO... | protected void installDefaults() { int orientation = scrollbar.getOrientation(); switch (orientation) { case (JScrollBar.HORIZONTAL): incrButton = createIncreaseButton(EAST); decrButton = createDecreaseButton(WEST); break; default: incrButton = createIncreaseButton(SO... | 32,749 |
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) throws NotImplementedException { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunComposi... | public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunCompositeContext. throw new Error("... | 32,750 |
public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) throws NotImplementedException { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunComposi... | public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints hints) throws NotImplementedException { // XXX Implement. Sun uses undocumented implementation class // sun.java2d.SunComposi... | 32,751 |
public Beans() { } | public Beans() { } | 32,753 |
public static Object getInstanceOf(Object bean, Class newClass) { return bean; } | public static Object getInstanceOf(Object bean, Class newClass) { return bean; } | 32,754 |
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | 32,755 |
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | 32,756 |
public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | public static Object instantiate(ClassLoader cl, String beanName) throws IOException, ClassNotFoundException { Object bean; InputStream serStream; if(cl == null) { serStream = ClassLoader.getSystemResourceAsStream(beanName.replace('.','/')+".ser"); } else { serStream = cl.getResourceAsStream(beanName.replace('... | 32,757 |
public static boolean isDesignTime() { return designTime; } | public static boolean isDesignTime() { return designTime; } | 32,758 |
public static boolean isGuiAvailable() { return guiAvailable; } | public static boolean isGuiAvailable() { return guiAvailable; } | 32,759 |
public static boolean isInstanceOf(Object bean, Class newBeanClass) { return newBeanClass.isInstance(bean); } | public static boolean isInstanceOf(Object bean, Class newBeanClass) { return newBeanClass.isInstance(bean); } | 32,760 |
public static void setDesignTime(boolean designTime) throws SecurityException { Beans.designTime = designTime; } | public static void setDesignTime(boolean designTime) throws SecurityException { Beans.designTime = designTime; } | 32,761 |
public static void setGuiAvailable(boolean guiAvailable) throws SecurityException { Beans.guiAvailable = guiAvailable; } | public static void setGuiAvailable(boolean guiAvailable) throws SecurityException { Beans.guiAvailable = guiAvailable; } | 32,762 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", getControl(), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", getControlDarkShadow(), "Button.disabledText", get... | 32,763 |
public TextRenderer getTextRenderer(Font font) { TextRenderer r = (TextRenderer) renderers.get(font); if (r == null) { r = new TTFTextRenderer(getFontData(font), font.getSize()); renderers.put(font, r); } return r; } | public TextRenderer getTextRenderer(Font font) { TextRenderer r = (TextRenderer) renderers.get(font); if (r == null) { r = new TTFTextRenderer(getFontData(font), font.getSize()); renderers.put(font, r); } return r; } | 32,764 |
public ThreadOnlyFilter (ThreadId tid) throws InvalidThreadException { if (tid == null | tid.getReference().get () == null) throw new InvalidThreadException (tid.getId ()); _tid = tid; } | public ThreadOnlyFilter (ThreadId tid) throws InvalidThreadException { if (tid.getReference().get () == null) throw new InvalidThreadException (tid.getId ()); _tid = tid; } | 32,766 |
private static final NumberFormat computeInstance (Locale loc, String resource, String def) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res... | private static final NumberFormat computeInstance (Locale loc, String resource, String def) { ResourceBundle res; try { res = ResourceBundle.getBundle("gnu.java.locale.LocaleInformation", loc, ClassLoader.getSystemClassLoader()); } catch (MissingResourceException x) { res... | 32,767 |
private final void secureSetAccessible(boolean flag) { if (flag && (this instanceof Constructor && ((Constructor) this).getDeclaringClass() == Class.class)) throw new SecurityException("Cannot make object accessible: " + this); this.flag = flag; } | private void secureSetAccessible(boolean flag) { if (flag && (this instanceof Constructor && ((Constructor) this).getDeclaringClass() == Class.class)) throw new SecurityException("Cannot make object accessible: " + this); this.flag = flag; } | 32,768 |
public final Class getCategory() { return PDLOverrideSupported.class; } | public Class getCategory() { return PDLOverrideSupported.class; } | 32,769 |
public final String getName() { return "pdl-override-supported"; } | public String getName() { return "pdl-override-supported"; } | 32,770 |
public int getModifiers() { return vmMethod.getModifiers(); } | public int getModifiers() { return vmMethod.getModifiers(); } | 32,771 |
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is... | public static String toString(int mod) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (isFinal(mod)) ... | 32,772 |
static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is... | static StringBuffer toString(int mod, StringBuffer r) { if (isPublic(mod)) r.append("public "); if (isProtected(mod)) r.append("protected "); if (isPrivate(mod)) r.append("private "); if (isAbstract(mod)) r.append("abstract "); if (isStatic(mod)) r.append("static "); if (is... | 32,773 |
public abstract void initialize(AbstractVmClassLoader loader); | public abstract void initialize(AbstractVmClassLoader loader); | 32,774 |
public void putValue(String key, Object value) { Object old = getValue(key); if (old != value) { store.put(key, value); firePropertyChange(key, old, value); } } | public void putValue(String key, Object value) { Object old = getValue(key); if (old == null || !old.equals(value)) { store.put(key, value); firePropertyChange(key, old, value); } } | 32,775 |
protected void addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) { if (msg == null) return; hasCustomComponents = internallyCreated; if (msg instanceof Object[]) ... | protected void addMessageComponents(Container container, GridBagConstraints cons, Object msg, int maxll, boolean internallyCreated) { if (msg == null) return; hasCustomComponents = internallyCreated; if (msg instanceof Object[]) ... | 32,776 |
protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t... | protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t... | 32,777 |
protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t... | protected void burstStringInto(Container c, String d, int maxll) { // FIXME: Verify that this is the correct behaviour. // One interpretation of the spec is that this method // should recursively call itself to create (and add) // JLabels to the container if the length of the String d // is greater t... | 32,778 |
final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ... | final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ... | 32,780 |
final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ... | final void compare(boolean gt, int type, Label curInstrLabel) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); // Prepare operands final FPUStack fpuStack = vstack.fpuStack; final X86Register reg; reg = prepareForOperation(os, ec, vstack, fpuStack, v2, v1, false); // We need reg to be ST1. ... | 32,781 |
public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } } | public final void disableReschedule(boolean claimSchedulerLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } } | 32,782 |
public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } } | public final void disableReschedule(boolean claimSchedulerLock, ProcessorLock otherLock) { getTSIAddress().atomicOr(Word.fromIntSignExtend(TSI_BLOCK_SWITCH)); lockCount++; if (claimSchedulerLock) { scheduler.lock(otherLock); } } | 32,783 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.