bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public int getHeight() { return screen.getHeight(); }
public int getHeight() { return screen.getHeight(); }
40,813
public PrintStream getOut() { return out; }
public PrintStream getOut() { return out; }
40,814
protected final TextScreen getScreen() { return this.screen; }
protected final TextScreen getScreen() { return this.screen; }
40,815
public int getTabSize() { return tabSize; }
public int getTabSize() { return tabSize; }
40,816
public int getWidth() { return screen.getWidth(); }
public int getWidth() { return screen.getWidth(); }
40,817
public boolean isCursorVisible() { return cursorVisible; }
public boolean isCursorVisible() { return cursorVisible; }
40,818
public void putChar(char v, int color) { if (v == '\n') { // Goto next line // Clear till eol for (int i = curX; i < scrWidth; i++) { setChar(i, curY, ' ', color); } curX = 0; curY++; } else if (v == '\b') { if...
public void putChar(char v, int color) { if (v == '\n') { // Goto next line // Clear till eol for (int i = curX; i < scrWidth; i++) { setChar(i, curY, ' ', color); } curX = 0; curY++; } else if (v == '\b') { if...
40,819
public void setChar(int x, int y, char ch, int color) { screen.set(screen.getOffset(x, y), ch, 1, color); syncScreen(); }
public void setChar(int x, int y, char ch, int color) { screen.set(screen.getOffset(x, y), ch, 1, color); syncScreen(); }
40,820
public void setCursor(int x, int y) { this.curX = x; this.curY = y; syncScreen(); }
public void setCursor(int x, int y) { this.curX = x; this.curY = y; syncScreen(); }
40,821
public void setCursorVisible(boolean visible) { this.cursorVisible = visible; syncScreen(); }
public void setCursorVisible(boolean visible) { this.cursorVisible = visible; syncScreen(); }
40,822
public void setTabSize(int tabSize) { this.tabSize = tabSize; }
public void setTabSize(int tabSize) { this.tabSize = tabSize; }
40,823
protected final void syncScreen() { if (isFocused()) { screen.sync(); } }
protected final void syncScreen() { if (isFocused()) { screen.sync(); } }
40,824
protected AccessibleJPasswordField(JPasswordField component) { super(component); // TODO } // AccessibleJPasswordField()
protected AccessibleJPasswordField(JPasswordField component) { super(component); // TODO } // AccessibleJPasswordField()
40,825
public AccessibleRole getAccessibleRole() { return AccessibleRole.PASSWORD_TEXT; } // getAccessibleRole()
public AccessibleRole getAccessibleRole() { return AccessibleRole.PASSWORD_TEXT; } // getAccessibleRole()
40,826
public AccessibleRole getAccessibleRole() { return AccessibleRole.PASSWORD_TEXT; } // getAccessibleRole()
public AccessibleRole getAccessibleRole() { return AccessibleRole.PASSWORD_TEXT; } // getAccessibleRole()
40,827
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJPasswordField(this); } // if return accessibleContext; } // getAccessibleContext()
public AccessibleContext getAccessibleContext() { if (accessibleContext == null) { accessibleContext = new AccessibleJPasswordField(this); } // if return accessibleContext; } // getAccessibleContext()
40,828
public AccessibleStateSet getAccessibleStateSet() { return new AccessibleStateSet( );// return null; // TODO }
public AccessibleStateSet getAccessibleStateSet() { return new AccessibleStateSet( );// return null; // TODO }
40,829
public String getAfterIndex(int value0, int value1) { return "";// return null; // TODO }
public String getAfterIndex(int value0, int value1) { return "";// return null; // TODO }
40,830
public String getAtIndex(int value0, int value1) { return "";// return null; // TODO }
public String getAtIndex(int value0, int value1) { return "";// return null; // TODO }
40,831
public String getBeforeIndex(int value0, int value1) { return "";// return null; // TODO }
public String getBeforeIndex(int value0, int value1) { return "";// return null; // TODO }
40,832
public AttributeSet getCharacterAttribute(int value0) { return new SimpleAttributeSet( );// return null; // TODO }
public AttributeSet getCharacterAttribute(int value0) { return new SimpleAttributeSet( );// return null; // TODO }
40,833
public Rectangle getCharacterBounds(int value0) { return new Rectangle( );// return null; // TODO }
public Rectangle getCharacterBounds(int value0) { return new Rectangle( );// return null; // TODO }
40,834
Rectangle getRootEditorRect() { return new Rectangle( );//todo fix// return null; }
Rectangle getRootEditorRect() { return new Rectangle( );//todo fix// return null; }
40,835
public void actionPerformed( ActionEvent ev ) { if( caret != null ) { caret.setVisible( !caret.isVisible() ); } }
public void actionPerformed( ActionEvent ev ) { if( caret != null ) { caret.setVisible( !caret.isVisible() ); } }
40,836
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
40,837
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
40,838
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
public void update() { if( caret != null ) { stop(); setDelay( caret.getBlinkRate() ); if( editable ) { start(); } else { caret.setVisible( false ); } } }
40,839
final void loadToGPR(EmitterContext ec) { if (kind != Kind.REGISTER) { Register r = ec.getPool().request(JvmType.INT); if (r == null) { ec.getVStack().push(ec); r = ec.getPool().request(JvmType.INT); } assertCondition(r != null, "r != ...
final void loadToGPR(EmitterContext ec) { if (kind != Kind.REGISTER) { Register r = ec.getPool().request(JvmType.INT); if (r == null) { ec.getVStack().push(ec); r = ec.getPool().request(JvmType.INT); } assertCondition(r != null, "r != ...
40,840
final void loadToIf(EmitterContext ec, int mask, Register t0) { if ((getKind() & mask) > 0) loadTo(ec, t0); }
final void loadToIf(EmitterContext ec, int mask, Register t0) { if ((getKind() & mask) > 0) loadTo(ec, t0); }
40,841
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,842
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,843
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,844
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,845
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,846
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,847
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
final void push(EmitterContext ec) { final AbstractX86Stream os = ec.getStream(); final VirtualStack stack = ec.getVStack(); switch (getKind()) { case Kind.REGISTER: os.writePUSH(reg); break; case Kind.LOCAL: os.writePUSH(FP, offsetToFP); ...
40,848
final void spill(EmitterContext ec, Register reg) { assertCondition((getKind() == Kind.REGISTER) && (this.reg == reg), "spill1"); final X86RegisterPool pool = ec.getPool(); Register r = pool.request(getType()); if (r == null) { int cnt = ec.getVStack().push(ec); if ...
final void spill(EmitterContext ec, Register reg) { assertCondition((getKind() == Kind.REGISTER) && (this.reg == reg), "spill1"); final X86RegisterPool pool = ec.getPool(); Register r = pool.request(getType()); if (r == null) { int cnt = ec.getVStack().push(ec); if ...
40,849
final boolean uses(Register reg) { return ((kind == Kind.REGISTER) && this.reg.equals(reg)); }
final boolean uses(Register reg) { return ((kind == Kind.REGISTER) && this.reg.equals(reg)); }
40,850
public void layoutContainer(Container target) { synchronized (target.getTreeLock()) { Insets i = target.getInsets(); int top = i.top; int bottom = target.height - i.bottom; int left = i.left; int right = target.width - i.right; boolean left_to_right = target.getComponent...
public void layoutContainer(Container target) { synchronized (target.getTreeLock()) { Insets i = target.getInsets(); int top = i.top; int bottom = target.height - i.bottom; int left = i.left; int right = target.width - i.right; boolean left_to_right = target.getComponent...
40,851
protected AccessibleJComponent() { // TODO: Implement this properly. }
changeSupport = new SwingPropertyChangeSupport(this); changeSupport = new SwingPropertyChangeSupport(this); changeSupport = new SwingPropertyChangeSupport(this); changeSupport = new SwingPropertyChangeSupport(this); protectedchangeSupport = new SwingPropertyChangeSupport(this); AccessibleJComponent()changeSupport = new...
40,852
public void addPropertyChangeListener(PropertyChangeListener listener) { // TODO: Why is this overridden? super.addPropertyChangeListener(listener); }
public void addPropertyChangeListener(PropertyChangeListener listener) { // TODO: Why is this overridden? changeSupport.addPropertyChangeListener(listener); }
40,853
public Accessible getAccessibleChild(int value0) { return null; }
public Accessible getAccessibleChild(int value0) { return null; }
40,854
public int getAccessibleChildrenCount() { return 0; }
public int getAccessibleChildrenCount() { return 0; }
40,855
public String getAccessibleDescription() { return null; }
public String getAccessibleDescription() { return null; }
40,856
public AccessibleKeyBinding getAccessibleKeyBinding() { return null; }
public AccessibleKeyBinding getAccessibleKeyBinding() { return null; }
40,857
public String getAccessibleName() { return null; }
public String getAccessibleName() { return null; }
40,858
public AccessibleRole getAccessibleRole() { return null; }
public AccessibleRole getAccessibleRole() { return null; }
40,859
protected String getBorderTitle(Border value0) { return null; }
protected String getBorderTitle(Border value0) { return null; }
40,860
public String getTitledBorderText() { return null; }
public String getTitledBorderText() { return null; }
40,861
public String getToolTipText() { return null; }
public String getToolTipText() { return null; }
40,862
public void removePropertyChangeListener(PropertyChangeListener listener) { // TODO: Implement this properly. }
changeSupport.removePropertyChangeListener(listener); changeSupport.removePropertyChangeListener(listener); changeSupport.removePropertyChangeListener(listener); changeSupport.removePropertyChangeListener(listener); publicchangeSupport.removePropertyChangeListener(listener); voidchangeSupport.removePropertyChangeListen...
40,863
private Component findOverlapFreeParent(Rectangle clip) { Rectangle currentClip = clip; Component found = this; Container parent = this; while (parent != null) { Container newParent = parent.getParent(); if (newParent == null) break; // If the parent is optimizedDrawin...
private Component findOverlapFreeParent(Rectangle clip) { Rectangle currentClip = clip; Component found = this; Container parent = this; while (parent != null && !(parent instanceof Window)) { Container newParent = parent.getParent(); if (newParent == null) break; // I...
40,864
public TCPSocketImpl(TCPProtocol protocol) { this.protocol = protocol; }
public TCPSocketImpl(TCPProtocol protocol) { this.protocol = protocol; }
40,865
protected void accept(SocketImpl s) throws IOException { log.debug("accept " + s); if (controlBlock == null) { throw new IOException("Not listening"); } final TCPSocketImpl impl = (TCPSocketImpl)s; log.debug("accept: blocking"); impl.controlBlock = controlBlock.appAccept(); log.debug("accept: got one"); }
protected void accept(SocketImpl s) throws IOException { log.debug("accept " + s); if (controlBlock == null) { throw new IOException("Not listening"); } final TCPSocketImpl impl = (TCPSocketImpl)s; log.debug("accept: blocking"); impl.controlBlock = controlBlock.appAccept(); log.debug("accept: got one"); }
40,866
protected final int available() throws IOException { return getInputStream().available(); }
protected final int available() throws IOException { return getInputStream().available(); }
40,867
protected void bind(InetAddress host, int port) throws IOException { if (controlBlock != null) { throw new IOException("Already bound"); } controlBlock = protocol.bind(new IPv4Address(host), port); }
protected void bind(InetAddress host, int port) throws IOException { if (controlBlock != null) { throw new IOException("Already bound"); } controlBlock = protocol.bind(new IPv4Address(host), port); }
40,868
protected synchronized void close() throws IOException { if (is != null) { is.close(); } if (os != null) { os.close(); } if (controlBlock != null) { controlBlock.appClose(); controlBlock = null; } }
protected synchronized void close() throws IOException { if (is != null) { is.close(); } if (os != null) { os.close(); } if (controlBlock != null) { controlBlock.appClose(); controlBlock = null; } }
40,869
protected final void connect(InetAddress host, int port) throws IOException { connect(new InetSocketAddress(host, port), 0); }
protected final void connect(InetAddress host, int port) throws IOException { connect(new InetSocketAddress(host, port), 0); }
40,870
protected void create(boolean stream) throws IOException { // Do nothing yet }
protected void create(boolean stream) throws IOException { // Do nothing yet }
40,871
protected InputStream getInputStream() throws IOException { if (controlBlock == null) { throw new IOException("Connect first"); } if (is == null) { is = new TCPInputStream(controlBlock, this); } return is; }
protected InputStream getInputStream() throws IOException { if (controlBlock == null) { throw new IOException("Connect first"); } if (is == null) { is = new TCPInputStream(controlBlock, this); } return is; }
40,872
public Object getOption(int option_id) throws SocketException { // TODO Auto-generated method stub return null; }
public Object getOption(int option_id) throws SocketException { // TODO Auto-generated method stub return null; }
40,873
protected OutputStream getOutputStream() throws IOException { if (controlBlock == null) { throw new IOException("Connect first"); } if (os == null) { os = new TCPOutputStream(controlBlock, this); } return os; }
protected OutputStream getOutputStream() throws IOException { if (controlBlock == null) { throw new IOException("Connect first"); } if (os == null) { os = new TCPOutputStream(controlBlock, this); } return os; }
40,874
protected void listen(int backlog) throws IOException { if (controlBlock == null) { throw new IOException("Call bind first"); } controlBlock.appListen(); }
protected void listen(int backlog) throws IOException { if (controlBlock == null) { throw new IOException("Call bind first"); } controlBlock.appListen(); }
40,875
protected void sendUrgentData(int data) throws IOException { // TODO Auto-generated method stub }
protected void sendUrgentData(int data) throws IOException { // TODO Auto-generated method stub }
40,876
protected void sendUrgentData(int data) throws IOException { // TODO Auto-generated method stub }
protected void sendUrgentData(int data) throws IOException { // TODO Auto-generated method stub }
40,877
public void setOption(int option_id, Object val) throws SocketException { // TODO Auto-generated method stub }
public void setOption(int option_id, Object val) throws SocketException { // TODO Auto-generated method stub }
40,878
public void setOption(int option_id, Object val) throws SocketException { // TODO Auto-generated method stub }
public void setOption(int option_id, Object val) throws SocketException { // TODO Auto-generated method stub }
40,879
protected final void shutdownInput() throws IOException { getInputStream().close(); }
protected final void shutdownInput() throws IOException { getInputStream().close(); }
40,880
protected final void shutdownOutput() throws IOException { getOutputStream().close(); }
protected final void shutdownOutput() throws IOException { getOutputStream().close(); }
40,881
private EventManager () { _requests = new Hashtable (); // Add lists for all the event types _requests.put (new Byte (EventRequest.EVENT_SINGLE_STEP), new Hashtable ()); _requests.put (new Byte (EventRequest.EVENT_BREAKPOINT), new Hashtable ()); _requests.put (new Byte (EventRequest.EVENT_FRAM...
private EventManager () { _requests = new Hashtable (); // Add lists for all the event types _requests.put (new Byte (EventRequest.EVENT_SINGLE_STEP), new Hashtable ()); _requests.put (new Byte (EventRequest.EVENT_BREAKPOINT), new Hashtable ()); _requests.put (new Byte (EventRequest.EVENT_FRAM...
40,882
public void requestEvent (EventRequest request) throws InvalidEventTypeException { // Add request to request list Hashtable requests; Byte kind = new Byte (request.getEventKind ()); requests = (Hashtable) _requests.get (kind); if (requests == null) { // Did not get a valid event type throw new...
public void requestEvent (EventRequest request) throws JdwpException { // Add request to request list Hashtable requests; Byte kind = new Byte (request.getEventKind ()); requests = (Hashtable) _requests.get (kind); if (requests == null) { // Did not get a valid event type throw new InvalidEven...
40,885
public void run() { running = true; try { sleep(initialDelay); while (running) { try { sleep(delay); } catch (InterruptedException e) { return; } queueEvent(); if (logTimers) System.out.println("...
public void run() { running = true; try { sleep(initialDelay); while (running) { try { sleep(delay); } catch (InterruptedException e) { return; } queueEvent(); if (logTimers) System.out.println("...
40,886
public static void setCurrentKeyboardFocusManager (KeyboardFocusManager m) { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager")); ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusM...
public static void setCurrentKeyboardFocusManager (KeyboardFocusManager m) { SecurityManager sm = System.getSecurityManager (); if (sm != null) sm.checkPermission (new AWTPermission ("replaceKeyboardFocusManager")); ThreadGroup currentGroup = Thread.currentThread ().getThreadGroup (); KeyboardFocusM...
40,888
private final void grow() { if (stack.length == maxSize) { throw new StackException("Stack full"); } else { final Item[] tmp = new Item[ Math.min(maxSize, stack.length * 2)]; System.arraycopy(stack, 0, tmp, 0, stack.length); stack = tmp; } }
private final void grow() { if (stack.length == maxSize) { throw new StackException("Stack full"); } else { final Item[] tmp = new Item[ Math.min(maxSize, stack.length * 2)]; System.arraycopy(stack, 0, tmp, 0, stack.length); stack = tmp; } }
40,889
final boolean isAt(Item item, int offset) { if (tos <= 0) { throw new StackException("Stack is empty"); } return (stack[ (tos - 1) - offset] == item); }
final boolean isAt(Item item, int offset) { if (tos <= 0) { throw new StackException("Stack is empty"); } return (stack[ (tos - 1) - offset] == item); }
40,890
final boolean isTos(Item item) { if (tos <= 0) { throw new StackException("Stack is empty"); } return (stack[ tos - 1] == item); }
final boolean isTos(Item item) { if (tos <= 0) { throw new StackException("Stack is empty"); } return (stack[ tos - 1] == item); }
40,891
final void pop(Item item) { if (tos <= 0) { throw new Error("Stack is empty"); } if (stack[ --tos] != item) { int i = tos - 1; while ((i >= 0) && (stack[ i] != item)) i--; throw new StackException("OperandStack[" + tos + "] is not the ...
final void pop(Item item) { if (tos <= 0) { throw new Error("Stack is empty"); } if (stack[ --tos] != item) { int i = tos - 1; while ((i >= 0) && (stack[ i] != item)) i--; throw new StackException("OperandStack[" + tos + "] is not the ...
40,892
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[ i].getType()); buf.append(','); buf.append(stack[...
public String toString() { final StringBuffer buf = new StringBuffer(); for (int i = 0; i < tos; i++) { if (i != 0) { buf.append(','); } buf.append('('); buf.append(stack[ i].getType()); buf.append(','); buf.append(stack[...
40,893
final Item tos() { return stack[ tos - 1]; }
final Item tos() { return stack[ tos - 1]; }
40,894
public BufferedImage filter(BufferedImage src, BufferedImage dst) { if (src == dst) throw new IllegalArgumentException(); if (dst == null) dst = createCompatibleDestImage(src, src.getColorModel()); // Make sure source image is premultiplied BufferedImage src1 = src; if (!src.isPremul...
public final BufferedImage filter(BufferedImage src, BufferedImage dst) { if (src == dst) throw new IllegalArgumentException(); if (dst == null) dst = createCompatibleDestImage(src, src.getColorModel()); // Make sure source image is premultiplied BufferedImage src1 = src; if (!src.is...
40,895
public Rectangle2D getBounds2D(BufferedImage src) { return src.getRaster().getBounds(); }
public final Rectangle2D getBounds2D(BufferedImage src) { return src.getRaster().getBounds(); }
40,896
public Kernel getKernel() { return (Kernel) kernel.clone(); }
public final Kernel getKernel() { return (Kernel) kernel.clone(); }
40,897
public Point2D getPoint2D(Point2D src, Point2D dst) { if (dst == null) return (Point2D)src.clone(); dst.setLocation(src); return dst; }
public final Point2D getPoint2D(Point2D src, Point2D dst) { if (dst == null) return (Point2D)src.clone(); dst.setLocation(src); return dst; }
40,898
public RenderingHints getRenderingHints() { return hints; }
public final RenderingHints getRenderingHints() { return hints; }
40,899
public void connect(Remote a_target, Remote a_source) throws RemoteException { ORB orb = null; POA poa = null; boolean ok = false; try { if (a_source instanceof Servant) { Servant s = (Servant) a_source; orb = s._orb(); poa = s._poa(); o...
public void connect(Remote a_target, Remote a_source) throws RemoteException { ORB orb = null; POA poa = null; boolean ok = false; try { if (a_source instanceof Servant) { Servant s = (Servant) a_source; orb = s._orb(); poa = s._poa(); o...
40,900
public void connect(Remote a_target, Remote a_source) throws RemoteException { ORB orb = null; POA poa = null; boolean ok = false; try { if (a_source instanceof Servant) { Servant s = (Servant) a_source; orb = s._orb(); poa = s._poa(); o...
public void connect(Remote a_target, Remote a_source) throws RemoteException { ORB orb = null; POA poa = null; boolean ok = false; try { if (a_source instanceof Servant) { Servant s = (Servant) a_source; orb = s._orb(); poa = s._poa(); o...
40,901
private Object loadNextServiceProvider() { String line; Class klass; if (reader == null) advanceReader(); for (;;) { /* If we have reached the last provider list, we cannot * retrieve any further lines. */ if (reader == null) ...
private Object loadNextServiceProvider() { String line; if (reader == null) advanceReader(); for (;;) { /* If we have reached the last provider list, we cannot * retrieve any further lines. */ if (reader == null) return null...
40,902
public Component getComponent();
public Component getComponent();
40,903
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ...
public Dimension minimumLayoutSize(Container parent) { if (parent instanceof JScrollPane) { JScrollPane sc = (JScrollPane) parent; synchronized (sc.getTreeLock ()) { Dimension insetsSize = new Dimension(0,0); Dimension viewportSize = new Dimension(0,0); ...
40,904
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) if (name == null) return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) result = new DSSKeyPairGenerator(); ...
40,905
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator()...
40,906
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) if (name == null) return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) result = new DSSKeyPairGenerator(); ...
40,907
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator()...
40,908
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) if (name == null) return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) result = new DSSKeyPairGenerator(); ...
40,909
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator()...
40,910
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
40,911
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
public static IKeyPairGenerator getInstance(String name) { if (name == null) { return null; } name = name.trim(); IKeyPairGenerator result = null; if (name.equalsIgnoreCase(Registry.DSA_KPG) || name.equalsIgnoreCase(Registry.DSS_KPG)) { result = new DSSKeyPairGenerator...
40,912
public static final Set getNames() { HashSet hs = new HashSet(); hs.add(Registry.DSS_KPG); hs.add(Registry.DSA_KPG); hs.add(Registry.RSA_KPG); hs.add(Registry.DH_KPG); hs.add(Registry.SRP_KPG); return Collections.unmodifiableSet(hs); }
publicstaticfinalSetgetNames(){HashSeths=newHashSet();hs.add(Registry.DSS_KPG);hs.add(Registry.DSA_KPG);hs.add(Registry.RSA_KPG);hs.add(Registry.DH_KPG);hs.add(Registry.SRP_KPG);returnCollections.unmodifiableSet(hs);}
40,913
private static IKeyPairGenerator makeInstance (String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExce...
private static IKeyPairGenerator makeInstance(String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExcep...
40,914
private static IKeyPairGenerator makeInstance (String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExce...
private static IKeyPairGenerator makeInstance (String clazz) { try { Class c = Class.forName (clazz); Constructor ctor = c.getConstructor (new Class[0]); return (IKeyPairGenerator) ctor.newInstance (new Object[0]); } catch (Exception x) { throw new IllegalArgumentExce...
40,915