bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public TypeCode _type() { return new fixedTypeCode(value); } | public TypeCode _type() { return new FixedTypeCode(value); } | 19,211 |
public static NamingContextExt extract(Any a) { try { return ((NamingContextExtHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { throw new BAD_OPERATION("NamingContextExt expected"); } } | public static NamingContextExt extract(Any a) { try { return ((NamingContextExtHolder) a.extract_Streamable()).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION("NamingContextExt expected"); bad.initCause(ex); throw bad; } } | 19,212 |
public static long currentTimeMillis() { if (rtcIncrement == 0) { final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { // We don't have an RTC service yet, return an invalid, // but for now good enough value return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } ... | public static long currentTimeMillis() { if (rtcIncrement == 0) { final long rtcTime = RTCUtils.getTime(); if (rtcTime == 0L) { // We don't have an RTC service yet, return an invalid, // but for now good enough value return currentTimeMillis; } else { rtcIncrement = rtcTime - currentTimeMillis; } ... | 19,213 |
public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null"); return null; } final VmProcessor proc = Unsafe.getCurrentProcessor(); fi... | public static Address findThrowableHandler(Throwable ex, Address frame, Address address) { try { if (ex == null) { Unsafe.debug("NPE"); throw new NullPointerException(); } if (frame == null) { Unsafe.debug("frame==null"); return null; } final VmProcessor proc = Unsafe.getCurrentProcessor(); fi... | 19,214 |
public static Class forName(String className) throws ClassNotFoundException { return getContextClassLoader().loadClass(className, true).asClass(); } | public static Class forName(String className) throws ClassNotFoundException { return getContextClassLoader().asClassLoader().loadClass(className); } | 19,215 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static VmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader.getMeth... | 19,216 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmSystemClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = ... | 19,217 |
protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | protected static AbstractVmClassLoader getContextClassLoader() { final VmStackReader reader = Unsafe.getCurrentProcessor().getArchitecture().getStackReader(); final VmClassLoader systemLoader = VmSystem.systemLoader; Address f = Unsafe.getCurrentFrame(); while (reader.isValid(f)) { final VmMethod method = reader... | 19,218 |
public static VmClassLoader getSystemClassLoader() { return systemLoader; } | public static VmSystemClassLoader getSystemClassLoader() { return systemLoader; } | 19,219 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 19,220 |
public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | public static void initialize() { if (!inited) { // Initialize resource manager Unsafe.debug("1"); ResourceManagerImpl.initialize(); Unsafe.debug("2"); /* Set System.err, System.out */ //final SystemOutputStream os = new SystemOutputStream(); final ScreenOutputStream os = new ScreenOutputStream(Screen.g... | 19,221 |
public int getNativeFD() { return ((ServerSocketChannelImpl) ch).getNativeFD(); } | public int getNativeFD() { NIOServerSocket socket = (NIOServerSocket) ((ServerSocketChannelImpl) ch).socket(); return socket.getPlainSocketImpl().getNativeFD(); } | 19,222 |
public AccessibleAWTMenuItem() { super(); } | protected AccessibleAWTMenuItem() { super(); } | 19,225 |
public AccessibleJTextComponent(JTextComponent component) { super(component); // TODO } // AccessibleJTextComponent() | public AccessibleJTextComponent(JTextComponent component) { super(component); // TODO } // AccessibleJTextComponent() | 19,226 |
public JTextComponent() { this("", null, 0); } | public JTextComponent() { enableEvents(AWTEvent.KEY_EVENT_MASK); updateUI(); } | 19,227 |
public void setText(String text) { getDocument().remove(0,doc.getLength()); getDocument().insertString(0, text, null); } | public void setText(String text) { try { getDocument().remove(0, doc.getLength()); getDocument().insertString(0, text, null); } | 19,228 |
String getLang(Node node) { if (node.getNodeType() == Node.ELEMENT_NODE) { return ((Element) node).getAttribute("xml:lang"); } return null; } | String getLang(Node node) { if (node.getNodeType() == Node.ELEMENT_NODE) { String lang = ((Element) node).getAttribute("xml:lang"); if (lang != null) return lang; } node = node.getParentNode(); } return null; } | 19,230 |
protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke... | protected void readAttributes(String element) { Token name; Token value; Token next; String attrValue; attributes = new htmlAttributeSet(); optional(WS); attributeReading: while (getTokenAhead().kind == NUMTOKEN) { name = getNextToken(); optional(WS); next = getToke... | 19,231 |
public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... | public boolean closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(... | 19,232 |
public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... | public void closeTag(TagElement tElement) { HTML.Tag tag = tElement.getHTMLTag(); hTag x; hTag close; if (!stack.isEmpty()) { ListIterator iter = stack.listIterator(stack.size()); while (iter.hasPrevious()) { x = (hTag) iter.previous(); if (tag.equals(x.t... | 19,233 |
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getDocument().getDefaultRootElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelected... | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { metrics = g.getFontMetrics(); // FIXME: Selected text are not drawn yet. Element line = getElement().getElement(lineIndex); drawUnselectedText(g, x, y, line.getStartOffset(), line.getEndOffset()); //drawSelectedText(g, , , , ); } ... | 19,235 |
public abstract void disable(); | void disable(); | 19,238 |
public abstract void enable(); | void enable(); | 19,239 |
void setup() throws Exception { setInputStreamParam(_certFileName); log.finer("-printcert handler will use the following options:"); //$NON-NLS-1$ log.finer(" -file=" + _certFileName); //$NON-NLS-1$ log.finer(" -v=" + verbose); //$NON-NLS-1$ } | void setup() throws Exception { setInputStreamParam(_certFileName); log.finer("-printcert handler will use the following options:"); //$NON-NLS-1$ log.finer(" -file=" + _certFileName); //$NON-NLS-1$ log.finer(" -v=" + verbose); //$NON-NLS-1$ } | 19,241 |
public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; } | public AbstractElement(Element p, AttributeSet s) { parent = p; attr = s; } | 19,243 |
public Enumeration children() { return kids.elements(); } | public Enumeration children() { return Collections.enumeration(tree_children); } | 19,244 |
public AttributeSet getAttributes() { return attr; } | public AttributeSet getAttributes() { return attributes; } | 19,245 |
public TreeNode getChildAt(int index) { return (TreeNode) kids.elementAt(index); } | public TreeNode getChildAt(int index) { return (TreeNode) tree_children.get(index); } | 19,246 |
public int getChildCount() { return kids.size(); } | public int getChildCount() { return tree_children.size(); } | 19,247 |
public Element getElement(int index) { return (Element) elts.elementAt(index); } | public Element getElement(int index) { return (Element) element_children.get(index); } | 19,248 |
public int getIndex(TreeNode node) { return kids.indexOf(node); } | public int getIndex(TreeNode node) { return tree_children.indexOf(node); } | 19,249 |
public String getName() { return name; } | public String getName() { return (String) getAttribute(NameAttribute); } | 19,250 |
public Element getParentElement() { return parent; } | public Element getParentElement() { return element_parent; } | 19,251 |
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | 19,252 |
public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | public BranchElement(Element parent, AttributeSet attributes, int start, int end) { super(parent, attributes); this.start = start; this.end = end; } | 19,253 |
public int getElementIndex(int offset) { return children.indexOf(positionToElement(offset)); } | public int getElementIndex(int offset) { if (children.size() == 0) return 0; Element element = positionToElement(offset); if (element == null) return 0; return children.indexOf(element); } | 19,255 |
public int getEndOffset() { return end; } | public int getEndOffset() { return ((Element) children.lastElement()).getEndOffset(); } | 19,256 |
public int getStartOffset() { return start; } | public int getStartOffset() { return ((Element) children.firstElement()).getStartOffset(); } | 19,257 |
public int getLength() { return len; } | public int getLength() { return length; } | 19,258 |
public int getOffset() { return off; } | public int getOffset() { return offset; } | 19,259 |
public DocumentEvent.EventType getType() { return null; } | public DocumentEvent.EventType getType() { return type; } | 19,260 |
protected AbstractDocument(Content doc) { this(doc, null); } | protected AbstractDocument(Content doc) { this(doc, StyleContext.getDefaultStyleContext()); } | 19,261 |
protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); } | protected Element createBranchElement(Element parent, AttributeSet attributes) { return new BranchElement(parent, a, 0, 0); } | 19,262 |
protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, a, 0, 0); } | protected Element createBranchElement(Element parent, AttributeSet a) { return new BranchElement(parent, attributes); } | 19,263 |
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } | 19,264 |
protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, a, p0, p1 - p0); } | protected Element createLeafElement(Element parent, AttributeSet a, int p0, int p1) { return new LeafElement(parent, attributes, start, end); } | 19,265 |
protected AttributeContext getAttributeContext() { return null; } | protected AttributeContext getAttributeContext() { return context; } | 19,266 |
public Position getEndPosition() { return null; } | public Position getEndPosition() { return new Position() { public int getOffset() { return getLength(); } }; } | 19,267 |
public Element[] getRootElements() { return null; } | public Element[] getRootElements() { Element[] elements = new Element[1]; elements[0] = getDefaultRootElement(); return elements; } | 19,268 |
public Position getStartPosition() { return null; } | public Position getStartPosition() { return new Position() { public int getOffset() { return 0; } }; } | 19,269 |
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); } | public void insertString(int offset, String text, AttributeSet attributes) throws BadLocationException { content.insertString(offs, str); } | 19,270 |
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { content.insertString(offs, str); } | public void insertString(int offs, String str, AttributeSet a) throws BadLocationException { if (text == null || text.length() == 0) return; DefaultDocumentEvent event = new DefaultDocumentEvent(offset, text.length(), DocumentEvent.EventType.INSERT); content.insertString(offset, text); insertUpdate(event... | 19,271 |
public void remove(int offset, int length) throws BadLocationException { } | public void remove(int offset, int length) throws BadLocationException { DefaultDocumentEvent event = new DefaultDocumentEvent(offset, length, DocumentEvent.EventType.REMOVE); removeUpdate(event); content.remove(offset, length); postRemoveUpdate(event); fireRemoveUpdate(event); } | 19,272 |
protected void uninstallKeyboardActions() throws NotImplementedException { // FIXME: Uninstall keyboard actions here. } | protected void uninstallKeyboardActions() { // FIXME: Uninstall keyboard actions here. } | 19,274 |
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos < t.getDocument().getEndPosition().getOffset()) { ... | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos < t.getDocument().getEndPosition().getOffset()) { ... | 19,276 |
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ... | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { int pos = t.getCaret().getDot(); if (pos > t.getDocument().getStartPosition().getOffset()) { ... | 19,277 |
public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(... | public void actionPerformed(ActionEvent event) { JTextComponent t = getTextComponent(event); if (t != null) { try { t.getDocument().insertString(t.getCaret().getDot(), event.getActionCommand(), null); t.getCaret().setDot(Math.min(t.getCaret().getDot(... | 19,278 |
public void flushBefore(long position) throws IOException { // FIXME: Implement me. throw new Error("not implemented"); } | public void flushBefore(long position) throws IOException, NotImplementedException { // FIXME: Implement me. throw new Error("not implemented"); } | 19,279 |
public void addBeanContextMembershipListener(BeanContextMembershipListener listener); | void addBeanContextMembershipListener(BeanContextMembershipListener listener); | 19,280 |
public URL getResource(String resourceName, BeanContextChild requestor); | URL getResource(String resourceName, BeanContextChild requestor); | 19,281 |
public InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); | InputStream getResourceAsStream(String resourceName, BeanContextChild requestor); | 19,282 |
public Object instantiateChild(String beanName) throws IOException, ClassNotFoundException; | Object instantiateChild(String beanName) throws IOException, ClassNotFoundException; | 19,283 |
public void removeBeanContextMembershipListener(BeanContextMembershipListener listener); | void removeBeanContextMembershipListener(BeanContextMembershipListener listener); | 19,284 |
public Window getWindowAncestor(Component comp) { return (Window) getAncestorOfClass(Window.class, comp); } | public static Window getWindowAncestor(Component comp) { return (Window) getAncestorOfClass(Window.class, comp); } | 19,285 |
public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { while(child.getParent() != null && !(child.get... | public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { while(child.getParent() != null && !(child.get... | 19,286 |
public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =... | public void setData(byte[] buf) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset = offset; setLength(length); } | 19,287 |
public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =... | public synchronized void setData(byte[] buf, int offset, int length) { // This form of setData must be used if offset is to be changed. if (buf == null) throw new NullPointerException("Null buffer"); if (offset < 0) throw new IllegalArgumentException("Invalid offset: " + offset); buffer = buf; this.offset =... | 19,288 |
public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); } | public SocketBuffer(byte[] data, int offset, int length) { this.data = data; this.start = offset; this.size = length; testBuffer(); } | 19,289 |
public static ComponentUI createUI(JComponent component) { if (instance == null) instance = new MetalScrollBarUI(); return instance; } | public static ComponentUI createUI(JComponent component) { if (instances == null) instances = new HashMap(); Object o = instances.get(component); MetalScrollBarUI instance; if (o == null) { instance = new MetalScrollBarUI(); return instance; } | 19,290 |
public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); } | DirectByteBufferImpl(int capacity) { this (null, address, (int) len, (int) len, 0, false); } | 19,292 |
public DirectByteBufferImpl (RawData address, long len) { this (null, address, (int) len, (int) len, 0, false); } | public DirectByteBufferImpl (RawData address, long len) { super(capacity, capacity, 0, -1); this.owner = this; this.address = VMDirectByteBuffer.allocate(capacity); } | 19,293 |
public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | public ByteBuffer compact () { int pos = position(); if (pos > 0) { int count = remaining(); VMDirectByteBuffer.shiftDown(address, 0, pos, count); position(count); limit(capacity()); } return this; } | 19,294 |
private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (owner, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark(... | private ByteBuffer duplicate (boolean readOnly) { int pos = position(); reset(); int mark = position(); position(pos); DirectByteBufferImpl result = new DirectByteBufferImpl (owner, address, capacity (), limit (), pos, readOnly); if (mark != pos) { result.position(mark); result.mark(... | 19,295 |
protected void finalize () throws Throwable { freeImpl (address); } | protected void finalize () throws Throwable { if (owner == this) VMDirectByteBuffer.free(address); } | 19,296 |
public byte get () { checkForUnderflow(); int pos = position(); byte result = getImpl (address, pos); position (pos + 1); return result; } | public byte get () { checkForUnderflow(); int pos = position(); byte result = getImpl (address, pos); position (pos + 1); return result; } | 19,297 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } | public ByteBuffer put (byte value) { checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } | 19,298 |
public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } | public ByteBuffer put (byte value) { checkIfReadOnly(); checkForOverflow(); int pos = position(); putImpl (address, pos, value); position (pos + 1); return this; } | 19,299 |
public ByteBuffer slice () { int rem = remaining(); return new DirectByteBufferImpl (owner, adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | public ByteBuffer slice () { int rem = remaining(); return new DirectByteBufferImpl (owner, adjustAddress(address, position()), rem, rem, 0, isReadOnly ()); } | 19,300 |
public final void initialize(AbstractVmClassLoader loader) { if (context == null) { context = new X86CompilerContext(loader); } } | public final void initialize(VmClassLoader loader) { if (context == null) { context = new X86CompilerContext(loader); } } | 19,301 |
public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | 19,302 |
public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | public VmCompiledCode(NativeCodeCompiler compiler, VmByteCode bytecode, Address nativeCode, Object compiledCode, int size, VmCompiledExceptionHandler[] eTable, Address defaultExceptionHandler, VmAddressMap addressTable) { this.compiler = compiler; this.magic = compiler... | 19,303 |
public CompoundBorder(Border outsideBorder, Border insideBorder) { this.outsideBorder = outsideBorder; this.insideBorder = insideBorder; } | public CompoundBorder() { this.outsideBorder = outsideBorder; this.insideBorder = insideBorder; } | 19,304 |
public CompoundBorder(Border outsideBorder, Border insideBorder) { this.outsideBorder = outsideBorder; this.insideBorder = insideBorder; } | public CompoundBorder(Border outsideBorder, Border insideBorder) { this.outsideBorder = outsideBorder; this.insideBorder = insideBorder; } | 19,305 |
public boolean selfTest() { if (valid == null) { valid = Boolean.valueOf(DIGEST0.equals(Util.toString(new Tiger().digest()))); } return valid.booleanValue(); } | public boolean selfTest() { if (valid == null) { String d = Util.toString(new Tiger().digest()); valid = Boolean.valueOf(DIGEST0.equals(d)); } return valid.booleanValue(); } | 19,306 |
protected Action[] getActions () { throw new InternalError ("not implemented"); } | protected Action[] getActions () { return textField.getActions(); } | 19,307 |
protected JFormattedTextField getFormattedTextField () { throw new InternalError ("not implemented"); } | protected JFormattedTextField getFormattedTextField () { return textField; } | 19,308 |
protected NavigationFilter getNavigationFilter () { throw new InternalError ("not implemented"); } | protected NavigationFilter getNavigationFilter () { return textField.getNavigationFilter(); } | 19,309 |
public void install (JFormattedTextField ftf) { throw new InternalError ("not implemented"); } | public void install(JFormattedTextField textField) { throw new InternalError ("not implemented"); } | 19,310 |
public void install (JFormattedTextField ftf) { throw new InternalError ("not implemented"); } | public void install (JFormattedTextField ftf) { if (this.textField != null) uninstall(); this.textField = textField; } | 19,311 |
protected void invalidEdit () { throw new InternalError ("not implemented"); } | protected void invalidEdit () { textField.invalidEdit(); } | 19,312 |
protected void setEditValid (boolean valid) { throw new InternalError ("not implemented"); } | protected void setEditValid (boolean valid) { textField.editValid = valid; } | 19,313 |
public void uninstall () { throw new InternalError ("not implemented"); } | public void uninstall () { this.textField = null; } | 19,314 |
public JFormattedTextField () { this((AbstractFormatterFactory) null); } | public JFormattedTextField () { this((AbstractFormatterFactory) null, null); } | 19,315 |
public AbstractFormatter getFormatter () { throw new InternalError ("not implemented"); } | public AbstractFormatter getFormatter () { if (formatterFactory == null) return null; return formatterFactory.getFormatter(this); } | 19,316 |
public AbstractFormatterFactory getFormatterFactory () { throw new InternalError ("not implemented"); } | public AbstractFormatterFactory getFormatterFactory () { return formatterFactory; } | 19,317 |
protected void invalidEdit () { throw new InternalError ("not implemented"); } | protected void invalidEdit () { UIManager.getLookAndFeel().provideErrorFeedback(this); } | 19,318 |
public boolean isEditValid () { throw new InternalError ("not implemented"); } | public boolean isEditValid () { return editValid; } | 19,319 |
public void setDocument(Document newdoc) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | public void setDocument(Document newDocument) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | 19,320 |
public void setDocument(Document newdoc) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | public void setDocument(Document newdoc) { Document oldDocument = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | 19,321 |
public void setDocument(Document newdoc) { Document document = getDocument(); if (document == newdoc) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | public void setDocument(Document newdoc) { Document document = getDocument(); if (oldDocument == newDocument) return; setDocument(newdoc); firePropertyChange("document", document, newdoc); } | 19,322 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.