bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static RubyString unmarshalFrom(UnmarshalStream input) throws java.io.IOException { return RubyString.newString(input.getRuntime(), input.unmarshalString()); } | public static RubyString unmarshalFrom(UnmarshalStream input) throws java.io.IOException { return RubyString.newString(input.getRuntime(), input.unmarshalString()); } | 3,239,183 |
protected void onPlayerStateChange() { switch (state) { case START: if (historyState == Player.PAUSE) { switch (index) { case ACROSS_Z: //if (movieType == BACKWARD) frameNumberZ = endZ; ... | protected void onPlayerStateChange() { switch (state) { case START: if (historyState == Player.PAUSE) { switch (index) { case ACROSS_Z: //if (movieType == BACKWARD) frameNumberZ = endZ; ... | 3,239,184 |
public static void main(final String[] args) { /* * EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; * EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; * XMPPConnection.DEBUG_ENABLED = true; */ String current = System.getProperty("java.library.path"); String classPath = ... | public static void main(final String[] args) { /* * EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; * EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; * XMPPConnection.DEBUG_ENABLED = true; */ String current = System.getProperty("java.library.path"); String classPath = ... | 3,239,186 |
public IRubyObject cmp(IRubyObject other) { if (!(other instanceof RubyNumeric)) { return getRuntime().getNil(); } return getRuntime().newFixnum(compareValue((RubyNumeric) other)); } | public IRubyObject cmp(IRubyObject other) { if (!(other instanceof RubyNumeric)) { return getRuntime().getNil(); } return getRuntime().newFixnum(compareValue((RubyNumeric) other)); } | 3,239,187 |
public HTMLReport(Coverage coverage, File outputDir, File sourceDir) throws Exception { this.outputDir = outputDir; this.sourceDir = sourceDir; this.coverage = coverage; removeNonexistantClasses(); CopyFiles.copy(outputDir); generatePackageList(); generateClassLists(); generateOverviews(); generateSourceFil... | public HTMLReport(Coverage coverage, File outputDir, File sourceDir) throws Exception { this.outputDir = outputDir; this.sourceDir = sourceDir; this.coverage = coverage; removeNonexistantClasses(); CopyFiles.copy(outputDir); generatePackageList(); generateClassLists(); generateOverviews(); generateSourceFil... | 3,239,188 |
public ImageCanvas(ViewerUIF view) { this.view = view; magFactor = 1.0; setBackground(Viewer.BACKGROUND_COLOR); setDoubleBuffered(true); } | public ImageCanvas(ViewerUIF view) { this.view = view; magFactor = 1.0; setBackground(Viewer.BACKGROUND_COLOR); setDoubleBuffered(true); } | 3,239,189 |
public ImageCanvas(ViewerUIF view) { this.view = view; magFactor = 1.0; setBackground(Viewer.BACKGROUND_COLOR); setDoubleBuffered(true); } | public ImageCanvas(ViewerUIF view) { this.view = view; magFactor = 1.0; setBackground(Viewer.BACKGROUND_COLOR); setDoubleBuffered(true); } | 3,239,190 |
public BufferedImage getDisplayImage() { //Now we only need to tell Java2D how to handle the RGB buffer. int sizeX = displayImage.getWidth(); int sizeY = displayImage.getHeight(); DataBufferByte buffer = new DataBufferByte(sizeX*sizeY, 3); DataBuffer dataBuf = displayImage.ge... | public BufferedImage getDisplayImage() { //Now we only need to tell Java2D how to handle the RGB buffer. int sizeX = displayImage.getWidth(); int sizeY = displayImage.getHeight(); DataBufferByte buffer = new DataBufferByte(sizeX*sizeY, 3); DataBuffer dataBuf = displayImage.ge... | 3,239,191 |
public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | 3,239,192 |
public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | 3,239,193 |
public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | public void paint(Graphics g) { super.paintComponent(g); Graphics2D g2D = (Graphics2D) g; setLocation(); paintXYFrame(g2D); g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2D.setRenderingHint(RenderingHints.KEY_RENDERING, RenderingHints.VALUE_RENDER_QUALITY)... | 3,239,194 |
public void paintImage(BufferedImage image) { this.image = image; if (image != null) { paintImage(magFactor, (int) (image.getWidth()*magFactor)+2*ViewerUIF.START, (int) (image.getHeight()*magFactor)+2*ViewerUIF.START); } } | public void paintImage(BufferedImage image) { this.image = image; if (image != null) { paintImage(magFactor, (int) (image.getWidth()*magFactor)+2*ViewerUIF.START, (int) (image.getHeight()*magFactor)+2*ViewerUIF.START); } } | 3,239,195 |
public void paintImage(BufferedImage image) { this.image = image; if (image != null) { paintImage(magFactor, (int) (image.getWidth()*magFactor)+2*ViewerUIF.START, (int) (image.getHeight()*magFactor)+2*ViewerUIF.START); } } | public void paintImage(BufferedImage image) { this.image = image; if (image != null) { paintImage(magFactor, (int) (image.getWidth()*magFactor)+2*ViewerUIF.START, (int) (image.getHeight()*magFactor)+2*ViewerUIF.START); } } | 3,239,196 |
private void paintXYFrame(Graphics2D g2D) { FontMetrics fontMetrics = g2D.getFontMetrics(); int hFont = fontMetrics.getHeight()/4; //x-axis int x1 = ViewerUIF.START-ViewerUIF.ORIGIN; int y1 = ViewerUIF.START-ViewerUIF.ORIGIN; g2D.drawLine(x1, y1, x1+ViewerUIF.LENGTH, y1); g2D.drawLine(x1-ViewerUIF.ARROW+ViewerU... | private void paintXYFrame(Graphics2D g2D) { FontMetrics fontMetrics = g2D.getFontMetrics(); int hFont = fontMetrics.getHeight()/4; //x-axis int x1 = ViewerUIF.START-ViewerUIF.ORIGIN; int y1 = ViewerUIF.START-ViewerUIF.ORIGIN; g2D.drawLine(x1, y1, x1+ViewerUIF.LENGTH, y1); g2D.drawLine(x1-ViewerUIF.ARROW+ViewerU... | 3,239,197 |
private void setLocation() { Rectangle r = view.getScrollPane().getViewportBorderBounds(); x = ((r.width-w)/2); y = ((r.height-h)/2); if (x < 0) x = 0; if (y < 0) y = 0; setBounds(x, y, w, h); } | private void setLocation() { Rectangle r = view.getScrollPane().getViewportBorderBounds(); x = ((r.width-w)/2); y = ((r.height-h)/2); if (x < 0) x = 0; if (y < 0) y = 0; setBounds(x, y, w, h); } | 3,239,198 |
private void setLocation() { Rectangle r = view.getScrollPane().getViewportBorderBounds(); x = ((r.width-w)/2); y = ((r.height-h)/2); if (x < 0) x = 0; if (y < 0) y = 0; setBounds(x, y, w, h); } | private void setLocation() { Rectangle r = view.getScrollPane().getViewportBorderBounds(); x = ((r.width-w)/2); y = ((r.height-h)/2); if (x < 0) x = 0; if (y < 0) y = 0; setBounds(x, y, w, h); } | 3,239,199 |
private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | 3,239,200 |
private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | 3,239,201 |
private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | private boolean isRescueHandled(Ruby ruby, RubyObject self, Node node) { // TMP_PROTECT; if (node.getArgsNode() == null) { // return ruby.getActException().m_kind_of(ruby.getExceptions().getStandardError()).isTrue(); } RubyBlock tmpBlock = ArgsUtil.beginCallArgs(ruby);... | 3,239,202 |
public static void parseTemplate(String name, Reader in) { try { Builder bb = parser.parseBlock(name, in); Block b = (Block) bb.build(new BuildContext(broker)); } catch (Exception e) { System.err.println("Exception parsing template " + name + "\n" + e); } } | public static void parseTemplate(String name, Reader in) { try { Builder bb = parser.parseBlock(name, in); bb.build(new BuildContext(broker)); } catch (Exception e) { System.err.println("Exception parsing template " + name + "\n" + e); } } | 3,239,203 |
public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | 3,239,204 |
public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | 3,239,205 |
public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | 3,239,206 |
public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | public SendMessage() { setLayout(new GridBagLayout()); setBackground(new Color(250, 249, 242)); add(imageLabel, new GridBagConstraints(0, 0, 1, 3, 0.0, 0.0, GridBagConstraints.NORTHWEST, GridBagConstraints.NONE, new Insets(5, 5, 5, 5), 0, 0)); add(titleLabel, new GridBagConstraints(1, 0,... | 3,239,207 |
private void makeClickable(final JLabel label) { label.setToolTipText("Click to open"); label.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { openFile(fileToSend); } public void mouseEntered(MouseEvent e) { l... | private void makeClickable(final JLabel label) { label.setToolTipText(Res.getString("message.click.to.open")); label.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { openFile(fileToSend); } public void mouseEntered(MouseEven... | 3,239,208 |
public void sendFile(final OutgoingFileTransfer transfer, FileTransferManager transferManager, final String jid, final String nickname) { this.transferManager = transferManager; cancelButton.setVisible(true); retryButton.setVisible(false); this.fullJID = jid; this.nickname = nickn... | public void sendFile(final OutgoingFileTransfer transfer, FileTransferManager transferManager, final String jid, final String nickname) { this.transferManager = transferManager; cancelButton.setVisible(true); retryButton.setVisible(false); this.fullJID = jid; this.nickname = nickn... | 3,239,209 |
public void sendFile(final OutgoingFileTransfer transfer, FileTransferManager transferManager, final String jid, final String nickname) { this.transferManager = transferManager; cancelButton.setVisible(true); retryButton.setVisible(false); this.fullJID = jid; this.nickname = nickn... | public void sendFile(final OutgoingFileTransfer transfer, FileTransferManager transferManager, final String jid, final String nickname) { this.transferManager = transferManager; cancelButton.setVisible(true); retryButton.setVisible(false); this.fullJID = jid; this.nickname = nickn... | 3,239,210 |
public Object construct() { while (true) { try { Thread.sleep(10); FileTransfer.Status status = transfer.getStatus(); if (status == Status.ERROR || status == Status.COMPLETE || s... | public Object construct() { while (true) { try { Thread.sleep(10); FileTransfer.Status status = transfer.getStatus(); if (status == Status.ERROR || status == Status.COMPLETE || s... | 3,239,211 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,212 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,213 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,214 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,215 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,216 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,217 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,218 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,219 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,220 |
private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | private void updateBar(final OutgoingFileTransfer transfer, String nickname) { FileTransfer.Status status = transfer.getStatus(); if (status == Status.NEGOTIATING_STREAM) { titleLabel.setText("Negotiating file transfer with " + nickname + ". Please wait..."); } else if (status... | 3,239,221 |
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, ... | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, ... | 3,239,222 |
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, ... | public Component getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus) { super.getTreeCellRendererComponent(tree, value, sel, expanded, leaf, ... | 3,239,223 |
public IRubyObject[] all_symbols() { Object[] tmp = table.values().toArray(); IRubyObject[] array = new IRubyObject[tmp.length]; for (int i = 0; i < tmp.length; i++) { array[i] = (IRubyObject) ((WeakSymbolEntry) tmp[i]).get(); } r... | public IRubyObject[] all_symbols() { Object[] tmp = table.values().toArray(); IRubyObject[] array = new IRubyObject[tmp.length]; for (int i = 0; i < tmp.length; i++) { array[i] = (IRubyObject) ((WeakSymbolEntry) tmp[i]).get(); } r... | 3,239,224 |
public RubySymbol lookup(String name) { clean(); WeakSymbolEntry ref = (WeakSymbolEntry) table.get(name); if (ref == null) { return null; } return (RubySymbol) ref.get(); } | public RubySymbol lookup(String name) { clean(); WeakSymbolEntry ref = (WeakSymbolEntry) table.get(name); if (ref == null) { return null; } return (RubySymbol) ref.get(); } | 3,239,225 |
public RubySymbol lookup(String name) { clean(); WeakSymbolEntry ref = (WeakSymbolEntry) table.get(name); if (ref == null) { return null; } return (RubySymbol) ref.get(); } | public RubySymbol lookup(String name) { clean(); WeakSymbolEntry ref = (WeakSymbolEntry) table.get(name); if (ref == null) { return null; } return null; } | 3,239,226 |
public void store(RubySymbol symbol) { clean(); table.put(symbol.asSymbol(), new WeakSymbolEntry(symbol, unusedSymbols)); } | public void store(RubySymbol symbol) { clean(); table.put(symbol.asSymbol(), new WeakSymbolEntry(symbol, unusedSymbols)); } | 3,239,227 |
public void dispose() { super.dispose(); globalSelectionListener.unregister(); } | public void dispose() { super.dispose(); globalSelectionListener.unregister(); } | 3,239,232 |
private void setUpViewer() { theTableViewer = new TableViewer(viewArea, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); theTableViewer.setContentProvider(new ViewContentProvider()); theTableViewer.setLabelProvider(new ViewLabelProvider()); getSite().setSelectionProvider(theTableViewer); globalSelectionListener = new ... | private void setUpViewer() { theTableViewer = new TableViewer(viewArea, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL); theTableViewer.setContentProvider(new ViewContentProvider()); theTableViewer.setLabelProvider(new ViewLabelProvider()); getSite().setSelectionProvider(theTableViewer); globalSelectionListener = new ... | 3,239,233 |
public static void main(String arg[]) { Log.traceExceptions(true); Log.setLevel(Log.ALL); Log.setTarget(System.err); if (arg.length != 0) { System.out.println("Enabling log types"); Log.enableTypes(arg); } // Build a context WebMacro wm = null; Context conte... | public static void main(String arg[]) { Log.traceExceptions(true); Log.setLevel(Log.ALL); Log.setTarget(System.err); if (arg.length != 0) { System.out.println("Enabling log types"); Log.enableTypes(arg); } // Build a context WebMacro wm = null; Context conte... | 3,239,235 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,236 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,237 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,238 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,239 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,240 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,241 |
private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | private JPanel buildPermissions(final PermissionData permissions) { JPanel content = new JPanel(); double[][] tl = {{TableLayout.PREFERRED, TableLayout.FILL}, //columns {TableLayout.PREFERRED, TableLayout.PREFERRED, TableLayout.PREFERRED} }; //rows content.... | 3,239,242 |
public void testNulls(){ Set test = new HashSet(); test.add(new Integer(-1)); // Non-existence set of ids int nonExp = -1; // Non-existence experimenter ID // assertTrue(emptyColl,getHb().findDatasetAnnotations(test).size()==0); assertTrue(emptyColl,getHb().findDatasetAnnot... | public void testNulls(){ Set test = new HashSet(); test.add(new Integer(-1)); // Non-existence set of ids int nonExp = -1; // Non-existence experimenter ID // assertTrue(emptyColl,getHb().findDatasetAnnotations(test).size()==0); assertTrue(emptyColl,getHb().findDatasetAnnot... | 3,239,243 |
public QueueWriter() { this(1024); } | public QueueWriter() { this(1024); } | 3,239,244 |
private void ensureLocalCapacity(int size) { if (count < 0 || buffer[count] != null) { count++; offset[count] = localPos; length[count] = 0; if (count >= buffer.length) { increaseCapacity(); } } if ((localPos + size) >= local.length) { char[] ... | private void ensureLocalCapacity(int size) { if (count < 0 || buffer[count] != null) { count++; offset[count] = localPos; length[count] = 0; if (count >= buffer.length) { increaseCapacity(); } } if ((localPos + size) >= local.length) { char[] ... | 3,239,245 |
public static void main(String arg[]) throws Exception { QueueWriter qw = new QueueWriter(3); char cary[] = "Hello, brave new world".toCharArray(); for (int j = 0; j < 2; j++) { for (int i = 0; i < arg.length; i++) { qw.write(arg[i],1,arg[i].length() - 2); // qw.write(arg... | public static void main(String arg[]) throws Exception { QueueWriter qw = new QueueWriter(3); char cary[] = "Hello, brave new world".toCharArray(); for (int j = 0; j < 2; j++) { for (int i = 0; i < arg.length; i++) { qw.write(arg[i],1,arg[i].length() - 2); // qw.write(arg... | 3,239,246 |
public static void main(String arg[]) throws Exception { QueueWriter qw = new QueueWriter(3); char cary[] = "Hello, brave new world".toCharArray(); for (int j = 0; j < 2; j++) { for (int i = 0; i < arg.length; i++) { qw.write(arg[i],1,arg[i].length() - 2); // qw.write(arg... | public static void main(String arg[]) throws Exception { QueueWriter qw = new QueueWriter(3); char cary[] = "Hello, brave new world".toCharArray(); for (int j = 0; j < 2; j++) { for (int i = 0; i < arg.length; i++) { qw.write(arg[i],1,arg[i].length() - 2); // qw.write(arg... | 3,239,247 |
public void reset() { for (int i = 0; i <= count; i++) { buffer[i] = null; offset[i] = 0; length[i] = 0; localPos = 0; count = -1; size = 0; } } | public void reset() { for (int i = 0; i <= count; i++) { buffer[i] = null; offset[i] = 0; length[i] = 0; localPos = 0; count = -1; size = 0; } } | 3,239,248 |
public String toString() { StringBuffer buf = new StringBuffer(size); char[] b; for (int i = 0; i <= count; i++) { b = (buffer[i] == null) ? local : buffer[i]; buf.append(b,offset[i],length[i]); } return buf.toString(); } | public String toString() { StringBuffer buf = new StringBuffer(size); char[] b; for (int i = 0; i <= count; i++) { b = (buffer[i] == null) ? local : buffer[i]; buf.append(b,offset[i],length[i]); } return buf.toString(); } | 3,239,249 |
public void write(char c[], int off, int len) { count++; if (count >= buffer.length) { increaseCapacity(); } buffer[count] = c; offset[count] = off; length[count] = len; // update statistics size += len; } | publicvoidwrite(charc[],intoff,intlen){count++;if(count>=buffer.length){increaseCapacity();}buffer[count]=c;offset[count]=off;length[count]=len;//updatestatisticssize+=len;} | 3,239,250 |
public void writeTo(Writer out) throws IOException { char[] b; for (int i = 0; i <= count; i++) { b = (buffer[i] == null) ? local : buffer[i]; out.write(b,offset[i],length[i]); } } | public void writeTo(Writer out) throws IOException { char[] b; for (int i = 0; i <= count; i++) { b = (buffer[i] == null) ? local : buffer[i]; out.write(b,offset[i],length[i]); } } | 3,239,251 |
public IRubyObject initialize(RubyString newPath) { newPath.checkSafeString();// TODO: Consolidate this absolute file nonsense dir = (NormalizedFile)new NormalizedFile(newPath.getValue()).getAbsoluteFile(); if (!dir.isDirectory()) { dir = null; throw getRuntime().newErrnoE... | public IRubyObject initialize(RubyString newPath) { newPath.checkSafeString();// TODO: Consolidate this absolute file nonsense dir = (NormalizedFile)new NormalizedFile(newPath.toString()).getAbsoluteFile(); if (!dir.isDirectory()) { dir = null; throw getRuntime().newErrnoE... | 3,239,252 |
public IRubyObject initialize(RubyString newPath) { newPath.checkSafeString();// TODO: Consolidate this absolute file nonsense dir = (NormalizedFile)new NormalizedFile(newPath.getValue()).getAbsoluteFile(); if (!dir.isDirectory()) { dir = null; throw getRuntime().newErrnoE... | public IRubyObject initialize(RubyString newPath) { newPath.checkSafeString();// TODO: Consolidate this absolute file nonsense dir = (NormalizedFile)new NormalizedFile(newPath.getValue()).getAbsoluteFile(); if (!dir.isDirectory()) { dir = null; throw getRuntime().newErrnoE... | 3,239,253 |
public IRubyObject read() { if (!isOpen) { throw getRuntime().newIOError("Directory already closed"); } if (pos >= snapshot.length) { return getRuntime().getNil(); } RubyString result = new RubyString(getRuntime(), snapshot[pos]); pos++; return result; } | public IRubyObject read() { if (!isOpen) { throw getRuntime().newIOError("Directory already closed"); } if (pos >= snapshot.length) { return getRuntime().getNil(); } RubyString result = getRuntime().newString(snapshot[pos]); pos++; return result; } | 3,239,254 |
public IOHandlerSeekable(IRuby runtime, String path, IOModes modes) throws IOException, InvalidValueException { super(runtime); this.path = path; this.modes = modes; JRubyFile theFile = JRubyFile.create(runtime.getCurrentDirectory(),path); if (theFile.exists()... | public IOHandlerSeekable(IRuby runtime, String path, IOModes modes) throws IOException, InvalidValueException { super(runtime); this.path = path; this.modes = modes; JRubyFile theFile = JRubyFile.create(runtime.getCurrentDirectory(),path); if (theFile.exists()... | 3,239,255 |
public int sysread() throws IOException { if(!shouldReplace) { return file.read(); } else { int curr = file.read(); if (curr != '\r') { return curr; } else if (!isWin) { return '\n'; } else { int next =... | public int sysread() throws IOException { if(!shouldReplace) { return file.read(); } else { int curr = file.read(); if (curr != '\r') { return curr; } else if (!isWin) { return '\n'; } else { int next =... | 3,239,256 |
protected WikiPage createNewPage (WikiSystem wiki, WebContext wc, WikiUser user) throws Exception { // get the page elements from the request String editor = user.getIdentifier(); String text = wc.getForm ("TEXT"); boolean moderated = wc.getForm ("MODERATED").equals ("true"); Stri... | protected WikiPage createNewPage (WikiSystem wiki, WebContext wc, WikiUser user) throws Exception { // get the page elements from the request String editor = user.getIdentifier(); String text = wc.getForm ("TEXT"); boolean moderated = wc.getForm ("MODERATED") != null && wc.getForm("MODER... | 3,239,257 |
public static void main(String args[]) throws IOException { int n = Integer.parseInt(args[0]); HashMap dict = new HashMap(); String word; try { BufferedReader in = new BufferedReader(new FileReader("Usr.Dict.Words")); while ((word = in.readLine()) != null) { dict.put(word, new Integer(1)); } in.clo... | public static void main(String args[]) throws IOException { int n = Integer.parseInt(args[0]); HashMap dict = new HashMap(); String word; try { BufferedReader in = new BufferedReader(new FileReader("Usr.Dict.Words")); while ((word = in.readLine()) != null) { dict.put(word, new Integer(1)); } in.clo... | 3,239,258 |
private void addEntry() { Transport transport = null; AccountItem item = null; if (publicBox.isSelected()) { item = (AccountItem)accounts.getSelectedItem(); transport = item.getTransport(); } if (transport == null) { String jid = jidField.getText()... | private void addEntry() { Transport transport = null; AccountItem item = null; if (publicBox.isSelected()) { item = (AccountItem)accounts.getSelectedItem(); transport = item.getTransport(); } if (transport == null) { String jid = jidField.getText()... | 3,239,260 |
private void addCloseAllButtons() { winSubMenu.add(closeAllWinSubMenuEntry); winSubMenu.addSeparator(); dropDownButton.addToMenu(closeAllDropDownButtonEntry); dropDownButton.addSeparator(); } | private void addCloseAllButtons() { winSubMenu.add(closeAllWinSubMenuEntry); winSubMenu.addSeparator(); dropDownButton.addToMenu(closeAllDropDownButtonEntry); dropDownButton.addSeparator(); } | 3,239,262 |
private void clearMenus() { winSubMenu.removeAll(); winSubMenu.setEnabled(false); dropDownButton.clearMenu(); } | private void clearMenus() { winSubMenu.removeAll(); winSubMenu.setEnabled(false); dropDownButton.clearMenu(); } | 3,239,263 |
private WindowConfig makeConfigFor(TopWindow window) { WindowConfig cfg = new WindowConfig(); cfg.winSubMenuEntry = new JMenuItem(); cfg.dropDownButtonEntry = new JMenuItem(); cfg.manager = new TopWindowManager(window, new AbstractButton[] {cfg.winSubMenuEntry, cfg.dropDownButtonEntry}); return cfg; } | private WindowConfig makeConfigFor(TopWindow window) { WindowConfig cfg = new WindowConfig(); cfg.winSubMenuEntry = new JMenuItem(); cfg.dropDownButtonEntry = new JMenuItem(); cfg.manager = new TopWindowManager(window, new AbstractButton[] {cfg.winSubMenuEntry, cfg.dropDownButtonEntry}); return cfg; } | 3,239,264 |
private WindowConfig makeConfigFor(TopWindow window) { WindowConfig cfg = new WindowConfig(); cfg.winSubMenuEntry = new JMenuItem(); cfg.dropDownButtonEntry = new JMenuItem(); cfg.manager = new TopWindowManager(window, new AbstractButton[] {cfg.winSubMenuEntry, cfg.dropDownButtonEntry}); return cfg; } | private WindowConfig makeConfigFor(TopWindow window) { WindowConfig cfg = new WindowConfig(); cfg.winSubMenuEntry = new JMenuItem(); cfg.dropDownButtonEntry = new JMenuItem(); cfg.manager = new TopWindowManager(window, new AbstractButton[] {cfg.winSubMenuEntry, cfg.dropDownButtonEntry}); return cfg; } | 3,239,265 |
public void showPopup(MouseEvent e) { final JPopupMenu popup = new JPopupMenu(); List custom = CustomMessages.load(); if (custom == null) { custom = new ArrayList(); } // Build menu from StatusList for(final StatusItem statusItem : statusList){ final A... | public void showPopup(MouseEvent e) { final JPopupMenu popup = new JPopupMenu(); List custom = CustomMessages.load(); if (custom == null) { custom = new ArrayList(); } // Build menu from StatusList for (final StatusItem statusItem : statusList) { final... | 3,239,266 |
public static final int random(int start, int end) { return start + ((int) (1000000.0 * java.lang.Math.random()) % end); } | public static final int random(int start, int end) { return start + (int) (end *java.lang.Math.random()/(Integer.MAX_VALUE+1.0)); } | 3,239,270 |
public void testAddJarToPath() throws Exception { SystemClassPath systemClassPath = new SystemClassPath(); ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader(); try { systemClassLoader.loadClass("groovy.lang.GroovyShell"); fail("Class already exists"); ... | public void testAddJarToPath() throws Exception { SystemClassPath systemClassPath = new SystemClassPath(); ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader(); try { systemClassLoader.loadClass("groovy.lang.GroovyShell"); fail("Class already exists"); ... | 3,239,272 |
public Object get(final String query) throws NotFoundException { TimedReference r; try { r = (TimedReference) _cache.get(query); } catch (NullPointerException e) { throw new NotFoundException(this + " is not initialized", e); } Object o = null; if (r != null) { ... | public Object get(final String query) throws NotFoundException { TimedReference r; try { r = (TimedReference) _cache.get(query); } catch (NullPointerException e) { throw new NotFoundException(this + " is not initialized", e); } Object o = null; if (r != null) { ... | 3,239,273 |
public Object get(final String query) throws NotFoundException { TimedReference r; try { r = (TimedReference) _cache.get(query); } catch (NullPointerException e) { throw new NotFoundException(this + " is not initialized", e); } Object o = null; if (r != null) { ... | public Object get(final String query) throws NotFoundException { TimedReference r; try { r = (TimedReference) _cache.get(query); } catch (NullPointerException e) { throw new NotFoundException(this + " is not initialized", e); } Object o = null; if (r != null) { ... | 3,239,274 |
public void run() { _cache.remove(query); _log.debug("cache expired: " + query); } | public void run() { _cache.remove(query); _log.debug("cache expired: " + query); } | 3,239,275 |
public void init(Broker b, Properties config) throws InitException { _log = b.getLog("resource"); _cache = new Hashtable(); } | public void init(Broker b, Properties config) throws InitException { _log = b.getLog("resource"); _cache = new ScalableMap(1001); } | 3,239,276 |
public boolean isReadOnly( ) { return data.get().isReadyOnly; } | public boolean isReadOnly( ) { return data.get().isReadOnly; } | 3,239,277 |
public void setReadOnly( boolean isReadOnly ) { data.get().isReadyOnly = isReadOnly; } | public void setReadOnly( boolean isReadOnly ) { data.get().isReadOnly = isReadOnly; } | 3,239,278 |
void fireContainerLoading() { if (selectedDisplay == null) return; Object ho = selectedDisplay.getUserObject(); int id = -1; Class nodeType = null; if (ho instanceof ProjectData) { id = ((ProjectData) ho).getId(); nodeType = ProjectData.class; } els... | void fireContainerLoading() { if (selectedDisplay == null) return; Object ho = selectedDisplay.getUserObject(); int id = -1; Class nodeType = null; if (ho instanceof ProjectData) { id = ((CategoryGroupData) ho).getId(); nodeType = ProjectData.class; ... | 3,239,280 |
void setFoundNodes(List nodes) { foundNodes = nodes; } | void setFoundNodes(List nodes) { foundNodes = nodes; } | 3,239,281 |
public Object call(final Constructor self, final String pref, final Node node) { return constructRuby(self,pref,node); } | public Object call(final Constructor self, final String pref, final Node node) { return constructRubyMap(self,pref,node); } | 3,239,282 |
private void copyStackAllTimepoints(int from, int to) { int rows = numRows-1; control.copyStackAcrossT(from, to); PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; for (int j = from; j <= to; j++) { pa = control.getPlaneArea(z, j); ... | private void copyStackAllTimepoints(int from, int to) { control.copyStackAcrossT(from, to); PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; for (int j = from; j <= to; j++) { pa = control.getPlaneArea(z, j); setSelecte... | 3,239,283 |
private void copyStackAllTimepoints(int from, int to) { int rows = numRows-1; control.copyStackAcrossT(from, to); PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; for (int j = from; j <= to; j++) { pa = control.getPlaneArea(z, j); ... | private void copyStackAllTimepoints(int from, int to) { int rows = numRows-1; control.copyStackAcrossT(from, to); PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; for (int j = from; j <= to; j++) { pa = control.getPlaneArea(z, j); ... | 3,239,284 |
private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows-1; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); setSe... | private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); setSele... | 3,239,285 |
private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows-1; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); setSe... | private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows-1; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i-1; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); set... | 3,239,286 |
private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows-1; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); setSe... | private void copyStackEndsTimepoints(int from, int to) { control.copyStack(from, to); int rows = numRows-1; PlaneArea pa; int z; for (int i = 0; i < rows; i++) { z = rows-i; pa = control.getPlaneArea(z, from); setSelectedCell(pa, i, from); setSe... | 3,239,287 |
private void handleSelectionError(String msg) { cancel(); UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Invalid selection", msg); //remove the two selected planes. //setSelectedCell(oldRow, oldColumn, false); //setSelectedCell(curRow, curColumn, fals... | private void handleSelectionError(String msg) { cancel(); UserNotifier un = control.getRegistry().getUserNotifier(); un.notifyInfo("Invalid selection", msg); //remove the two selected planes. //setSelectedCell(oldRow, oldColumn, false); //setSelectedCell(curRow, curColumn, false); //view.table.repaint(); ... | 3,239,288 |
public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | 3,239,289 |
public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | 3,239,290 |
public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | 3,239,291 |
public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | 3,239,292 |
public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | public PNode setToolTipNode(PInputEvent event) { PNode p = (PNode) null; PNode n = event.getInputManager().getMouseOver().getPickedNode(); double scale = camera.getViewScale(); if (scale < ToolTipHandler.SCALE_THRESHOLD) { if (n instanceof ModuleView) { String s = ((ModuleView) n).getModule().getName(); i... | 3,239,293 |
public void onSelectedDisplay() { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " + "state"); ... | public void onSelectedDisplay() { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " + "state"); ... | 3,239,295 |
public void onSelectedDisplay() { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " + "state"); ... | public void onSelectedDisplay() { switch (model.getState()) { case DISCARDED: case SAVE: throw new IllegalStateException("This method cannot be " + "invoked in the DISCARDED, SAVE or LOADING_THUMBNAIL " + "state"); ... | 3,239,296 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.