bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public ReceiveMessage() { 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,... | public ReceiveMessage() { 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,... | 3,232,117 |
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,232,118 |
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,232,119 |
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,232,120 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { return "()"; } else { Object[] allAnnotations = AnnotationUtils.findPar... | 3,232,121 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } Object[] allAnnotations = AnnotationUtils.findParameterAnnotations( mi.getT... | 3,232,122 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | 3,232,123 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | 3,232,124 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | 3,232,125 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | 3,232,126 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | 3,232,127 |
private String getArgumentsString(MethodInvocation mi) { String arguments; Object[] args = mi.getArguments(); if (args == null || args.length < 1) { arguments = "()"; } else { Object[] allAnnotations = AnnotationUtils.fi... | arguments = Arrays.asList(prnt).toString(); arguments = Arrays.asList(prnt).toString(); arguments = Arrays.asList(prnt).toString(); arguments = Arrays.asList(prnt).toString(); private arguments = Arrays.asList(prnt).toString(); String arguments = Arrays.asList(prnt).toString(); getArgumentsString(MethodInvocation a... | 3,232,128 |
BottomBar(StatsResultsPaneMng mng, Registry reg) { initComponents(IconManager.getInstance(reg)); new BottomBarMng(this, mng); buildGUI(); } | BottomBar(StatsResultsPaneMng mng, Registry reg, int length) { initComponents(IconManager.getInstance(reg)); new BottomBarMng(this, mng); buildGUI(); } | 3,232,129 |
BottomBar(StatsResultsPaneMng mng, Registry reg) { initComponents(IconManager.getInstance(reg)); new BottomBarMng(this, mng); buildGUI(); } | BottomBar(StatsResultsPaneMng mng, Registry reg) { initComponents(IconManager.getInstance(reg), length); new BottomBarMng(this, mng); buildGUI(); } | 3,232,130 |
void initComponents(IconManager im) { save = new JButton(im.getIcon(IconManager.SAVE)); save.setToolTipText( UIUtilities.formatToolTipText("Save the result as a " + "Text file.")); graphic = new JButton(im.getIcon(IconManager.GRAPHIC)... | void initComponents(IconManager im, int length) { save = new JButton(im.getIcon(IconManager.SAVE)); save.setToolTipText( UIUtilities.formatToolTipText("Save the result as a " + "Text file.")); graphic = new JButton(im.getIcon(IconMana... | 3,232,131 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,133 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,134 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,135 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,136 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,137 |
public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (block == null)) { throw new RuntimeException("yield called out of block"); } RubyVarmap.push(this); ... | 3,232,138 |
private void buildGUI(int l) { JPanel panel = new JPanel(); panel.add(scrollPane); Container container = getContentPane(); ReferenceFramePanel rfp = new ReferenceFramePanel("t", "z", "0"); rfp.setBackground(Color.white); TitlePanel tp = new TitlePanel("ROI selection Ass... | private void buildGUI(int l) { JPanel panel = new JPanel(); panel.add(scrollPane); Container container = getContentPane(); ReferenceFramePanel rfp = new ReferenceFramePanel("t", "z", "0"); rfp.setBackground(Color.white); TitlePanel tp = new TitlePanel("ROI selection Ass... | 3,232,139 |
private void initComponents(IconManager im, int numRows, int numColumns, ScreenROI roi) { moveResizeBox = new JCheckBox("Apply op to the stack"); moveResizeBox.setToolTipText( UIUtilities.formatToolTipText("Apply the Move/Resize action " + ... | private void initComponents(IconManager im, int numRows, int numColumns, ScreenROI roi) { moveResizeBox = new JCheckBox("Apply move/resize to the stack"); moveResizeBox.setToolTipText( UIUtilities.formatToolTipText("Apply the Move/Resize action " + ... | 3,232,140 |
public Controls(ROIAgtCtrl control, Registry registry) { this.control = control; pressedBorder = BorderFactory.createLoweredBevelBorder(); initButtons(IconManager.getInstance(registry)); initBoxes(); manager = new ControlsManager(this, control); buildGUI(); } | public Controls(ROIAgtCtrl control, Registry registry) { this.control = control; pressedBorder = BorderFactory.createLoweredBevelBorder(); initButtons(IconManager.getInstance(registry)); initBoxes(); manager.attachListeners(); buildGUI(); } | 3,232,142 |
private JToolBar buildButtonsBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(rectangle); bar.add(Box.createRigidArea(HBOX)); bar.add(ellipse); bar.add(Box.createRigidArea(HBOX)); ... | private JToolBar buildButtonsBar() { JToolBar bar = new JToolBar(); bar.setFloatable(false); bar.putClientProperty("JToolBar.isRollover", Boolean.TRUE); bar.add(rectangle); bar.add(Box.createRigidArea(HBOX)); bar.add(ellipse); bar.add(Box.createRigidArea(HBOX)); ... | 3,232,143 |
public JPanel buildControlsPanel() { JPanel p = new JPanel(), bp = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); JLabel l = new JLabel(" Selection Color"); bp = UIUtilities.buildComponent... | public JPanel buildControlsPanel() { JPanel p = new JPanel(), bp = new JPanel(); GridBagLayout gridbag = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); p.setLayout(gridbag); JLabel l = new JLabel(" Selection Color"); bp = UIUtilities.buildComponent... | 3,232,144 |
private void initBoxes() { channels = new JComboBox(control.getChannels()); channels.setToolTipText( UIUtilities.formatToolTipText("Select a wavelength.")); colors = new JComboBox(selection); colors.setToolTipText( UIUtilities.formatToolTipText("Pick a co... | private void initBoxes() { channels = new JComboBox(control.getChannels()); channels.setToolTipText( UIUtilities.formatToolTipText("Select a wavelength.")); colors = new JComboBox(selection); colors.setToolTipText( UIUtilities.formatToolTipText("Pick a co... | 3,232,145 |
private void initButtons(IconManager im) { rectangle = new JButton(im.getIcon(IconManager.RECTANGLE)); rectangle.setToolTipText( UIUtilities.formatToolTipText("Draw a rectangle.")); setButtonBorder(rectangle, true); ellipse = new JButton(im.getIcon(IconManager.ELLIPSE))... | private void initButtons(IconManager im) { rectangle = new JButton(im.getIcon(IconManager.RECTANGLE)); rectangle.setToolTipText( UIUtilities.formatToolTipText("Draw a rectangle.")); setButtonBorder(rectangle, true); ellipse = new JButton(im.getIcon(IconManager.ELLIPSE))... | 3,232,146 |
private void initButtons(IconManager im) { rectangle = new JButton(im.getIcon(IconManager.RECTANGLE)); rectangle.setToolTipText( UIUtilities.formatToolTipText("Draw a rectangle.")); setButtonBorder(rectangle, true); ellipse = new JButton(im.getIcon(IconManager.ELLIPSE))... | private void initButtons(IconManager im) { rectangle = new JButton(im.getIcon(IconManager.RECTANGLE)); rectangle.setToolTipText( UIUtilities.formatToolTipText("Draw a rectangle.")); setButtonBorder(rectangle, true); ellipse = new JButton(im.getIcon(IconManager.ELLIPSE))... | 3,232,147 |
ControlsManager(Controls view, ROIAgtCtrl control) { this.view = view; this.control = control; attachListeners(); } | ControlsManager(Controls view, ROIAgtCtrl control) { this.view = view; this.control = control; } | 3,232,148 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = view.getUnd... | 3,232,149 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | 3,232,150 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | 3,232,151 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | 3,232,152 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | 3,232,153 |
private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | private void attachListeners() { JButton rectangle = view.getRectangle(), ellipse = view.getEllipse(), erase = view.getErase(), analyze = view.getAnalyse(), moveROI = view.getMoveROI(), sizeROI = view.getSizeROI(), eraseAll = view.getEraseAll(), undoErase = vie... | 3,232,154 |
private void buildUI() { setLayout(new BorderLayout()); JPanel mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout()); treePanel.addListener(new HeatMapTreeListener() { public void nodeSelected(SemanticTypeTree.TreeNode node) { ... | private void buildUI() { setLayout(new BorderLayout()); JPanel mainPanel = new JPanel(); mainPanel.setLayout(new BorderLayout()); treePanel.addListener(new HeatMapTreeListener() { public void nodeSelected(SemanticTypeTree.TreeNode node) { ... | 3,232,155 |
public void nodeSelected(SemanticTypeTree.TreeNode node) { if(!(node instanceof SemanticTypeTree.ElementNode)) { gradPanel.setEnabled(false); } else gradPanel.setEnabled(true); } | public void nodeSelected(SemanticTypeTree.TreeNode node) { if(!(node instanceof SemanticTypeTree.ElementNode)) { gradPanel.setEnabled(false); } else { gradPanel.setEnabled(true); modeBar.setEnabled(true); } ... | 3,232,157 |
private void initializeCoreClasses() { RubyClass metaClass; objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); metaClass = classClass.newSingletonClass(); o... | private void initializeCoreClasses() { RubyClass metaClass; objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); metaClass = classClass.newSingletonClass(); o... | 3,232,158 |
void createActionButtons() { ImageIcon addUserIcon = new ImageIcon("graphx/addUser_kusers_nuvola48_mod3.png"); ImageIcon removeUserIcon = new ImageIcon("graphx/removeUser_kusers_nuvola48_mod3.png"); ImageIcon addGroupIcon = new ImageIcon("graphx/1rightarrow_nuvola32.png"); ImageIcon removeGroupIcon = new ImageIcon... | void createActionButtons() { ImageIcon addUserIcon = new ImageIcon("graphx/addUser_kusers_nuvola48_mod3.png"); ImageIcon removeUserIcon = new ImageIcon("graphx/removeUser_kusers_nuvola48_mod3.png"); ImageIcon addGroupIcon = new ImageIcon("graphx/1rightarrow_nuvola32.png"); ImageIcon removeGroupIcon = new ImageIcon... | 3,232,159 |
public String[] getNames() { try { getFiles(); } catch (PatternSyntaxException e) { System.out.println("BAD PATTERN: " + e.getPattern()); // This can happen if someone does Dir.glob("{") or similiar. return new String[] {}; } ArrayList allMatchedNames... | public String[] getNames() { try { getFiles(); } catch (PatternSyntaxException e) { System.out.println("BAD PATTERN: " + e.getPattern()); // This can happen if someone does Dir.glob("{") or similiar. return new String[] {}; } ArrayList allMatchedNames... | 3,232,161 |
public void testIdentities() { RubyString o1 = runtime.newString("hey"); RubyString o2 = runtime.newString("ho"); long id1 = target.createId(o1); long id2 = target.createId(o2); assertEquals("id of normal objects must be even", 0, id1 % 2); assertEquals("id of normal object... | public void testIdentities() { RubyString o1 = runtime.newString("hey"); RubyString o2 = runtime.newString("ho"); long id1 = target.createId(o1); long id2 = target.createId(o2); assertEquals("id of normal objects must be even", 0, id1 % 2); assertEquals("id of normal object... | 3,232,162 |
public void testObjectSpace() { IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); target.add(o1); target.add(o2); target.add(o3); target.add(o4);... | public void testObjectSpace() { IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); target.add(o1); target.add(o2); target.add(o3); target.add(o4);... | 3,232,163 |
public void testObjectSpace() { IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); target.add(o1); target.add(o2); target.add(o3); target.add(o4);... | public void testObjectSpace() { IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); target.add(o1); target.add(o2); target.add(o3); target.add(o4);... | 3,232,164 |
public void setPosition(String file, int line) { setPosition(new DefaultLexerPosition(file, line, 0)); } | public void setPosition(String file, int line) { setPosition(new DefaultLexerPosition(file, line, 0)); } | 3,232,165 |
private void drawCurves(Graphics2D g2D, int hFont) { Iterator j = ((values).keySet()).iterator(); Iterator k; Integer key; PlanePoint point; ArrayList list; int x0 = -1, x1 = -1, y0 = -1, y1 = -1; int c = 0; while (j.hasNext()) { key = (Integer) ... | private void drawCurves(Graphics2D g2D, int hFont) { Iterator j = ((values).keySet()).iterator(); Iterator k; Integer key; PlanePoint point; ArrayList list; int x0 = -1, x1 = -1, y0 = -1, y1 = -1; int c = 0; while (j.hasNext()) { key = (Integer) ... | 3,232,167 |
public Object doInHibernate(Session session) throws HibernateException, SQLException { try { enableFilters(session); buildQuery(session); if ( _query == null && _criteria == null ) { throw new IllegalStateException( ... | public Object doInHibernate(Session session) throws HibernateException, SQLException { try { enableFilters(session); buildQuery(session); if ( _query == null && _criteria == null ) { throw new IllegalStateException( ... | 3,232,168 |
protected PropertyDescriptor getPropertyDescriptor(String className, String localName) { BeanInfo beanInfo = getBeanInfo(className); if (beanInfo != null) { PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); for (int i = 0; i < descriptors.length; i++) { ... | protected PropertyDescriptor getPropertyDescriptor(String className, String localName) { BeanInfo beanInfo = getBeanInfo(className); if (beanInfo != null) { PropertyDescriptor[] descriptors = beanInfo.getPropertyDescriptors(); for (int i = 0; i < descriptors.length; i++) { ... | 3,232,169 |
public Object evalScript(String script, Class returnClass) { IRubyObject result = evalScript(script); return JavaUtil.convertRubyToJava(this, result.toRubyObject(), returnClass); } | public Object evalScript(String script, Class returnClass) { IRubyObject result = evalScript(script); return JavaUtil.convertRubyToJava(this, result, returnClass); } | 3,232,170 |
private void init() { getIterStack().push(Iter.ITER_NOT); getFrameStack().push(); topFrame = getCurrentFrame(); getScope().push(); topScope = currentScope(); setCurrentMethodScope(Constants.SCOPE_PRIVATE); try { classes = new RubyClasses(this); ... | private void init() { getIterStack().push(Iter.ITER_NOT); getFrameStack().push(); topFrame = getCurrentFrame(); getScope().push(); topScope = currentScope(); setCurrentMethodScope(Constants.SCOPE_PRIVATE); try { classes = new RubyClasses(this); ... | 3,232,171 |
public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { return ruby.getFalse(); } fn = (RubyFixnum) recv.funcall("<=>", arg2); if (fn.getValue() ... | public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { return ruby.getFalse(); } fn = (RubyFixnum) recv.funcall("<=>", arg2); if (fn.getValue() ... | 3,232,172 |
public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { return ruby.getFalse(); } fn = (RubyFixnum) recv.funcall("<=>", arg2); if (fn.getValue() ... | public static RubyBoolean between_p(Ruby ruby, RubyObject recv, RubyObject arg1, RubyObject arg2) { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", arg1); if (fn.getValue() < 0) { return ruby.getFalse(); } fn = (RubyFixnum) recv.funcall("<=>", arg2); if (fn.getValue() ... | 3,232,173 |
public static RubyBoolean equal(Ruby ruby, RubyObject recv, RubyObject other) { if (recv == other) { return ruby.getTrue(); } else { try { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", other); return RubyBoolean.newBoolean(ruby, fn.getValue() == 0... | public static RubyBoolean equal(Ruby ruby, RubyObject recv, RubyObject other) { if (recv == other) { return ruby.getTrue(); } else { try { RubyFixnum fn = (RubyFixnum) recv.funcall("<=>", other); return RubyBoolean.newBoolean(ruby, fn.getValue() == 0... | 3,232,174 |
public ChannelComponent(Integer attributeId, Integer index, String colorDomain, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ImagePixel imagePixel, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.index = index; ... | public ChannelComponent(Integer attributeId, Integer index, String colorDomain, org.openmicroscopy.omero.model.Image image, org.openmicroscopy.omero.model.ImagePixel imagePixel, org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.attributeId = attributeId; this.index = index; ... | 3,232,176 |
public org.openmicroscopy.omero.model.Image getImage() { return this.image; } | public Image getImage() { return this.image; } | 3,232,177 |
public org.openmicroscopy.omero.model.ImagePixel getImagePixel() { return this.imagePixel; } | public ImagePixel getImagePixel() { return this.imagePixel; } | 3,232,178 |
public org.openmicroscopy.omero.model.ModuleExecution getModuleExecution() { return this.moduleExecution; } | public ModuleExecution getModuleExecution() { return this.moduleExecution; } | 3,232,179 |
public void setImage(org.openmicroscopy.omero.model.Image image) { this.image = image; } | public void setImage(Image image) { this.image = image; } | 3,232,180 |
public void setImagePixel(org.openmicroscopy.omero.model.ImagePixel imagePixel) { this.imagePixel = imagePixel; } | public void setImagePixel(ImagePixel imagePixel) { this.imagePixel = imagePixel; } | 3,232,181 |
public void setModuleExecution(org.openmicroscopy.omero.model.ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; } | public void setModuleExecution(ModuleExecution moduleExecution) { this.moduleExecution = moduleExecution; } | 3,232,182 |
private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | 3,232,183 |
private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | 3,232,184 |
private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | private void buildUI() { setLayout(new BoxLayout(this, BoxLayout.X_AXIS)); setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPa... | 3,232,185 |
private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); progressBar.setVisible(false); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.INFO)); status... | private void initComponents() { IconManager icons = IconManager.getInstance(); progressBar = new JProgressBar(); progressBar.setIndeterminate(true); progressBar.setVisible(false); status = new JLabel(); statusButton = new JButton(icons.getIcon(IconManager.INFO)); status... | 3,232,186 |
public RubyClass newSubClass(String name, SinglyLinkedList parentCRef) { RubyClass newClass = new RubyClass(runtime, runtime.getClass("Class"), this, parentCRef, name); newClass.makeMetaClass(getMetaClass(), newClass.getCRef()); newClass.inheritedBy(this); ((RubyModule)parentCRef.getValu... | public RubyClass newSubClass(String name, SinglyLinkedList parentCRef) { RubyClass classClass = runtime.getClass("Class"); if (this == classClass) { throw runtime.newTypeError("can't make subclass of Class"); } else if (this instanceof MetaClass) { throw runtime.newTypeError("can't make subclass of virtual... | 3,232,187 |
public static IRubyObject chdir(IRubyObject recv, RubyString path) { System.setProperty("user.dir", getDir(recv.getRuntime(), path.toString()).toString()); return RubyFixnum.newFixnum(recv.getRuntime(), 0); } | public static IRubyObject chdir(IRubyObject recv, RubyString path) { File dir = getDir(recv.getRuntime(), path.toString()); String realPath = null; try { realPath = dir.getCanonicalPath(); } catch (IOException e) { realPath = dir.getAbsolutePath(); } System.setProperty("user.dir", realPath); retu... | 3,232,188 |
public IRubyObject close() { // I don't think we need to close since we don't actually have // an open stream... return this; } | public IRubyObject close() { // I don't think we need to close since we don't actually have // an open stream... isOpen = false; return getRuntime().getNil(); } | 3,232,189 |
public static RubyArray entries(IRubyObject recv, RubyString path) { if (".".equals(path.toString().trim())) { path = new RubyString(recv.getRuntime(), System.getProperty("user.dir")); } List fileList = getContents(new File(path.toString())); fileList.add(0,"."); fileList.add(1,"..... | public static RubyArray entries(IRubyObject recv, RubyString path) { if (".".equals(path.toString().trim())) { path = new RubyString(recv.getRuntime(), System.getProperty("user.dir")); } List fileList = getContents(new File(path.toString())); fileList.add(0,"."); fileList.add(1,"..... | 3,232,190 |
protected static List getContents(File directory) { List result = new ArrayList(); String[] contents = directory.list(); for (int i=0; i<contents.length; i++) { result.add(contents[i]); } return result; } | protected static List getContents(File directory) { List result = new ArrayList(); for (int i=0; i<contents.length; i++) { result.add(contents[i]); } return result; } | 3,232,192 |
protected static File getDir(Ruby ruby, String path) { File result = new File(path); if (!result.isDirectory()) { throw new IOError(ruby, path + " is not a directory"); } return result; } | protected static File getDir(Ruby ruby, String path) { File result = new File(path); if (!result.isDirectory()) { throw ErrnoError.getErrnoError(ruby, "ENOENT", path + " is not a directory"); } return result; } | 3,232,193 |
public IRubyObject initialize(RubyString path) { path.checkSafeString(); dir = new File(path.getValue()); if (!dir.isDirectory()) { path = null; dir = null; throw new IOError(getRuntime(), path.getValue() + " is not a directory"); } List snapshotList = n... | public IRubyObject initialize(RubyString path) { path.checkSafeString(); dir = new File(path.getValue()); if (!dir.isDirectory()) { dir = null; throw new IOError(getRuntime(), path.getValue() + " is not a directory"); } List snapshotList = new ArrayList(... | 3,232,194 |
public IRubyObject initialize(RubyString path) { path.checkSafeString(); dir = new File(path.getValue()); if (!dir.isDirectory()) { path = null; dir = null; throw new IOError(getRuntime(), path.getValue() + " is not a directory"); } List snapshotList = n... | public IRubyObject initialize(RubyString path) { path.checkSafeString(); dir = new File(path.getValue()); if (!dir.isDirectory()) { path = null; dir = null; throw ErrnoError.getErrnoError(getRuntime(), "ENOENT", path.getValue() + " is not a directory"); }... | 3,232,195 |
public static IRubyObject mkdir(IRubyObject recv, IRubyObject[] args) { if (args.length < 1) { throw new ArgumentError(recv.getRuntime(), args.length, 1); } if (args.length > 2) { throw new ArgumentError(recv.getRuntime(), args.length, 2); } args[0].checkSafe... | public static IRubyObject mkdir(IRubyObject recv, IRubyObject[] args) { if (args.length < 1) { throw new ArgumentError(recv.getRuntime(), args.length, 1); } if (args.length > 2) { throw new ArgumentError(recv.getRuntime(), args.length, 2); } args[0].checkSafe... | 3,232,196 |
public static IRubyObject open(IRubyObject recv, RubyString path) { throw new NotImplementedError(recv.getRuntime()); } | public static IRubyObject open(IRubyObject recv, RubyString path) { RubyDir directory = (RubyDir) newInstance(recv.getRuntime().getClasses().getDirClass(), new IRubyObject[] { path }); if (recv.getRuntime().isBlockGiven()) { try { recv.getRuntime().yield(directory); } finally { directory.close(); } return ... | 3,232,197 |
public static IRubyObject rmdir(IRubyObject recv, RubyString path) { new File(path.toString()).delete(); return RubyFixnum.newFixnum(recv.getRuntime(), 0); } | public static IRubyObject rmdir(IRubyObject recv, RubyString path) { File directory = new File(path.toString()); if (directory.delete() == false) { throw new SystemCallError(recv.getRuntime(), "No such directory"); } return RubyFixnum.newFixnum(recv.getRuntime(), 0); } | 3,232,199 |
public IRubyObject seek(RubyFixnum pos) { this.pos = (int) pos.getLongValue(); return pos; } | public IRubyObject seek(RubyFixnum pos) { this.pos = (int) pos.getLongValue(); return this; } | 3,232,200 |
public String getIWActionURIHandlerIdentifier() { return (new ArticleActionURIHandler()).getHandlerIdentifier(); } | public String getIWActionURIHandlerIdentifier() { return (new ArticleActionURIHandler()).getHandlerIdentifier(); } | 3,232,201 |
public void open() { quickLaunchBtn.doClick(); } | public void open() { quickLaunchBtn.doClick(); } | 3,232,202 |
public void postHandleDisplay() { } | public void postHandleDisplay() { } | 3,232,203 |
public ManageableTopWindow(String s) { super(s); } | public ManageableTopWindow(String s) { super(s); } | 3,232,204 |
public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try {// ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder("/files/content").toArray(new ArticleItemBean[0]); ArticleItemBean[] articleItemBean = ... | public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try {// ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder("/files/content").toArray(new ArticleItemBean[0]); ArticleItemBean[] articleItemBean = ... | 3,232,205 |
public void resetDefaults() { // Reset the bit resolution. setQuantumStrategy(QuantumFactory.DEPTH_8BIT); // NB: Java locks are setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); // re-entrant. // Set the each channel's window to the channel's [min, max]. // Make active only th... | public void resetDefaults() { // Reset the bit resolution. setQuantumStrategy(QuantumFactory.DEPTH_8BIT); // NB: Java locks are setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); // re-entrant. // Set the each channel's window to the channel's [min, max]. // Make active only th... | 3,232,206 |
public void resetDefaults() { // Reset the bit resolution. setQuantumStrategy(QuantumFactory.DEPTH_8BIT); // NB: Java locks are setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); // re-entrant. // Set the each channel's window to the channel's [min, max]. // Make active only th... | public void resetDefaults() { // Reset the bit resolution. setQuantumStrategy(QuantumFactory.DEPTH_8BIT); // NB: Java locks are setCodomainInterval(0, QuantumFactory.DEPTH_8BIT); // re-entrant. // Set the each channel's window to the channel's [min, max]. // Make active only th... | 3,232,207 |
public IRubyObject initialize(IRubyObject[] args) { IRubyObject input = args[0]; IRubyObject output = args[1]; InputStream inputStream = (InputStream) extractStream(input); OutputStream outputStream = (OutputStream) extractStream(output); bindStreams(inputStream, outputS... | public IRubyObject initialize(IRubyObject[] args) { IRubyObject input = args[0]; IRubyObject output = args[1]; InputStream inputStream = (InputStream) extractStream(input); OutputStream outputStream = (OutputStream) extractStream(output); try { handler = new IOHandlerSoc... | 3,232,210 |
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... | 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,232,212 |
public String getWikiPageName(WikiSystem wiki, WebContext wc) { return wc.getForm ("save"); } | public String getWikiPageName(WikiSystem wiki, WebContext wc) { String pageName = wc.getForm ("save"); pageName = WikiUtil.formatAsWikiTitle(pageName); return pageName; } | 3,232,213 |
private void dumpMethods(CoverageData instrumentation) { Iterator iter = instrumentation.getMethodNamesAndDescriptors() .iterator(); while (iter.hasNext()) { String methodNameAndSignature = (String)iter.next(); println("<method nameAndSignature=\"" + methodNameAndSignature + "\">"); increaseIndentation... | private void dumpMethods(CoverageData instrumentation) { Iterator iter = instrumentation.getMethodNamesAndDescriptors() .iterator(); while (iter.hasNext()) { String methodNameAndSignature = (String)iter.next(); println("<method nameAndSignature=\"" + methodNameAndSignature + "\">"); increaseIndentation... | 3,232,214 |
final public Template getTemplate(String fileName) { File tFile = findTemplate (fileName); Template t = null; try { t = new FileTemplate (_broker, tFile); t.parse (); _lastModifiedCache.put (fileName, new Long (tFile.lastModified())); } catch (NullPointerException n... | final public Template getTemplate(String fileName) { File tFile = findTemplate (fileName); Template t = null; try { t = new FileTemplate (_broker, tFile); t.parse (); _lastModifiedCache.put (fileName, new Long (tFile.lastModified())); } catch (NullPointerException n... | 3,232,215 |
public String getNickname() { return chatPreferences.getNickname(); } | public String getNickname() { LocalPreferences pref = SettingsManager.getLocalPreferences(); return pref.getNickname(); } | 3,232,216 |
private void init() { setLayout(new GridBagLayout()); add(splitPane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); add(notificationLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, Grid... | private void init() { setLayout(new GridBagLayout()); add(splitPane, new GridBagConstraints(0, 1, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0)); add(notificationLabel, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, Grid... | 3,232,217 |
public String toString(){ return "Image"+(imageId==null ? ":Hash"+this.hashCode() : ":"+imageId); } | public String toString(){ return "Image"+(imageId==null ? ":Hash_"+this.hashCode() : ":Id_"+imageId); } | 3,232,218 |
public void copy(IObject model, ModelMapper mapper) { if (model instanceof Category) { Category c = (Category) model; super.copy(model,mapper); // Details Details details = c.getDetails(); if (details!=null){ this.setOwner((ExperimenterData) mapper.findTarget(... | public void copy(IObject model, ModelMapper mapper) { if (model instanceof Category) { Category c = (Category) model; super.copy(model,mapper); // Details Details details = c.getDetails(); if (details!=null){ this.setOwner((ExperimenterData) mapper.findTarget(... | 3,232,219 |
public void testHessian(){ log.info(getData()); Utils.structureSize(this.testFindCGCIHierarchies()); Utils.structureSize(this.testFindDatasetAnnotationsSet()); Utils.structureSize(this.testFindDatasetAnnotationsSetForExperimenter()); Utils.structureSize(this.testFindImageAnnotatio... | public void testHessian(){ OMEData data = new OMEPerformanceData(); OMEData old = getData(); Set imgs = new HashSet(); imgs.add(new Integer(101)); imgs.add(new Integer(12)); imgs.add(new Integer(5393)); imgs.add(new Integer(4954)); imgs.add(new Integer(3919)); imgs.add(new Integer(1273)); data.imgsCGCI=imgs;... | 3,232,220 |
static public Timestamp convertDate(Date date){ if (null==date){ log.debug("Null date."); return null; } return new Timestamp(date.getTime()); } | static public Timestamp convertDate(Date date){ if (null==date){ return null; } return new Timestamp(date.getTime()); } | 3,232,221 |
static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { log.debug(nullId+p); } else { pd.... | static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { if (log.isDebugEnabled())log.debug(nullId+p); ... | 3,232,222 |
static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { log.debug(nullId+p); } else { pd.... | static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { log.debug(nullId+p); } else { pd.... | 3,232,223 |
static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { log.debug(nullId+p); } else { pd.... | static public ProjectData go(Project p, Map cache) { if (check(cache,p)) { return (ProjectData) from(cache, p); } ProjectData pd = new ProjectData(); to(cache, p, pd); if (null == p.getProjectId()) { log.debug(nullId+p); } else { pd.... | 3,232,224 |
private static File createJarFile() throws IOException { File file = new File("target/SpringLoaderTest.jar"); FileOutputStream out = new FileOutputStream(file); JarOutputStream jarOut = new JarOutputStream(out); jarOut.putNextEntry(new JarEntry(CLASS_NAME + ".class")); jarOut.writ... | private static File createJarFile() throws IOException { File file = new File(basedir, "target/SpringLoaderTest.jar"); FileOutputStream out = new FileOutputStream(file); JarOutputStream jarOut = new JarOutputStream(out); jarOut.putNextEntry(new JarEntry(CLASS_NAME + ".class")); ja... | 3,232,225 |
public void testLoad() throws Exception{ Kernel kernel = KernelFactory.newInstance().createKernel("test"); try { File baseDir = new File("src/test/org/xbean/server/spring/loader/").getAbsoluteFile(); System.setProperty("xbean.base.dir", baseDir.getAbsolutePath()); File... | public void testLoad() throws Exception{ Kernel kernel = KernelFactory.newInstance().createKernel("test"); try { File baseDir = new File("src/test/org/xbean/server/spring/loader/").getAbsoluteFile(); System.setProperty("xbean.base.dir", baseDir.getAbsolutePath()); File... | 3,232,226 |
public void testLoad() throws Exception{ Kernel kernel = KernelFactory.newInstance().createKernel("test"); try { File baseDir = new File("src/test/org/xbean/server/spring/loader/").getAbsoluteFile(); System.setProperty("xbean.base.dir", baseDir.getAbsolutePath()); File... | public void testLoad() throws Exception{ Kernel kernel = KernelFactory.newInstance().createKernel("test"); try { File baseDir = new File("src/test/org/xbean/server/spring/loader/").getAbsoluteFile(); System.setProperty("xbean.base.dir", baseDir.getAbsolutePath()); File... | 3,232,227 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.