bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,082
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,083
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,084
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,085
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,086
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,087
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException { try { if ("ivy-module".equals(qName)) { String version = attributes.getValue("version"); int versionIndex = ALLOWED_VERSIONS.indexOf(version); ...
36,088
public void addAck(Object xid, AckInfo ackInfo) { if (log.isTraceEnabled()) { log.trace("Addding ack for xid:" + xid); } TxState tx = getTx(xid); tx.acks.add(ackInfo); }
public void addAck(Object xid, AckInfo ackInfo) throws JMSException { if (log.isTraceEnabled()) { log.trace("Addding ack for xid:" + xid); } TxState tx = getTx(xid); tx.acks.add(ackInfo); }
36,089
public void test_Simple_NTP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ...
public void test_Simple_NTP_NLA() throws Exception { Connection conn = cf.createConnection(); conn.start(); Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session sessReceive = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); MessageConsumer cons = ...
36,091
public Dimension getPreferredSize(JComponent c) { if (c == null) return getMinimumOptionPaneSize(); if (c != pane) return null; LayoutManager l = c.getLayout(); if (l == null) return getMinimumOptionPaneSize(); Dimension d1 = l.preferredLayoutSize(c); Dimension d2 = getMinimumOptionPaneSize(); d1.width = ...
public Dimension getPreferredSize(JComponent c) { if (c == null) return getMinimumOptionPaneSize(); if (c != pane) return null; LayoutManager l = c.getLayout(); if (l == null) return getMinimumOptionPaneSize(); Dimension d1 = l.preferredLayoutSize(c); Dimension d2 = getMinimumOptionPaneSize(); d1.width = ...
36,093
public Dimension getPreferredSize(JComponent c) { if (c == null) return getMinimumOptionPaneSize(); if (c != pane) return null; LayoutManager l = c.getLayout(); if (l == null) return getMinimumOptionPaneSize(); Dimension d1 = l.preferredLayoutSize(c); Dimension d2 = getMinimumOptionPaneSize(); d1.width = ...
public Dimension getPreferredSize(JComponent c) { if (c == null) return getMinimumOptionPaneSize(); if (c != pane) return null; LayoutManager l = c.getLayout(); if (l == null) return getMinimumOptionPaneSize(); Dimension d1 = l.preferredLayoutSize(c); Dimension d2 = getMinimumOptionPaneSize(); d1.width = ...
36,094
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
36,095
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
36,096
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
36,097
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
public void installUI(JComponent c) { super.installUI(c); pane = (JOptionPane) c; System.out.println(" -------------: " + pane); JLabel message = pane.msg != null ? new JLabel((String) pane.msg) : null; JButton ok_button = new JButton("Ok"); ok_button.addActionListener(new ActionListener() { public void ac...
36,098
public void actionPerformed(ActionEvent a) { System.out.println("ACTION ---> " + a); // pane.dialog.dispose(); if (pane.dialog.isModal()) { System.out.println("modal dialog !!"); pane.dialog.setModal(false); } pane.dialog.setVisible(false); }
public void actionPerformed(ActionEvent a) { System.out.println("ACTION ---> " + a); // pane.dialog.dispose(); if (pane.dialog.isModal()) { System.out.println("modal dialog !!"); pane.dialog.setModal(false); } pane.dialog.setVisible(false); }
36,099
static List getChildContentList(LayoutContext c, Content parent) { List inlineList = new ArrayList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element pare...
static List getChildContentList(LayoutContext c, Content parent) { List inlineList = new ArrayList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element pare...
36,101
static List getChildContentList(LayoutContext c, Content parent) { List inlineList = new ArrayList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element pare...
static List getChildContentList(LayoutContext c, Content parent) { List inlineList = new ArrayList(); FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; StringBuffer textContent = null; CascadedStyle parentStyle = parent.getStyle(); Element pare...
36,102
public boolean accept(File f) { if (f == null) return false; return getFileFilter().accept(f); }
public boolean accept(File f) { if (f == null) return false; return getFileFilter().accept(f); }
36,103
public void addChoosableFileFilter(FileFilter filter) { FileFilter[] old = getChoosableFileFilters(); choosableFilters.add(filter); FileFilter[] newFilters = getChoosableFileFilters(); firePropertyChange(CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY, old, newFilters); }
public void addChoosableFileFilter(FileFilter filter) { FileFilter[] old = getChoosableFileFilters(); choosableFilters.add(filter); FileFilter[] newFilters = getChoosableFileFilters(); firePropertyChange(CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY, old, newFilters); } setFileFilter(filter); }
36,104
public void changeToParentDirectory() { if (fsv.getParentDirectory(currentDir) != null) setCurrentDirectory(fsv.getParentDirectory(currentDir)); }
public void changeToParentDirectory() { setCurrentDirectory(fsv.getParentDirectory(currentDir)); }
36,105
public File[] getSelectedFiles() { if (selectedFiles != null) return selectedFiles; if (selectedFile != null) return new File[] { selectedFile }; return null; }
public File[] getSelectedFiles() { if (selectedFiles != null) return selectedFiles; if (selectedFile != null) return new File[] { selectedFile }; return new File[0]; }
36,106
public void setSelectedFile(File file) { if (selectedFile != file) { File old = selectedFile; selectedFile = file; firePropertyChange(SELECTED_FILE_CHANGED_PROPERTY, old, selectedFile); } }
public void setSelectedFile(File file) { if (selectedFile == null || !selectedFile.equals(file)) { File old = selectedFile; selectedFile = file; firePropertyChange(SELECTED_FILE_CHANGED_PROPERTY, old, selectedFile); } }
36,110
public void setSelectedFiles(File[] selectedFiles) { if (this.selectedFiles != selectedFiles) { File[] old = this.selectedFiles; this.selectedFiles = selectedFiles; firePropertyChange(SELECTED_FILES_CHANGED_PROPERTY, old, selectedFiles); } if (selectedFiles != null) setSelectedFile(selectedFiles...
public void setSelectedFiles(File[] selectedFiles) { if (this.selectedFiles != selectedFiles) { File[] old = this.selectedFiles; this.selectedFiles = selectedFiles; firePropertyChange(SELECTED_FILES_CHANGED_PROPERTY, old, selectedFiles); } if (selectedFiles != null) setSelectedFile(selectedFiles...
36,111
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ...
public boolean equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTrans...
36,113
equals(Object obj){ if (obj == null) return(false); if (!(obj instanceof Font)) return(false); Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals ...
equals(Object obj){ if (obj == null) return false; if (!(obj instanceof Font)) return false; Font f = (Font)obj; return (f.getName ().equals (this.getName ()) && f.getFamily ().equals (this.getFamily ()) && f.getFontName ().equals (this.getFontName ()) && f.getTransform ().equals (t...
36,114
protected static Font getFontFromToolkit (String name, Map attribs) { return tk ().getFont (name, attribs); }
static Font getFontFromToolkit(String name, Map attribs) { return tk ().getFont (name, attribs); }
36,115
protected static ClasspathFontPeer getPeerFromToolkit (String name, Map attrs) { return tk ().getClasspathFontPeer (name, attrs); }
static ClasspathFontPeer getPeerFromToolkit(String name, Map attrs) { return tk ().getClasspathFontPeer (name, attrs); }
36,116
public int getSize (){ return (int) peer.getSize (this);}
public int getSize (){ return size;}
36,117
public float getSize2D (){ return peer.getSize (this);}
public float getSize2D (){ return pointSize;}
36,118
protected static ClasspathToolkit tk () { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); }
static ClasspathToolkit tk() { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); }
36,119
protected static ClasspathToolkit tk () { return (ClasspathToolkit)(Toolkit.getDefaultToolkit ()); }
protected static ClasspathToolkit tk () { return (ClasspathToolkit) Toolkit.getDefaultToolkit(); }
36,120
toString(){ String styleString = ""; switch (getStyle ()) { case 0: styleString = "plain"; break; case 1: styleString = "bold"; break; case 2: styleString = "italic"; break; default: styleString = "unknown"; } return getClass ().getName () + "[family=" + getFa...
public String toString(){ String styleString = ""; switch (getStyle ()) { case 0: styleString = "plain"; break; case 1: styleString = "bold"; break; case 2: styleString = "italic"; break; default: styleString = "unknown"; } return getClass ().getName () + "[fa...
36,121
public ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException;
ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException;
36,122
public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP...
public static Font getFont( Context c, Node e ) { //u.p("testing node: " + e); //Font f = c.getGraphics().getFont(); // if plain text then get the styling from the parent node if ( e.getNodeType() == e.TEXT_NODE ) { //u.p("it's a node"); Element el = (Element)e.getP...
36,125
protected List getBindings() throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); List list = new ArrayList(); try { conn = ds.getConnection(); ps = c...
protected List getBindings() throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new TransactionWrapper(); List list = new ArrayList(); try { conn = ds.getConnection(); ps = c...
36,126
protected void insertBinding(Binding binding) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(getSQLStatement("INSERT...
protected void insertBinding(Binding binding) throws Exception { Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareStatement(getSQLStatement("INSERT...
36,127
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst...
public static List stripInlineContent(Context c, List inlineContent) { List stripped = new LinkedList(); List pendingStylePushes = new LinkedList(); boolean collapse = false; for (Iterator i = inlineContent.iterator(); i.hasNext();) { Object o = i.next(); if (o inst...
36,128
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact...
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JButton(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFac...
36,129
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact...
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact...
36,130
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact...
public MemoryDisplay() { super(); setLayout(new BorderLayout(5, 0)); panel = new MemoryPanel(); panel.setOpaque(false); invokeGC = new JLabel(gcIcon); invokeGC.setRequestFocusEnabled(false); invokeGC.setFocusable(false); setBorder(new EmptyBorder(1, 1, 1, 1)); invokeGC.setBorder(BorderFact...
36,131
public synchronized void startService() throws Exception { super.startService(); try { postOffice = serverPeer.getTopicPostOfficeInstance(); destination.setPostOffice(postOffice); // We deploy any queues corresponding to pre-existing durable subscrip...
public synchronized void startService() throws Exception { super.startService(); try { postOffice = serverPeer.getTopicPostOfficeInstance(); destination.setPostOffice(postOffice); // We deploy any queues corresponding to pre-existing durable subscrip...
36,132
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
36,133
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
36,134
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
36,135
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
public static FloatedBlockBox generateFloated( LayoutContext c, FloatedBlockContent content, int avail, LineBox curr_line, List pendingFloats) { Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); MarkerData markerData = c.getCurrentMarkerData(); ...
36,136
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ClientConnectionFactoryDelegate cfd = (ClientConnectionFactoryDelegate)inv.getTargetObject(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDelegate)inv.invokeNext(); connectionDelegate.init(); Stri...
public Object handleCreateConnectionDelegate(Invocation inv) throws Throwable { ClientConnectionFactoryDelegate cfd = (ClientConnectionFactoryDelegate)inv.getTargetObject(); ClientConnectionDelegate connectionDelegate = (ClientConnectionDelegate)inv.invokeNext(); connectionDelegate.init(); Stri...
36,137
public void testZeroExpiration() throws Exception { Message m = queueProducerSession.createMessage(); queueProducer.send(m); assertEquals(Long.MAX_VALUE, queueConsumer.receive().getJMSExpiration()); }
public void testZeroExpiration() throws Exception { Message m = queueProducerSession.createMessage(); queueProducer.send(m); assertEquals(0, queueConsumer.receive().getJMSExpiration()); }
36,138
protected int getRowX(int row, int depth) { if (row == 0) return 0; return depth * rightChildIndent; }
protected int getRowX(int row, int depth) { if (row == 0) return 0; return depth * rightChildIndent; }
36,140
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,142
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,143
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,144
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,145
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,146
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,147
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,148
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
public void actionPerformed(ActionEvent e) { TreePath lead = tree.getLeadSelectionPath(); if (e.getActionCommand().equals("selectPreviousChangeLead") || e.getActionCommand().equals("selectPreviousExtendSelection") || e.getActionCommand().equals("selectPrevious") || e.getActio...
36,149
public void treeCollapsed(TreeExpansionEvent event) { validCachedPreferredSize = false; tree.repaint(); }
public void treeCollapsed(TreeExpansionEvent event) { validCachedPreferredSize = false; treeState.setExpandedState(event.getPath(), false); }
36,150
public void treeExpanded(TreeExpansionEvent event) { validCachedPreferredSize = false; tree.repaint(); }
public void treeExpanded(TreeExpansionEvent event) { validCachedPreferredSize = false; treeState.setExpandedState(event.getPath(), true); }
36,151
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
public void actionPerformed(ActionEvent e) { TreePath currentPath = tree.getLeadSelectionPath(); int currentRow; if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPa...
36,152
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (currentPath != null) currentRow = treeState.getRowForPath(currentPath); else currentRow = 0; int rows = treeState.getRowCount(); int nextRow = currentRow + 1; int prevRow = currentRow - ...
36,153
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
36,154
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { newPath = treeSt...
36,155
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectPreviousChangeLead")) { Object prev = getPreviousVisibleNode(last); if (prev != null) { TreePath newPath...
36,156
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
public void actionPerformed(ActionEvent e) { TreePath current = tree.getLeadSelectionPath(); if (current == null) return; if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); ...
36,161
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
36,162
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { Object node = current.getLastPathComponent(); int nc = treeModel.getChildCount(node); if (nc > 0) node = treeModel.getChild(n...
36,163
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
public void actionPerformed(ActionEvent e) { Object last = tree.getLeadSelectionPath().getLastPathComponent(); if (e.getActionCommand().equals("selectParent")) { TreePath path = new TreePath(getPathToRoot(last, 0)); Object p = getParent(treeModel.getRoot(), last); if (...
36,164
protected AbstractLayoutCache createLayoutCache() { return new FixedHeightLayoutCache(); }
protected AbstractLayoutCache createLayoutCache() { return new VariableHeightLayoutCache(); }
36,166
public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getMaxHeight(tree)); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return pat...
public TreePath getClosestPathForLocation(JTree tree, int x, int y) { int row = Math.round(y / getMaxHeight(tree)); TreePath path = getPathForRow(tree, row); // no row is visible at this node while (row > 0 && path == null) { --row; path = getPathForRow(tree, row); } return pat...
36,167
private int getMaxHeight(JTree tree) { if (maxHeight != 0) return maxHeight; Icon e = UIManager.getIcon("Tree.openIcon"); Icon c = UIManager.getIcon("Tree.closedIcon"); Icon l = UIManager.getIcon("Tree.leafIcon"); int rc = getRowCount(tree); int iconHeight = 0; for (int row = 0; row < rc; r...
int getMaxHeight(JTree tree) { if (maxHeight != 0) return maxHeight; Icon e = UIManager.getIcon("Tree.openIcon"); Icon c = UIManager.getIcon("Tree.closedIcon"); Icon l = UIManager.getIcon("Tree.leafIcon"); int rc = getRowCount(tree); int iconHeight = 0; for (int row = 0; row < rc; row++) ...
36,168
public Dimension getMaximumSize(JComponent c) { if (c instanceof JTree) return ((JTree) c).getPreferredSize(); return new Dimension(); }
public Dimension getMaximumSize(JComponent c) { if (c instanceof JTree) return ((JTree) c).getPreferredSize(); return new Dimension(); }
36,169
public Dimension getMinimumSize(JComponent c) { Dimension min = getPreferredMinSize(); if (min == null) return new Dimension(); return min; }
public Dimension getMinimumSize(JComponent c) { Dimension min = getPreferredMinSize(); if (min == null) return new Dimension(); return min; }
36,170
public Rectangle getPathBounds(JTree tree, TreePath path) { int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); } return nodeDimensions.getNodeDimensions(cell, row, getLevel(cell), ...
public Rectangle getPathBounds(JTree tree, TreePath path) { int row = -1; Object cell = null; if (path != null) { row = getRowForPath(tree, path); cell = path.getLastPathComponent(); } return nodeDimensions.getNodeDimensions(cell, row, getLevel(cell), ...
36,171
public TreePath getPathForRow(JTree tree, int row) { if (treeModel != null && currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); if (row < nodes.length) return new TreePath(getPathToRoot(nodes[row], 0)); } return null; }
public TreePath getPathForRow(JTree tree, int row) { if (treeModel != null && currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); if (row < nodes.length) return new TreePath(getPathToRoot(nodes[row], 0)); } return null; }
36,172
public int getRowCount(JTree tree) { if (currentVisiblePath != null) return currentVisiblePath.getPathCount(); return 0; }
public int getRowCount(JTree tree) { if (currentVisiblePath != null) return currentVisiblePath.getPathCount(); return 0; }
36,174
public int getRowForPath(JTree tree, TreePath path) { int row = 0; Object dest = path.getLastPathComponent(); int rowCount = getRowCount(tree); if (currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); while (row < rowCount) { if (dest.equals(...
public int getRowForPath(JTree tree, TreePath path) { int row = 0; Object dest = path.getLastPathComponent(); int rowCount = getRowCount(tree); if (currentVisiblePath != null) { Object[] nodes = currentVisiblePath.getPath(); while (row < rowCount) { if (dest.equals(...
36,175
protected int getRowHeight() { return treeState.getRowHeight(); }
protected int getRowHeight() { return tree.getRowHeight(); }
36,176
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int e...
36,178
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null) { int startIndex = tree.getClosestRowForLocation(clip.x, clip.y); int endI...
36,179
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
36,180
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
36,181
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
public void paint(Graphics g, JComponent c) { JTree tree = (JTree) c; updateCurrentVisiblePath(); Rectangle clip = g.getClipBounds(); Insets insets = tree.getInsets(); if (clip != null && treeModel != null && currentVisiblePath != null) { int startIndex = tree.getClosestRowForLocation(cl...
36,182
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
36,184
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
36,185
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
protected void paintRow(Graphics g, Rectangle clipBounds, Insets insets, Rectangle bounds, TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { boolean selected = tree.isPathSelected(path); boolean hasI...
36,186
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath...
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath...
36,187
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath...
protected void paintVerticalPartOfLeg(Graphics g, Rectangle clipBounds, Insets insets, TreePath path) { int max = tree.getVisibleRowCount(); for (int i = 0; i < max; i++) { Object curr = path.getPathComponent(i); TreePath currPath = new TreePath(getPath...
36,188
protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = Math.max(getMaxHeight(tree), 20); treeState.setRowHeight(rowHeight); }
protected void setRowHeight(int rowHeight) { if (rowHeight == 0) rowHeight = getMaxHeight(tree); treeState.setRowHeight(rowHeight); }
36,193
protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { Object node = path.getLastPathComponent(); return...
protected boolean shouldPaintExpandControl(TreePath path, int row, boolean isExpanded, boolean hasBeenExpanded, boolean isLeaf) { Object node = path.getLastPathComponent(); return...
36,194
protected void updateCachedPreferredSize() { int maxWidth = 0; updateCurrentVisiblePath(); boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePat...
protected void updateCachedPreferredSize() { int maxWidth = 0; updateCurrentVisiblePath(); boolean isLeaf = false; if (currentVisiblePath != null) { Object[] path = currentVisiblePath.getPath(); for (int i = 0; i < path.length; i++) { TreePath curr = new TreePat...
36,195
public static void load(InputStream is) throws FactoryException { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); } catch...
public static void load(InputStream is) throws FactoryException { try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); DocumentBuilder db = null; try { db = dbf.newDocumentBuilder(); } catch...
36,198
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool...
ClassFactory(ProxyData data) { methods = data.methods; // magic = 0xcafebabe // minor_version = 0 // major_version = 46 // constant_pool_count: place-holder for now pool.append("\u00ca\u00fe\u00ba\u00be\0\0\0\56\0\0"); // constant_pool...
36,199
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,200
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,201
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,202
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,203
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,204
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,205
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
final Class generate(ClassLoader loader) { byte[] bytecode = new byte[ pool.length() + stream.length()]; // More efficient to bypass calling charAt() repetitively. char[] c = pool.toString().toCharArray(); int i = c.length; while (--i >= 0) b...
36,206