bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
protected final void pushConstant(EmitterContext ec, AbstractX86Stream os) { final long lvalue = Double.doubleToLongBits(value); final int lsbv = (int) (lvalue & 0xFFFFFFFFL); final int msbv = (int) ((lvalue >>> 32) & 0xFFFFFFFFL); os.writePUSH(msbv); os.writePUSH(lsbv); } | protected final void pushConstant(EmitterContext ec, AbstractX86Stream os) { final long lvalue = Double.doubleToLongBits(value); final int lsbv = (int) (lvalue & 0xFFFFFFFFL); final int msbv = (int) ((lvalue >>> 32) & 0xFFFFFFFFL); os.writePUSH(msbv); os.writePUSH(lsbv); } | 39,823 |
protected void pushToFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFLD64(reg, disp); } | protected void pushToFPU(AbstractX86Stream os, Register reg, int disp) { os.writeFLD64(reg, disp); } | 39,824 |
public Object decodeSignature(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); byte[] result; DERReader der = new DERReader(input); try { DERValue derSignature = der.read(); if (! (derSignature.getValue() instanceof BitString)... | public Object decodeSignature(byte[] input) { if (input == null) throw new InvalidParameterException("Input bytes MUST NOT be null"); byte[] result; DERReader der = new DERReader(input); try { DERValue derSignature = der.read(); if (! (derSignature.getValue() instanceof BitString)... | 39,825 |
public byte[] encodeSignature(Object signature) { byte[] sBytes = (byte[]) signature; DERValue derSignature = new DERValue(DER.BIT_STRING, new BitString(sBytes)); byte[] result; ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { DERWrite... | public byte[] encodeSignature(Object signature) { byte[] sBytes = (byte[]) signature; DERValue derSignature = new DERValue(DER.BIT_STRING, new BitString(sBytes)); byte[] result; ByteArrayOutputStream baos = new ByteArrayOutputStream(); try { DERWrite... | 39,826 |
public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } if (refs[1] != null) { ref... | public void doPass2(BootableHashMap liveVariables) { refs[0] = refs[0].simplify(); if (refs[0] instanceof Variable) { Variable v = (Variable) refs[0]; v.setLastUseAddress(this.getAddress()); liveVariables.put(v, v); } if (refs[1] != null) { ref... | 39,827 |
public String toString() { if (condition >= IF_ICMPEQ) { return getAddress() + ": if " + refs[0].toString() + " " + CONDITION_MAP[condition] + " " + refs[1].toString() + " goto " + getTargetAddress(); } else { return getAddress() + ": if " + ... | public String toString() { if (condition >= IF_ICMPEQ) { return getAddress() + ": if " + refs[0].toString() + " " + CONDITION_MAP[condition] + " " + refs[1].toString() + " goto " + getTargetBlock(); } else { return getAddress() + ": if " + re... | 39,828 |
public String toString() { if (condition >= IF_ICMPEQ) { return getAddress() + ": if " + refs[0].toString() + " " + CONDITION_MAP[condition] + " " + refs[1].toString() + " goto " + getTargetAddress(); } else { return getAddress() + ": if " + ... | public String toString() { if (condition >= IF_ICMPEQ) { return getAddress() + ": if " + refs[0].toString() + " " + CONDITION_MAP[condition] + " " + refs[1].toString() + " goto " + getTargetAddress(); } else { return getAddress() + ": if " + ... | 39,829 |
SocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); impl = new PlainSocketImpl(); socket = new NIOSocket (impl, this); configureBlocking(true); } | SocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); impl = new PlainSocketImpl(); socket = new NIOSocket (impl, this); configureBlocking(true); } | 39,831 |
SocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); impl = new PlainSocketImpl(); socket = new NIOSocket (impl, this); configureBlocking(true); } | SocketChannelImpl (SelectorProvider provider) throws IOException { super (provider); impl = new PlainSocketImpl(); socket = new NIOSocket (impl, this); configureBlocking(true); } | 39,832 |
public boolean connect (SocketAddress remote) throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (isConnected()) throw new AlreadyConnectedException(); if (connectionPending) throw new ConnectionPendingException(); if (!(remote instanceof InetSocketAddress)) ... | public boolean connect (SocketAddress remote) throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (isConnected()) throw new AlreadyConnectedException(); if (connectionPending) throw new ConnectionPendingException(); if (!(remote instanceof InetSocketAddress)) ... | 39,833 |
public boolean connect (SocketAddress remote) throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (isConnected()) throw new AlreadyConnectedException(); if (connectionPending) throw new ConnectionPendingException(); if (!(remote instanceof InetSocketAddress)) ... | public boolean connect (SocketAddress remote) throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (isConnected()) throw new AlreadyConnectedException(); if (connectionPending) throw new ConnectionPendingException(); if (!(remote instanceof InetSocketAddress)) ... | 39,834 |
public void finalizer() { if (isConnected()) { try { close (); } catch (Exception e) { } } } | public void finalizer() { if (isConnected()) { try { close (); } catch (Exception e) { } } } | 39,835 |
public void finalizer() { if (isConnected()) { try { close (); } catch (Exception e) { } } } | public void finalizer() { if (isConnected()) { try { close (); } catch (Exception e) { } } } | 39,836 |
public boolean finishConnect () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!isConnected() && !connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector se... | public boolean finishConnect() throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!isConnected() && !connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector sel... | 39,837 |
public boolean finishConnect () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!isConnected() && !connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector se... | public boolean finishConnect () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector selector = provider(... | 39,838 |
public boolean finishConnect () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!isConnected() && !connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector se... | public boolean finishConnect () throws IOException { if (!isOpen()) throw new ClosedChannelException(); if (!isConnected() && !connectionPending) throw new NoConnectionPendingException(); if (isConnected()) return true; // FIXME: Handle blocking/non-blocking mode. Selector se... | 39,839 |
protected void implCloseSelectableChannel () throws IOException { socket.close(); } | protected void implCloseSelectableChannel() throws IOException { socket.close(); } | 39,840 |
protected void implCloseSelectableChannel () throws IOException { socket.close(); } | protected void implCloseSelectableChannel () throws IOException { channel.close(); } | 39,841 |
protected void implConfigureBlocking (boolean blocking) throws IOException { socket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); } | protected void implConfigureBlocking (boolean blocking) throws IOException { socket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); } | 39,842 |
public boolean isConnected () { return socket.isConnected(); } | public boolean isConnected() { return socket.isConnected(); } | 39,843 |
public boolean isConnected () { return socket.isConnected(); } | public boolean isConnected () { if (connectionPending) return false; try { InetSocketAddress remote = channel.getPeerAddress(); return remote != null; } catch (IOException ioe) { ioe.printStackTrace(System.out); return false; } } | 39,844 |
public boolean isConnectionPending () { return connectionPending; } | public boolean isConnectionPending () { return connectionPending; } | 39,845 |
public boolean isConnectionPending () { return connectionPending; } | public boolean isConnectionPending () { return connectionPending; } | 39,846 |
public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | 39,847 |
public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | 39,848 |
public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | public int read(ByteBuffer dst) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; InputStream input = socket.getInputStream(); int available = input.available(); int len = dst.remaining(); if ((! isBlocking()) && available == 0) ... | 39,849 |
public int write (ByteBuffer src) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; int len = src.remaining(); if (!src.hasArray()) { data = new byte [len]; src.get (data, 0, len); } else { offset... | public int write (ByteBuffer src) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; int len = src.remaining(); if (!src.hasArray()) { data = new byte [len]; src.get (data, 0, len); } else { offset... | 39,850 |
public int write (ByteBuffer src) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; int len = src.remaining(); if (!src.hasArray()) { data = new byte [len]; src.get (data, 0, len); } else { offset... | public int write (ByteBuffer src) throws IOException { if (!isConnected()) throw new NotYetConnectedException(); byte[] data; int offset = 0; int len = src.remaining(); if (!src.hasArray()) { data = new byte [len]; src.get (data, 0, len); } else { offset... | 39,851 |
public MappedByteBuffer map (FileChannel.MapMode mode, long position, long size) throws IOException { char nmode = 0; if (mode == MapMode.READ_ONLY) { nmode = 'r'; if ((this.mode & READ) == 0) throw new NonReadableChannelException(); } else if (mode == MapMode.READ_WRITE || mode == M... | public MappedByteBuffer map (FileChannel.MapMode mode, long position, long size) throws IOException { char nmode = 0; if (mode == MapMode.READ_ONLY) { nmode = 'r'; if ((this.mode & READ) == 0) throw new NonReadableChannelException(); } else if (mode == MapMode.READ_WRITE || mode == M... | 39,853 |
public MappedByteBuffer map (FileChannel.MapMode mode, long position, long size) throws IOException { char nmode = 0; if (mode == MapMode.READ_ONLY) { nmode = 'r'; if ((this.mode & READ) == 0) throw new NonReadableChannelException(); } else if (mode == MapMode.READ_WRITE || mode == M... | public MappedByteBuffer map (FileChannel.MapMode mode, long position, long size) throws IOException { char nmode = 0; if (mode == MapMode.READ_ONLY) { nmode = 'r'; if ((this.mode & READ) == 0) throw new NonReadableChannelException(); } else if (mode == MapMode.READ_WRITE || mode == M... | 39,854 |
public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException ("position: " + position + ", size: " + size); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) ... | 39,855 |
public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && ((mode & READ) == 0)) throw new NonReadableChannelException... | 39,856 |
public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | public FileLock tryLock (long position, long size, boolean shared) throws IOException { if (position < 0 || size < 0) throw new IllegalArgumentException (); if (!isOpen ()) throw new ClosedChannelException (); if (shared && (mode & READ) == 0) throw new NonReadableChannelException (... | 39,857 |
public void mouseClicked(MouseEvent e) { // TODO: What should be done here, if anything? } | Point p = e.getPoint(); int row = table.rowAtPoint(p); int col = table.columnAtPoint(p); if (table.isCellEditable(row, col)) { TableCellEditor editor = table.getCellEditor(row, col); if (editor instanceof DefaultCellEditor) { DefaultCellEditor ce = (DefaultCellEditor) editor; if (e.getClickCount() < ce.getClickCount... | 39,858 |
public Dimension getMaximumSize(JComponent comp) { int maxTotalColumnWidth = 0; for (int i = 0; i < table.getColumnCount(); i++) maxTotalColumnWidth += table.getColumnModel().getColumn(i).getMaxWidth(); if (maxTotalColumnWidth == 0 || table.getRowCount() == 0) return null; return new Dimension... | public Dimension getMaximumSize(JComponent comp) { int maxTotalColumnWidth = 0; for (int i = 0; i < table.getColumnCount(); i++) maxTotalColumnWidth += table.getColumnModel().getColumn(i).getMaxWidth(); if (maxTotalColumnWidth == 0 || table.getRowCount() == 0) return null; return new Dimension... | 39,860 |
public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * table.getRowHeight(); return new Dimension(width, height); } | public Dimension getPreferredSize(JComponent comp) { int width = table.getColumnModel().getTotalColumnWidth(); int height = table.getRowCount() * (table.getRowHeight()+table.getRowMargin()); return new Dimension(width, height); } | 39,861 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight() + table.getR... | 39,862 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 39,863 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 39,864 |
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { Component comp = table.prepareRenderer(rend, row, col); rendererPane.paintComponent(g, comp, table, bounds); // FIXME: this is manual painti... | void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { Component comp = table.prepareRenderer(rend, row, col); rendererPane.paintComponent(g, comp, table, bounds); // FIXME: this is manual painti... | 39,865 |
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { Component comp = table.prepareRenderer(rend, row, col); rendererPane.paintComponent(g, comp, table, bounds); // FIXME: this is manual painti... | void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { Component comp = table.prepareRenderer(rend, row, col); rendererPane.paintComponent(g, comp, table, bounds); // FIXME: this is manual painti... | 39,866 |
protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", new ColorUIResource(getControl()), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", new ColorUIResource(getControlDark... | protected void initComponentDefaults(UIDefaults defaults) { super.initComponentDefaults(defaults); Object[] myDefaults = new Object[] { "Button.background", new ColorUIResource(getControl()), "Button.border", MetalBorders.getButtonBorder(), "Button.darkShadow", new ColorUIResource(getControlDark... | 39,868 |
protected LayoutManager createLayoutManager() { return super.createLayoutManager(); } | protected LayoutManager createLayoutManager() { return new TabbedPaneLayout(); } | 39,870 |
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)... | 39,871 |
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | 39,872 |
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | 39,873 |
protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | protected void paintBottomTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGa... | 39,874 |
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x + 1, y + h, x + 1, y + 6); g.drawLine(x + 1, y + 6, x + 6, y + 1); g... | protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = tabRuns[curren... | 39,875 |
protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x + 1, y + h, x + 1, y + 6); g.drawLine(x + 1, y + 6, x + 6, y + 1); g... | protected void paintLeftTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x + 1, y + h, x + 1, y + 6); g.drawLine(x + 1, y + 6, x + 6, y + 1); g... | 39,876 |
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x, y + 1, x + w - 7, y + 1); g.drawLine(x + w - 7, y + 1, x + w - 1, y + 7... | protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { g.translate(x, y); int bottom = h - 1; int right = w - 1; int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int firstIndex = tabRuns[curren... | 39,877 |
protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x, y + 1, x + w - 7, y + 1); g.drawLine(x + w - 7, y + 1, x + w - 1, y + 7... | protected void paintRightTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { if (isSelected) { g.setColor(MetalLookAndFeel.getControlHighlight()); g.drawLine(x, y + 1, x + w - 7, y + 1); g.drawLine(x + w - 7, y + 1, x + w - 1, y + 7... | 39,878 |
protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(UIManager.getColor("TabbedPane.selected")); else { // This is only present in the OceanTheme, so we must check if it // is actu... | protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(selectColor); else { // This is only present in the OceanTheme, so we must check if it // is actually there Color backgr... | 39,879 |
protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(UIManager.getColor("TabbedPane.selected")); else { // This is only present in the OceanTheme, so we must check if it // is actu... | protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(UIManager.getColor("TabbedPane.selected")); else { // This is only present in the OceanTheme, so we must check if it // is actu... | 39,880 |
protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(UIManager.getColor("TabbedPane.selected")); else { // This is only present in the OceanTheme, so we must check if it // is actu... | protected void paintTabBackground(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (isSelected) g.setColor(UIManager.getColor("TabbedPane.selected")); else { // This is only present in the OceanTheme, so we must check if it // is actu... | 39,881 |
protected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (tabPlacement == TOP) paintTopTabBorder(tabIndex, g, x, y, w, h, 0, 0, isSelected); else if (tabPlacement == LEFT) paintLeftTabBorder(tabIndex, g, x, y, w, h, 0, ... | protected void paintTabBorder(Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected) { if (tabPlacement == TOP) paintTopTabBorder(tabIndex, g, x, y, w, h, 0, 0, isSelected); else if (tabPlacement == LEFT) paintLeftTabBorder(tabIndex, g, x, y, w, h, 0, ... | 39,882 |
protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int tabCount = tabPane.getTabCount(); int currentRun = getRunForTab(tabCount, tabIndex); int right = w - 1; int bottom = h - 1; if (shouldFillGap(currentRun, tabIndex, x, y)) ... | 39,883 |
protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | 39,884 |
protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | 39,885 |
protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | protected void paintTopTabBorder(int tabIndex, Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected) { int currentRun = getRunForTab(tabPane.getTabCount(), tabIndex); if (shouldFillGap(currentRun, tabIndex, x, y)) { g.translate(x, y); g.setColor(getColorForGap(c... | 39,886 |
protected Rectangle getTabBounds(int tabIndex, Rectangle dest) { dest.setBounds(getTabBounds(tabPane, tabIndex)); return dest; } | public Rectangle getTabBounds(JTabbedPane pane, int i) { dest.setBounds(getTabBounds(tabPane, tabIndex)); return dest; } | 39,887 |
protected Rectangle getTabBounds(int tabIndex, Rectangle dest) { dest.setBounds(getTabBounds(tabPane, tabIndex)); return dest; } | protected Rectangle getTabBounds(int tabIndex, Rectangle dest) { dest.setBounds(getTabBounds(tabPane, tabIndex)); return dest; } | 39,888 |
protected Container createContentPane() { return new ContentPane(); } | protected Container createContentPane() { ContentPane p = new ContentPane(); p.setName(this.getName() + ".contentPane"); p.setLayout(new BorderLayout()); return p; } | 39,889 |
public final Graphics getGraphics() { return peerComponent.getGraphics(); } | public final Graphics getGraphics() { return super.getGraphics(); } | 39,890 |
public Dimension getMaximumSize(JComponent c) { // If this menu is in a popup menu, treat it like a regular JMenuItem if (!((JMenu)c).isTopLevelMenu()) { JMenuItem menuItem = new JMenuItem(((JMenu)c).getText(), ((JMenu)c).getIcon()); return menuItem.getMaximumSize(); } return c.getPr... | public Dimension getMaximumSize(JComponent c) { // If this menu is in a popup menu, treat it like a regular JMenuItem if (!((JMenu)c).isTopLevelMenu()) { JMenuItem menuItem = new JMenuItem(((JMenu)c).getText(), ((JMenu)c).getIcon()); return menuItem.getMaximumSize(); } return c.getPr... | 39,891 |
public String getName() { return "job-impressions"; } | public String getName() { return "job-impressions-completed"; } | 39,892 |
int determineNumLines() { int end = getEndOffset(); if (end == 0) return 0; numLines = 0; int breakPoint; for (int i = getStartOffset(); i < end;) { numLines ++; // careful: check that there's no off-by-one problem here // depending on... | int determineNumLines() { int end = getEndOffset(); if (end == 0) return 0; int breakPoint; for (int i = getStartOffset(); i < end;) { numLines ++; // careful: check that there's no off-by-one problem here // depending on which positio... | 39,893 |
public float getPreferredSpan(int axis) { if (axis == X_AXIS) return getWidth(); else if (axis == Y_AXIS) { metrics = getContainer().getFontMetrics(getContainer().getFont()); return numLines * metrics.getHeight(); } throw new IllegalArgumentException("... | public float getPreferredSpan(int axis) { if (axis == X_AXIS) return getWidth(); else if (axis == Y_AXIS) { metrics = getContainer().getFontMetrics(getContainer().getFont()); return numLines * metrics.getHeight(); } throw new IllegalArgumentException("... | 39,894 |
public float getPreferredSpan(int axis) { if (axis == X_AXIS) return getWidth(); else if (axis == Y_AXIS) { metrics = getContainer().getFontMetrics(getContainer().getFont()); return numLines * metrics.getHeight(); } throw new IllegalArgumentException("... | public float getPreferredSpan(int axis) { if (axis == X_AXIS) return getWidth(); else if (axis == Y_AXIS) { metrics = getContainer().getFontMetrics(getContainer().getFont()); return numLines * metrics.getHeight(); throw new IllegalArgumentException("In... | 39,895 |
public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 ... | public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 ... | 39,896 |
public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 ... | public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 and height equal to the height // of the text rect.heigh... | 39,897 |
public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 ... | public Shape modelToView(int pos, Shape a, Bias b) throws BadLocationException { Segment s = getLineBuffer(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getHeight(); Rectangle rect = a.getBounds(); // Return a rectangle with width 1 ... | 39,898 |
public void paint(Graphics g, Shape s) { // TODO Auto-generated method stub } | updateMetrics(); JTextComponent textComponent = (JTextComponent) getContainer(); g.setFont(textComponent.getFont()); selectedColor = textComponent.getSelectedTextColor(); unselectedColor = textComponent.getForeground(); disabledColor = textComponent.getDisabledTextColor(); selectedColor = Color.WHITE; Rectangle r... | 39,899 |
public int viewToModel(float x, float y, Shape a, Bias[] b) { Segment s = getLineBuffer(); Rectangle rect = a.getBounds(); int currLineStart = getStartOffset(); int end = getEndOffset(); metrics = getContainer().getFontMetrics(getContainer().getFont()); int lineHeight = metrics.getH... | public int viewToModel(float x, float y, Shape a, Bias[] b) { Segment s = getLineBuffer(); Rectangle rect = a.getBounds(); int currLineStart = getStartOffset(); int end = getEndOffset(); int lineHeight = metrics.getHeight(); if (y < rect.y) return currLineStart; if ... | 39,900 |
protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.getBounds(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { // this shouldn't happen } // FIXME: Should we account... | protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.isValid() ? c.getBounds() : new Rectangle(c.getPreferredSize()); updateMetrics(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { ... | 39,901 |
protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.getBounds(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { // this shouldn't happen } // FIXME: Should we account... | protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.getBounds(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { // this shouldn't happen } // FIXME: Should we account... | 39,902 |
protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.getBounds(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { // this shouldn't happen } // FIXME: Should we account... | protected int calculateBreakPosition(int p0, int p1) { Container c = getContainer(); Rectangle alloc = c.getBounds(); try { getDocument().getText(p0, p1 - p0, getLineBuffer()); } catch (BadLocationException ble) { // this shouldn't happen } // FIXME: Should we account... | 39,903 |
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, 0); } | protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { g.setColor(selectedColor); Segment segment = getLineBuffer(); getDocument().getText(p0, p1 - p0, segment); return Utilities.drawTabbedText(segment, x, y, g, this, p0); } | 39,904 |
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); else g.setColor(disabledColor); Segment segment = getLineBuff... | protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); else g.setColor(disabledColor); Segment segment = getLineBuff... | 39,905 |
public void updateUI() { setUI((ProgressBarUI) UIManager.getUI(this)); invalidate(); } | public void updateUI() { setUI((ProgressBarUI) UIManager.getUI(this)); } | 39,906 |
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_boolean); } | public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_boolean); } | 39,907 |
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | private Integer computeOffset(String zoneString, ParsePosition pos) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt... | 39,908 |
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); boolean hasAll = matcher.lookingAt(); try { matcher.group(2); matcher.group(4); matcher.group(5); } catch (IllegalStateExcep... | 39,909 |
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | 39,910 |
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ... | 39,911 |
public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm... | public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm... | 39,913 |
private int getColForPoint(Point p) { int x0 = table.getLocation().x; int ncols = table.getColumnCount(); Dimension gap = table.getInterCellSpacing(); TableColumnModel cols = table.getColumnModel(); int x = p.x; for (int i = 0; i < ncols; ++i) { int width = col... | private int getColForPoint(Point p) { int x0 = table.getLocation().x; int ncols = table.getColumnCount(); Dimension gap = table.getIntercellSpacing(); TableColumnModel cols = table.getColumnModel(); int x = p.x; for (int i = 0; i < ncols; ++i) { int width = col... | 39,914 |
private int getRowForPoint(Point p) { int y0 = table.getLocation().y; int nrows = table.getRowCount(); Dimension gap = table.getInterCellSpacing(); int height = table.getRowHeight() + (gap == null ? 0 : gap.height); int y = p.y; for (int i = 0; i < nrows; ++i) { ... | private int getRowForPoint(Point p) { int y0 = table.getLocation().y; int nrows = table.getRowCount(); Dimension gap = table.getIntercellSpacing(); int height = table.getRowHeight() + (gap == null ? 0 : gap.height); int y = p.y; for (int i = 0; i < nrows; ++i) { ... | 39,915 |
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =... | 39,916 |
public void update(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; if (b.isOpaque() && UIManager.get(getPropertyPrefix() + "gradient") != null && !b.getModel().isPressed() && b.isEnabled()) { MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(), ... | public void update(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; if (b.isContentAreaFilled() && UIManager.get(getPropertyPrefix() + "gradient") != null && !b.getModel().isPressed() && b.isEnabled()) { MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(), ... | 39,917 |
public Rectangle2D getBounds2D(Raster src) { return src.getBounds(); } | public final Rectangle2D getBounds2D(Raster src) { return src.getBounds(); } | 39,918 |
public float[][] getMatrix() { return matrix; } | public final float[][] getMatrix() { return matrix; } | 39,919 |
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; } | 39,920 |
public RenderingHints getRenderingHints() { return hints; } | public final RenderingHints getRenderingHints() { return hints; } | 39,921 |
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)... | public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); AOM.Obj exists = aom.findServant(a_servant); if (exists != null) { ... | 39,922 |
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)... | public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)... | 39,923 |
private void connectDelegate(byte[] object_key, servantDelegate delegate) { aom.add(delegate); connect_to_orb(object_key, delegate.object); if (servant_activator != null) incarnate(null, object_key, delegate.servant, false); } | private void connectDelegate(byte[] object_key, ServantDelegateImpl delegate) { aom.add(delegate); connect_to_orb(object_key, delegate.object); if (servant_activator != null) incarnate(null, object_key, delegate.servant, false); } | 39,924 |
public org.omg.CORBA.Object create_reference(String a_repository_id) throws WrongPolicy { required(IdAssignmentPolicyValue.SYSTEM_ID); return create_reference_with_id(activeObjectMap.getFreeId(), a_repository_id); } | public org.omg.CORBA.Object create_reference(String a_repository_id) throws WrongPolicy { required(IdAssignmentPolicyValue.SYSTEM_ID); return create_reference_with_id(AOM.getFreeId(), a_repository_id); } | 39,925 |
public org.omg.CORBA.Object create_reference_with_id(byte[] an_object_id, String a_repository_id ) { String[] ids; if (a_repository_id == null) ids = null; else ids = new String[] { a_reposit... | public org.omg.CORBA.Object create_reference_with_id(byte[] an_object_id, String a_repository_id ) { String[] ids; if (a_repository_id == null) ids = null; else ids = new String[] { a_reposit... | 39,926 |
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe... | public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDeactivated(tr... | 39,927 |
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe... | public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe... | 39,928 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.