bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void updateUI() { setUI((TreeUI)UIManager.getUI(this)); }
public void updateUI() { setUI((TreeUI) UIManager.getUI(this)); }
39,276
Clipboard(String name){ this.name = name;}
Clipboard(String name){ this.name = name;}
39,277
Clipboard(String name){ this.name = name;}
Clipboard(String name){ this.name = name;}
39,278
getContents(Object requestor){ return(contents);}
getContents(Object requestor){ return(contents);}
39,279
getName(){ return(name);}
getName(){ return(name);}
39,280
setContents(Transferable contents, ClipboardOwner owner){ if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents;}
setContents(Transferable contents, ClipboardOwner owner){ if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents;}
39,281
setContents(Transferable contents, ClipboardOwner owner){ if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents;}
setContents(Transferable contents, ClipboardOwner owner){ if (this.owner != owner) if (this.owner != null) this.owner.lostOwnership(this, contents); this.owner = owner; this.contents = contents;}
39,282
protected Rectangle getVisibleEditorRect() { int width = textComponent.getWidth(); int height = textComponent.getHeight(); if (width <= 0 || height <= 0) return new Rectangle(0, 0, 0, 0); Insets insets = textComponent.getInsets(); return new Rectangle(insets.left, insets.top, width - insets.l...
protected Rectangle getVisibleEditorRect() { int width = textComponent.getWidth(); int height = textComponent.getHeight(); if (width <= 0 || height <= 0) return new Rectangle(0, 0, 0, 0); Insets insets = textComponent.getInsets(); return new Rectangle(insets.left, insets.top, width - insets.l...
39,286
public int getIndexOf(Component c) { Integer layer = getLayer (c); int[] range = layerToRange (layer); Component[] comps = getComponents(); for (int i = range[0]; i < range[1]; ++i) { if (comps[i] == c) return i; } // should have found the component during iteration throw n...
public int getIndexOf(Component c) { Integer layer = getLayer (c); int[] range = layerToRange (layer); Component[] comps = getComponents(); for (int i = range[0]; i < range[1]; ++i) { if (comps[i] == c) return i; } // should have found the component during iteration throw n...
39,287
protected Integer getLayer (Component c) { if (! componentToLayer.containsKey (c)) throw new IllegalArgumentException (); return (Integer) componentToLayer.get (c); }
public int getLayer(Component c) { if (! componentToLayer.containsKey (c)) throw new IllegalArgumentException (); return (Integer) componentToLayer.get (c); }
39,288
protected Integer getLayer (Component c) { if (! componentToLayer.containsKey (c)) throw new IllegalArgumentException (); return (Integer) componentToLayer.get (c); }
protected Integer getLayer (Component c) { if (! componentToLayer.containsKey (c)) throw new IllegalArgumentException (); return ((Integer) componentToLayer.get(c)).intValue(); }
39,289
public int getPosition(Component c) { Integer layer = getLayer (c); int[] range = layerToRange (layer); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should have foun...
public int getPosition(Component c) { Integer layer = getLayer (c); int[] range = layerToRange (layer); int top = range[0]; int bot = range[1]; Component[] comps = getComponents (); for (int i = top; i < bot; ++i) { if (comps[i] == c) return i - top; } // should have foun...
39,290
public void remove (int index) { Component c = getComponent (index); Integer layer = getLayer (c); decrLayer (layer); componentToLayer.remove (c); super.remove (index); revalidate(); repaint(); }
public void remove (int index) { Component c = getComponent (index); Integer layer = getLayer (c); decrLayer (layer); componentToLayer.remove (c); super.remove (index); revalidate(); repaint(); }
39,291
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = Math....
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = Math....
39,292
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = Math....
public void setPosition(Component c, int position) { Integer layer = getLayer (c); int[] range = layerToRange (layer); if (range[0] == range[1]) throw new IllegalArgumentException(); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int targ = Math.m...
39,293
public void stateChanged(ChangeEvent event) { // TODO }
publicvoidstateChanged(ChangeEventevent){//TODO}
39,294
protected void fireMenuKeyPressed(MenuKeyEvent event) { // TODO }
EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyPressed(event); EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyPressed(event); protec...
39,295
protected void fireMenuKeyReleased(MenuKeyEvent event) { // TODO }
EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyTyped(event); EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyTyped(event); protectedE...
39,296
protected void fireMenuKeyTyped(MenuKeyEvent event) { // TODO }
EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyTyped(event); EventListener[] ll = listenerList.getListeners(MenuKeyListener.class); for (int i = 0; i < ll.length; i++) ((MenuKeyListener) ll[i]).menuKeyTyped(event); protectedE...
39,297
protected void init(String text, Icon icon) { // TODO }
super.init(text, icon); paint_border = false; paint_focus = false; hori_align = JButton.LEFT; hori_text_pos = JButton.LEFT; super.init(text, icon); paint_border = false; paint_focus = false; hori_align = JButton.LEFT; hori_text_pos = JButton.LEFT; protectedsuper.init(text, icon); paint_border = false; paint_fo...
39,298
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { // TODO }
privatevoidreadObject(ObjectInputStreamstream)throwsIOException,ClassNotFoundException{ //TODO}
39,299
public static int toCodePoint(char high, char low) { return ((high - MIN_HIGH_SURROGATE) << 10) + (low - MIN_LOW_SURROGATE); }
public static int toCodePoint(char high, char low) { return ((high - MIN_HIGH_SURROGATE) * 0x400) + (low - MIN_LOW_SURROGATE) + 0x10000; }
39,300
public DefaultDocumentEvent(int offset, int length, DocumentEvent.EventType type) { this.offset = offset; this.length = length; this.type = type; changes = new Hashtable(); modified = false; }
public DefaultDocumentEvent(int offset, int length, DocumentEvent.EventType type) { this.offset = offset; this.length = length; this.type = type; modified = false; }
39,301
public boolean addEdit(UndoableEdit edit) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. if (edit instanceof DocumentEvent.ElementChange) { modified = true; DocumentEvent.ElementChange elEdit = (DocumentEvent.ElementChange) edit; change...
public boolean addEdit(UndoableEdit edit) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. if (changes == null && edits.size() > THRESHOLD) { modified = true; DocumentEvent.ElementChange elEdit = (DocumentEvent.ElementChange) edit; cha...
39,302
public boolean addEdit(UndoableEdit edit) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. if (edit instanceof DocumentEvent.ElementChange) { modified = true; DocumentEvent.ElementChange elEdit = (DocumentEvent.ElementChange) edit; change...
public boolean addEdit(UndoableEdit edit) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. if (edit instanceof DocumentEvent.ElementChange) { changes = new HashMap(); int count = edits.size(); for (int i = 0; i < count; i++) { Object o = edits.elementAt(i); if (o ins...
39,303
public DocumentEvent.ElementChange getChange(Element elem) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. return (DocumentEvent.ElementChange) changes.get(elem); }
public DocumentEvent.ElementChange getChange(Element elem) { // XXX - Fully qualify ElementChange to work around gcj bug #2499. DocumentEvent.ElementChange change = null; if (changes != null) { change = (DocumentEvent.ElementChange) changes.get(elem); } else { int count = edits.size(); for (int i = 0; ...
39,304
public Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
public synchronized Position createPosition(final int offset) throws BadLocationException { return content.createPosition(offset); }
39,305
protected void fireChangedUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].changedUpdate(event); }
protectedvoidfireChangedUpdate(DocumentEventevent){DocumentListener[]listeners=getDocumentListeners();for(intindex=0;index<listeners.length;++index)listeners[index].changedUpdate(event);}
39,306
protected void fireInsertUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].insertUpdate(event); }
protectedvoidfireInsertUpdate(DocumentEventevent){DocumentListener[]listeners=getDocumentListeners();for(intindex=0;index<listeners.length;++index)listeners[index].insertUpdate(event);}
39,308
protected void fireRemoveUpdate(DocumentEvent event) { DocumentListener[] listeners = getDocumentListeners(); for (int index = 0; index < listeners.length; ++index) listeners[index].removeUpdate(event); }
protectedvoidfireRemoveUpdate(DocumentEventevent){DocumentListener[]listeners=getDocumentListeners();for(intindex=0;index<listeners.length;++index)listeners[index].removeUpdate(event);}
39,310
protected final Thread getCurrentWriter() { return currentWriter; }
protected final synchronized Thread getCurrentWriter() { return currentWriter; }
39,312
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
public final synchronized void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(...
39,313
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
39,314
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
39,315
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); ...
39,316
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
public final synchronized void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // final...
39,318
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
39,319
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
39,320
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ...
39,321
public void remove(int offset, int length) throws BadLocationException { if (documentFilter == null) removeImpl(offset, length); else documentFilter.remove(getBypass(), offset, length); }
public void remove(int offset, int length) throws BadLocationException { writeLock(); try { DocumentFilter f = getDocumentFilter(); if (f == null) removeImpl(offset, length); else documentFilter.remove(getBypass(), offset, length); }
39,322
public void remove(int offset, int length) throws BadLocationException { if (documentFilter == null) removeImpl(offset, length); else documentFilter.remove(getBypass(), offset, length); }
public void remove(int offset, int length) throws BadLocationException { if (documentFilter == null) removeImpl(offset, length); else f.remove(getBypass(), offset, length); } finally { writeUnlock(); } }
39,323
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
39,324
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
39,325
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
void removeImpl(int offset, int length) throws BadLocationException { // The RI silently ignores all requests that have a negative length. // Don't ask my why, but that's how it is. if (length > 0) { if (offset < 0 || offset > getLength()) throw new BadLocationException("Invalid remove ...
39,326
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
39,327
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { while (numReaders > 0 || currentWriter !=...
39,328
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
39,329
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
protected final void writeLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { numWritersWaiting++; while (numReaders > 0) { try { documentCV.wait(); } ...
39,330
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
protected final synchronized void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
39,332
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
39,333
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
protected final void writeUnlock() { synchronized (documentCV) { if (Thread.currentThread().equals(currentWriter)) { currentWriter = null; documentCV.notifyAll(); } } }
39,334
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; } out.putChar (BYTE_ORDER_MARK); needsByteOrderMark = false; ...
39,335
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
protectedCoderResultencodeLoop(CharBufferin,ByteBufferout){//TODO:Optimizethisinthecasein.hasArray()/out.hasArray()if(needsByteOrderMark){if(out.remaining()<2)returnCoderResult.OVERFLOW;put(out,BYTE_ORDER_MARK);needsByteOrderMark=false;}intinPos=in.position();try{while(in.hasRemaining()){charc=in.get();if(0xD800<=c&&c<...
39,336
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
39,337
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
39,338
protected CoderResult encodeLoop (CharBuffer in, ByteBuffer out) { // TODO: Optimize this in the case in.hasArray() / out.hasArray() if (needsByteOrderMark) { if (out.remaining () < 2) return CoderResult.OVERFLOW; put (out, BYTE_ORDER_MARK); needsByteOrderMark = false; }...
out.order(originalBO); out.order(originalBO); protectedout.order(originalBO); CoderResultout.order(originalBO); encodeLoopout.order(originalBO); (CharBufferout.order(originalBO); in,out.order(originalBO); ByteBufferout.order(originalBO); out)out.order(originalBO); out.order(originalBO); {out.order(originalBO); out.orde...
39,339
public ProtocolHandlerFactoryPlugin(PluginDescriptor descriptor) { super(descriptor); this.handlersEp = descriptor.getExtensionPoint("protocols"); reloadHandlers(); }
public ProtocolHandlerFactoryPlugin(PluginDescriptor descriptor) { super(descriptor); this.handlersEp = descriptor.getExtensionPoint("handlers"); reloadHandlers(); }
39,340
public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (from instanceof gnuDynAny) holder = ((gnuDynAny) from).holder; else holder = from.to_any().extract_Streamable(); valueChanged(); }
public void assign(DynAny from) throws TypeMismatch { checkType(official_type, from.type()); if (from instanceof gnuDynAny) holder = ((gnuDynAny) from).holder; else holder = from.to_any().extract_Streamable(); valueChanged(); }
39,341
private void check(TCKind t) throws TypeMismatch { if (t.value() != final_type.kind().value()) throw new TypeMismatch(t.value() + "!=" + final_type.kind().value()); }
private void check(TCKind t) throws TypeMismatch { if (t.value() != final_type.kind().value()) throw new TypeMismatch(t.value() + "!=" + final_type.kind().value()); }
39,342
public DynAny current_component() throws TypeMismatch { throw new TypeMismatch("Not applicable for " + typeNamer.nameIt(final_type) ); }
public DynAny current_component() throws TypeMismatch { throw new TypeMismatch("Not applicable for " + typeNamer.nameIt(final_type) ); }
39,343
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { ...
public void from_any(Any an_any) throws TypeMismatch, InvalidValue { checkType(official_type, an_any.type()); Streamable a_holder = an_any.extract_Streamable(); if (a_holder == null) { throw new InvalidValue(ISNULL); } else if (a_holder instanceof universalHolder) { ...
39,344
public Any get_any() throws TypeMismatch { try { return ((AnyHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public Any get_any() throws TypeMismatch { try { return ((AnyHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,345
public boolean get_boolean() throws TypeMismatch { try { return ((BooleanHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public boolean get_boolean() throws TypeMismatch { try { return ((BooleanHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,346
public char get_char() throws TypeMismatch { try { return ((CharHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public char get_char() throws TypeMismatch { try { return ((CharHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,347
public double get_double() throws TypeMismatch { try { return ((DoubleHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public double get_double() throws TypeMismatch { try { return ((DoubleHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,348
public DynAny get_dyn_any() throws TypeMismatch, InvalidValue { return new gnuDynAny(holder, official_type, final_type, factory, orb); }
public DynAny get_dyn_any() throws TypeMismatch, InvalidValue { return new gnuDynAny(holder, official_type, final_type, factory, orb); }
39,349
public float get_float() throws TypeMismatch { try { return ((FloatHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public float get_float() throws TypeMismatch { try { return ((FloatHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,350
public int get_long() throws TypeMismatch { try { return ((IntHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public int get_long() throws TypeMismatch { try { return ((IntHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,351
public long get_longlong() throws TypeMismatch { try { return ((LongHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public long get_longlong() throws TypeMismatch { try { return ((LongHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,352
public byte get_octet() throws TypeMismatch { try { return ((OctetHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public byte get_octet() throws TypeMismatch { try { return ((OctetHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,353
public Object get_reference() throws TypeMismatch { try { return ((ObjectHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public Object get_reference() throws TypeMismatch { try { return ((ObjectHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,354
public short get_short() throws TypeMismatch { try { return ((ShortHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public short get_short() throws TypeMismatch { try { return ((ShortHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,355
public String get_string() throws TypeMismatch { try { return ((StringHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public String get_string() throws TypeMismatch { try { return ((StringHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,356
public TypeCode get_typecode() throws TypeMismatch { try { return ((TypeCodeHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public TypeCode get_typecode() throws TypeMismatch { try { return ((TypeCodeHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,357
public int get_ulong() throws TypeMismatch { check(TCKind.tk_ulong); return get_long(); }
public int get_ulong() throws TypeMismatch { check(TCKind.tk_ulong); return get_long(); }
39,358
public long get_ulonglong() throws TypeMismatch { check(TCKind.tk_ulonglong); return get_longlong(); }
public long get_ulonglong() throws TypeMismatch { check(TCKind.tk_ulonglong); return get_longlong(); }
39,359
public short get_ushort() throws TypeMismatch { check(TCKind.tk_ushort); return get_short(); }
public short get_ushort() throws TypeMismatch { check(TCKind.tk_ushort); return get_short(); }
39,360
public Serializable get_val() throws TypeMismatch { try { return ((ValueBaseHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public Serializable get_val() throws TypeMismatch { try { return ((ValueBaseHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,361
public char get_wchar() throws TypeMismatch { try { return ((WCharHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public char get_wchar() throws TypeMismatch { try { return ((WCharHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,362
public String get_wstring() throws TypeMismatch { try { return ((WStringHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
public String get_wstring() throws TypeMismatch { try { return ((WStringHolder) holder).value; } catch (ClassCastException cex) { TypeMismatch m = new TypeMismatch(); m.initCause(cex); throw m; } }
39,363
public void insert_any(Any a_x) throws TypeMismatch, InvalidValue { try { if (a_x.type().kind().value() == TCKind._tk_null) ((AnyHolder) holder).value = a_x; else { OutputStream buf = a_x.create_output_stream(); buf.write_any(a_x); ...
public void insert_any(Any a_x) throws TypeMismatch, InvalidValue { try { if (a_x.type().kind().value() == TCKind._tk_null) ((AnyHolder) holder).value = a_x; else { OutputStream buf = a_x.create_output_stream(); buf.write_any(a_x); ...
39,364
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch { try { ((BooleanHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
public void insert_boolean(boolean a_x) throws InvalidValue, TypeMismatch { try { ((BooleanHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
39,365
public void insert_char(char a_x) throws InvalidValue, TypeMismatch { try { ((CharHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_char(char a_x) throws InvalidValue, TypeMismatch { try { ((CharHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,366
public void insert_double(double a_x) throws InvalidValue, TypeMismatch { try { ((DoubleHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_double(double a_x) throws InvalidValue, TypeMismatch { try { ((DoubleHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,367
public void insert_dyn_any(DynAny d) throws TypeMismatch, InvalidValue { check(d.type().kind()); Any a = d.to_any(); holder = a.extract_Streamable(); valueChanged(); }
public void insert_dyn_any(DynAny d) throws TypeMismatch, InvalidValue { check(d.type().kind()); Any a = d.to_any(); holder = a.extract_Streamable(); valueChanged(); }
39,368
public void insert_float(float a_x) throws InvalidValue, TypeMismatch { try { ((FloatHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_float(float a_x) throws InvalidValue, TypeMismatch { try { ((FloatHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,369
public void insert_long(int a_x) throws InvalidValue, TypeMismatch { try { ((IntHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_long(int a_x) throws InvalidValue, TypeMismatch { try { ((IntHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,370
public void insert_longlong(long a_x) throws InvalidValue, TypeMismatch { try { ((LongHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_longlong(long a_x) throws InvalidValue, TypeMismatch { try { ((LongHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,371
public void insert_octet(byte a_x) throws InvalidValue, TypeMismatch { try { ((OctetHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_octet(byte a_x) throws InvalidValue, TypeMismatch { try { ((OctetHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,372
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch { try { ((ObjectHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
public void insert_reference(Object a_x) throws InvalidValue, TypeMismatch { try { ((ObjectHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
39,373
public void insert_short(short a_x) throws InvalidValue, TypeMismatch { try { ((ShortHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_short(short a_x) throws InvalidValue, TypeMismatch { try { ((ShortHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,374
public void insert_string(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > final_type.length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
public void insert_string(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > final_type.length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
39,375
public void insert_string(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > final_type.length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
public void insert_string(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > final_type.length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
39,376
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch { try { ((TypeCodeHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
public void insert_typecode(TypeCode a_x) throws InvalidValue, TypeMismatch { try { ((TypeCodeHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; ...
39,377
public void insert_ulong(int a_x) throws InvalidValue, TypeMismatch { try { ((IntHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_ulong(int a_x) throws InvalidValue, TypeMismatch { try { ((IntHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,378
public void insert_ulonglong(long a_x) throws InvalidValue, TypeMismatch { try { ((LongHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } ...
public void insert_ulonglong(long a_x) throws InvalidValue, TypeMismatch { try { ((LongHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } ...
39,379
public void insert_ushort(short a_x) throws InvalidValue, TypeMismatch { try { ((ShortHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_ushort(short a_x) throws InvalidValue, TypeMismatch { try { ((ShortHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,380
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch { try { ((ValueBaseHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; }...
public void insert_val(Serializable a_x) throws InvalidValue, TypeMismatch { try { ((ValueBaseHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; }...
39,381
public void insert_wchar(char a_x) throws InvalidValue, TypeMismatch { try { ((WCharHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
public void insert_wchar(char a_x) throws InvalidValue, TypeMismatch { try { ((WCharHolder) holder).value = a_x; valueChanged(); } catch (ClassCastException cex) { TypeMismatch t = new TypeMismatch(); t.initCause(cex); throw t; } }
39,382
public void insert_wstring(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > type().length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
public void insert_wstring(String a_x) throws InvalidValue, TypeMismatch { try { if (a_x != null && final_type.length() > 0 && a_x.length() > type().length() ) throw new InvalidValue(a_x.length() + " exceeds bound, " + ...
39,383