bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public WorkflowQuery(int field, int type, int operator, Object value) { this.type = type; this.operator = operator; this.field = field; this.value = value; } | public WorkflowQuery(int field, int type, int operator, Object value) { this.type = type; this.operator = operator; this.field = field; this.value = value; } | 27,331 |
public FieldExpression(int field, int context, int operator, Object value) { this.context = context; this.operator = operator; this.field = field; this.value = value; } | public FieldExpression(int field, int context, int operator, Object value) { this.context = context; this.operator = operator; this.field = field; this.value = value; } | 27,332 |
public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt... | public void changeEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); if (entry.getState() == newState) { return; } if (canModifyEntryState(id, newState)) { if ((newSt... | 27,333 |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // build the invocation long hash = MethodHashing.calculateHash(method); MethodInvocation invocation = new MethodInvocation(interceptors, hash, method, method, null); invocation.setArguments(args); // init... | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // build the invocation long hash = MethodHashing.calculateHash(method); MethodInfo info = new MethodInfo(); info.hash = hash; info.advisedMethod = method; info.unadvisedMethod = method; MethodInvocation invocation... | 27,334 |
private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = new ArrayList(size); for (int i = 0; i < size; i++) { l.add(in.readObject()); } return l; } | private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = null; for (int i = 0; i < size; i++) { l.add(in.readObject()); } return l; } | 27,335 |
private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = new ArrayList(size); for (int i = 0; i < size; i++) { l.add(in.readObject()); } return l; } | private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = new ArrayList(size); if (size != -1) { l.add(in.readObject()); } return l; } | 27,336 |
private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = new ArrayList(size); for (int i = 0; i < size; i++) { l.add(in.readObject()); } return l; } | private List readList(ObjectInput in) throws IOException, ClassNotFoundException { int size = in.readInt(); List l = new ArrayList(size); for (int i = 0; i < size; i++) { l = new ArrayList(size); for (int i = 0; i < size; i++) { l.add(in.readObject()); } } r... | 27,337 |
private void writeList(List l, ObjectOutput out) throws IOException { out.writeInt(l.size()); Iterator iter = l.iterator(); while (iter.hasNext()) { out.writeObject(iter.next()); } } | private void writeList(List l, ObjectOutput out) throws IOException { out.writeInt(l.size()); Iterator iter = l.iterator(); while (iter.hasNext()) { out.writeObject(iter.next()); } } | 27,338 |
private void writeList(List l, ObjectOutput out) throws IOException { out.writeInt(l.size()); Iterator iter = l.iterator(); while (iter.hasNext()) { out.writeObject(iter.next()); } } | private void writeList(List l, ObjectOutput out) throws IOException { out.writeInt(l.size()); Iterator iter = l.iterator(); while (iter.hasNext()) { out.writeInt(-1); } else { out.writeInt(l.size()); Iterator iter = l.iterator(); while (iter.hasNext()) { out.writeObject(iter.next()); } ... | 27,339 |
public static void createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { // create new step String name = JOptionPane.showInputDialog("Step Name?"); if(name == null || name.trim().length() == 0) return; StepDescriptor step = DescriptorBuilder.createStep(name, Utils.getNextId... | public static void createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { // create new step String name = JOptionPane.showInputDialog(ResourceManager.getString("step.add.name")); if(name == null || name.trim().length() == 0) return; StepDescriptor step = DescriptorBuilder.cr... | 27,340 |
public JBossMessage(long messageID) { this(messageID, true, 0, System.currentTimeMillis(), (byte)4, null, null, null, null, null, null, null, null); } | public JBossMessage(long messageID) { this(messageID, true, 0, System.currentTimeMillis(), (byte)4, null, null, null, null, null, null, null, null); } | 27,341 |
public WorkflowDescriptor(Element root) { init(root); } | public WorkflowDescriptor(Element root) { init(root); } | 27,344 |
public int getInlineWidth() { return inlineWidth; } | public int getInlineWidth(CssContext cssCtx) { return inlineWidth; } | 27,346 |
public void componentResized(ComponentEvent e) { html.relayout(); } | public void componentResized(ComponentEvent e) { geckoBrowser.setSize(gscroll.getSize()); } | 27,350 |
public void setDocument(InputStream stream, String url) throws Exception { super.setDocument(stream, url, new XhtmlNamespaceHandler()); } | public void setDocument(InputStream stream, String url) throws Exception { super.setDocument(stream, url, new XhtmlNamespaceHandler()); } | 27,351 |
private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = _styleFactory.getStylesheet(si); if (ss == null) return count;//couldn't load it for (java.util.Iterator rulesets = ss.getRule... | private int appendStylesheet(StylesheetInfo si, int count, java.util.TreeMap sorter, String media) { if (!si.appliesToMedia(media)) return count; Stylesheet ss = si.getStylesheet(); if (ss == null) { ss = _styleFactory.getStylesheet(si); si.setStylesheet(ss); } if (ss == null) return count;//co... | 27,352 |
public void nodeStructureChanged(TreeNode node) throws NotImplementedException { // TODO } | public void nodeStructureChanged(TreeNode node) { // TODO } | 27,353 |
public void reload() throws NotImplementedException { // TODO } | public void reload() { // TODO } | 27,355 |
public void treeNodesChanged(TreeModelEvent event); | void treeNodesChanged(TreeModelEvent event); | 27,357 |
public void treeNodesInserted(TreeModelEvent event); | void treeNodesInserted(TreeModelEvent event); | 27,358 |
public void treeNodesRemoved(TreeModelEvent event); | void treeNodesRemoved(TreeModelEvent event); | 27,359 |
public void treeStructureChanged(TreeModelEvent event); | void treeStructureChanged(TreeModelEvent event); | 27,360 |
public void setFunctions(Map functions) { this.functions = functions; } | public void setFunctions(Map functions) { this.springFunctions = functions; } | 27,362 |
public void objectAdded(NamingEvent evt); | void objectAdded(NamingEvent evt); | 27,363 |
public void objectRemoved(NamingEvent evt); | void objectRemoved(NamingEvent evt); | 27,364 |
public void objectRenamed(NamingEvent evt); | void objectRenamed(NamingEvent evt); | 27,365 |
private static void stripTextContent(LinkedList stripped) { for (Iterator i = stripped.iterator(); i.hasNext();) if (i.next() instanceof TextContent) i.remove(); } | private static void stripTextContent(LinkedList stripped) { for (Iterator i = stripped.iterator(); i.hasNext();) if (i.next() instanceof TextContent) i.remove(); } | 27,366 |
public String replaceAll (String replacement) { reset(); return pattern.getRE().substituteAll(input, replacement, position); } | public String replaceAll (String replacement) { reset(); return pattern.getRE().substituteAll(input, replacement, position, RE.REG_REPLACE_USE_BACKSLASHESCAPE); } | 27,367 |
public void namingExceptionThrown(NamingExceptionEvent evt); | void namingExceptionThrown(NamingExceptionEvent evt); | 27,368 |
public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model, new GraphLayoutCache(model, new WorkflowCellViewFactory())); ToolTipManager.sharedInstance().registerComponent(this); this.layout = layout; setDescriptor(descriptor); if(doAutoLayo... | public WorkflowGraph(GraphModel model, WorkflowDescriptor descriptor, Layout layout, boolean doAutoLayout) { super(model); getGraphLayoutCache().setFactory(new WorkflowCellViewFactory()); getGraphLayoutCache().setSelectsAllInsertedCells(false); ToolTipManager.sharedInstance().registerComponent(this); this.l... | 27,369 |
public String convertValueToString(Object value) { if(value == null) return null; if(value instanceof CustomEdgeView) { return ((CustomEdgeView)value).getCell().toString(); } else { return value.toString(); } } | public String convertValueToString(Object value) { if(value == null) return null; if(value instanceof EdgeView) { return ((CustomEdgeView)value).getCell().toString(); } else { return value.toString(); } } | 27,370 |
public String convertValueToString(Object value) { if(value == null) return null; if(value instanceof CustomEdgeView) { return ((CustomEdgeView)value).getCell().toString(); } else { return value.toString(); } } | public String convertValueToString(Object value) { if(value == null) return null; if(value instanceof CustomEdgeView) { return ((EdgeView)value).getCell().toString(); } else { return value.toString(); } } | 27,371 |
public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super("Step"); this.workflow = workflow; this.model = model; this.location = location; } | public CreateStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { super(ResourceManager.getString("step")); this.workflow = workflow; this.model = model; this.location = location; } | 27,372 |
public CreateJoin(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location){ super("Join"); this.workflow = workflow; this.model = model; this.location = location; } | public CreateJoin(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location){ super("Join"); this.workflow = workflow; this.model = model; this.location = location; } | 27,373 |
public SetGridSize(WorkflowGraph graph, Point location, int gridSize) { super(gridSize>1 ? gridSize + " pt" : ResourceManager.getString("grid.disable")); setIcon(new GridIcon(gridSize)); customHandler = new SetGridSizeWidthHandler(graph, location, gridSize, this.getName()); addActionListener(customHandler); } | public SetGridSize(WorkflowGraph graph, int gridSize) { super(gridSize>1 ? gridSize + " pt" : ResourceManager.getString("grid.disable")); setIcon(new GridIcon(gridSize)); customHandler = new SetGridSizeWidthHandler(graph, location, gridSize, this.getName()); addActionListener(customHandler); } | 27,374 |
public SetGridSize(WorkflowGraph graph, Point location, int gridSize) { super(gridSize>1 ? gridSize + " pt" : ResourceManager.getString("grid.disable")); setIcon(new GridIcon(gridSize)); customHandler = new SetGridSizeWidthHandler(graph, location, gridSize, this.getName()); addActionListener(customHandler); } | public SetGridSize(WorkflowGraph graph, Point location, int gridSize) { super(gridSize>1 ? gridSize + " pt" : ResourceManager.getString("grid.disable")); setIcon(new GridIcon(gridSize)); customHandler = new SetGridSizeWidthHandler(graph, location, gridSize, this.getName()); addActionListener(customHandler); } | 27,375 |
float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0... | float determineMaxLineLength() { // if the longest line is cached, return the cached value if (maxLineLength != -1) return maxLineLength; // otherwise we have to go through all the lines and find it Element el = getElement(); Segment seg = getLineBuffer(); float span = 0; for (int i = 0... | 27,376 |
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { Element line = getElement().getElement(lineIndex); int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset(); if (selectionStart <= startOffset) // Selection starts before the lin... | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { Element line = getElement().getElement(lineIndex); int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset() - 1; if (selectionStart <= startOffset) // Selection starts before the... | 27,377 |
protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { Element line = getElement().getElement(lineIndex); int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset(); if (selectionStart <= startOffset) // Selection starts before the lin... | protected void drawLine(int lineIndex, Graphics g, int x, int y) { try { Element line = getElement().getElement(lineIndex); int startOffset = line.getStartOffset(); int endOffset = line.getEndOffset(); if (selectionStart <= startOffset) // Selection starts before the lin... | 27,378 |
protected Segment getLineBuffer() { if (lineBuffer == null) lineBuffer = new Segment(); return lineBuffer; } | protected final Segment getLineBuffer() { if (lineBuffer == null) lineBuffer = new Segment(); return lineBuffer; } | 27,379 |
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); ElementChange ec = changes.getChange(el); // If ec is null then no lines were added or removed, just // repaint the ... | protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f) { float oldMaxLineLength = maxLineLength; Rectangle alloc = a.getBounds(); Element el = getElement(); ElementChange ec = changes.getChange(el); // If ec is null then no lines were added or removed, just // repaint the ... | 27,380 |
public int charWidth(char ch) { return 1; } | public int charWidth(char ch) { return charWidth((char) ch); } | 27,381 |
public ElementChange getChange(Element element); | ElementChange getChange(Element element); | 27,382 |
public int getOffset(); | int getOffset(); | 27,383 |
public EventType getType(); | EventType getType(); | 27,384 |
public Element[] getChildrenRemoved(); | Element[] getChildrenRemoved(); | 27,385 |
public Element[] getChildrenAdded(); | Element[] getChildrenAdded(); | 27,386 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0) { return getTabbedTextOffset(s, fm, x0, x, te, p0, true); } | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0, boolean round) { return getTabbedTextOffset(s, fm, x0, x, te, p0, true); } | 27,387 |
public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0) { return getTabbedTextOffset(s, fm, x0, x, te, p0, true); } | public static final int getTabbedTextOffset(Segment s, FontMetrics fm, int x0, int x, TabExpander te, int p0) { int pos; int currentX = x0; for (pos = 0; pos < s.count; pos++) { char nextChar = s.array[s.offset+pos]; if (nextChar == 0) { if (! round && pos > 0) pos--... | 27,388 |
public void run() { try { if (trace) { log.trace("handing " + this.msg + " over to the remoting layer"); } MessagingMarshallable mm = new MessagingMarshallable(connection.getUsingVersion(), this); connection.getCallbackClient().invoke(mm); } ca... | public void run() { try { if (trace) { log.trace("handing " + this.msg + " over to the remoting layer"); } MessagingMarshallable mm = new MessagingMarshallable(connection.getUsingVersion(), this); connection.getCallbackClient().invoke(mm); } ca... | 27,389 |
ServerConnectionEndpoint unregisterConnection(String remotingClientSessionID); | ServerConnectionEndpoint unregisterConnection(String jmsClientId, String remotingClientSessionID); | 27,390 |
public void menuCanceled(MenuEvent event); | void menuCanceled(MenuEvent event); | 27,400 |
public void menuDeselected(MenuEvent event); | void menuDeselected(MenuEvent event); | 27,401 |
public void menuSelected(MenuEvent event); | void menuSelected(MenuEvent event); | 27,402 |
public void processKeyEvent(KeyEvent e) throws NotImplementedException { throw new UnsupportedOperationException("not implemented"); } | public void processKeyEvent(KeyEvent e) { throw new UnsupportedOperationException("not implemented"); } | 27,403 |
public void processKeyEvent(KeyEvent e) throws NotImplementedException { throw new UnsupportedOperationException("not implemented"); } | public void processKeyEvent(KeyEvent e) throws NotImplementedException { MenuElement[] selection = (MenuElement[]) selectedPath.toArray(new MenuElement[selectedPath.size()]); MenuElement[] path; for (int index = selection.length - 1; index >= 0; index--) { MenuElement el = selection[index]; MenuElement[] ... | 27,404 |
public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res... | public static void paint(Context c, Box box, boolean stylePushed, boolean restyle) { Box block = (Box) box; restyle = restyle || box.restyle;//cascade it down box.restyle = false;//reset if (block instanceof AnonymousBlockBox) { InlineRendering.paintInlineContext(c, block, res... | 27,405 |
public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | public void installUI(JComponent c) { tree = (JTree) c; configureLayoutCache(); UIDefaults defaults = UIManager.getLookAndFeelDefaults(); tree.setFont(defaults.getFont("Tree.font")); tree.setForeground(defaults.getColor("Tree.foreground")); tree.setBackground(defaults.getColor("Tree.background"... | 27,407 |
public void uninstallUI(JComponent c) { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); uninstallKeyboardActions(); tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionLi... | public void uninstallUI(JComponent c) { tree.setFont(null); tree.setForeground(null); tree.setBackground(null); uninstallKeyboardActions(); tree.removePropertyChangeListener(propertyChangeListener); tree.removeFocusListener(focusListener); tree.removeTreeSelectionListener(treeSelectionLi... | 27,408 |
public void bind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).bind(name, obj); } | public void bind(String name, Object obj) throws NamingException { getURLOrDefaultInitCtx(name).bind(name, obj); } | 27,410 |
public static Connection getConnection(String url, String user, String password) throws SQLException { Properties p = new Properties(); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("password", password); return getConnection(url, p); } | public static Connection getConnection(String url, String user, String password) throws SQLException { Properties p = new Properties(); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("password", password); return getConnection(url, p); } | 27,411 |
public static Connection getConnection(String url, String user, String password) throws SQLException { Properties p = new Properties(); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("password", password); return getConnection(url, p); } | public static Connection getConnection(String url, String user, String password) throws SQLException { Driver d = getDriver(url); if (d == null) throw new SQLException("Driver not found for URL: " + url); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("passwo... | 27,412 |
public static Connection getConnection(String url, String user, String password) throws SQLException { Properties p = new Properties(); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("password", password); return getConnection(url, p); } | public static Connection getConnection(String url, String user, String password) throws SQLException { Properties p = new Properties(); if (user != null) p.setProperty("user", user); if (password != null) p.setProperty("password", password); return getConnection(url, p); } | 27,413 |
public void replaceSelection(String content) { Caret caret = getCaret(); StyledDocument doc = getStyledDocument(); int dot = caret.getDot(); int mark = caret.getMark(); // If content is empty delete selection. if (content == null) { caret.setDot(dot); return; } try { int start = g... | public void replaceSelection(String content) { Caret caret = getCaret(); StyledDocument doc = getStyledDocument(); int dot = caret.getDot(); int mark = caret.getMark(); // If content is empty delete selection. if (content == null) { caret.setDot(dot); return; } try { int start = g... | 27,414 |
protected EditorKit createDefaultEditorKit() { return new DefaultEditorKit(); } | protected EditorKit createDefaultEditorKit() { return new PlainEditorKit(); } | 27,415 |
public void paintChild(Context c, Box box, Renderer layout) { if (box.isChildrenExceedBounds()) { layout.paint(c, box); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectangle... | public void paintChild(Context c, Box box, Renderer layout) { if (box.isChildrenExceedBounds()) { layout.paint(c, box); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false)) { if (c.getGraphics().getClip() != null) { Rectangle... | 27,416 |
protected void configure(Message m, int deliveryMode, int priority, long timeToLive, Destination dest) throws JMSException { m.setJMSDeliveryMode(deliveryMode); if (isTimestampDisabled) { m.setJMSTimestamp(0l); } else { m.setJMSTimest... | protected void configure(Message m, int deliveryMode, int priority, long timeToLive, Destination dest) throws JMSException { ((JBossMessage)m).setPropertiesReadWrite(false); m.setJMSDeliveryMode(deliveryMode); if (isTimestampDisabled) { ((JBossMessage)m).setPropert... | 27,417 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,418 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,419 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,420 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,421 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,422 |
protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | protected void init(Element result) { oldStatus = result.getAttribute("old-status"); status = result.getAttribute("status"); try { setId(Integer.parseInt(result.getAttribute("id"))); } catch (NumberFormatException e) { } dueDate = result.getAttribute("due-date");... | 27,423 |
CoreDestinationManager(DestinationManagerImpl destinationManager) throws Exception { queueMap = new HashMap(); topicMap = new HashMap(); this.destinationManager = destinationManager; } | CoreDestinationManager(DestinationManagerImpl destinationManager) throws Exception { queueMap = new HashMap(); topicMap = new HashMap(); this.destinationManager = destinationManager; } | 27,424 |
public Topic(String name, MessageStore ms, PersistenceManager pm, TransactionManager tm) { super(name, ms, pm, tm); router = new PointToMultipointRouter(); } | public Topic(String name, MessageStore ms) { super(name, ms, pm, tm); router = new PointToMultipointRouter(); } | 27,425 |
public Topic(String name, MessageStore ms, PersistenceManager pm, TransactionManager tm) { super(name, ms, pm, tm); router = new PointToMultipointRouter(); } | public Topic(String name, MessageStore ms, PersistenceManager pm, TransactionManager tm) { super(name, ms, pm, tm); router = new PointToMultipointRouter(); } | 27,426 |
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) { if ( localName.equals("public")) { entityMap.put(atts.getValue("publicId"), atts.getValue("uri")); } } | public void startElement(String namespaceURI, String localName, String qName, Attributes atts) { if ( localName.equals("public")) { entityMap.put(atts.getValue("publicId"), atts.getValue("uri")); } } | 27,427 |
public Map parseCatalog(String catalogURI) { URL url = null; Map map = null; try { url = FSCatalog.class.getClassLoader().getResource(catalogURI); map = parseCatalog(new InputSource(new BufferedInputStream(url.openStream()))); } catch ( Exception ex ) { XRLog.xmlEntities( Level.WARNING, "Co... | public Map parseCatalog(String catalogURI) { URL url = null; Map map = null; try { url = FSCatalog.class.getClassLoader().getResource(catalogURI); map = parseCatalog(new InputSource(new BufferedInputStream(url.openStream()))); } catch ( Exception ex ) { XRLog.xmlEntities( Level.WARNING, "Co... | 27,428 |
public Map parseCatalog(String catalogURI) { URL url = null; Map map = null; try { url = FSCatalog.class.getClassLoader().getResource(catalogURI); map = parseCatalog(new InputSource(new BufferedInputStream(url.openStream()))); } catch ( Exception ex ) { XRLog.xmlEntities( Level.WARNING, "Co... | public Map parseCatalog(String catalogURI) { URL url = null; Map map = null; try { url = FSCatalog.class.getClassLoader().getResource(catalogURI); map = parseCatalog(new InputSource(new BufferedInputStream(url.openStream()))); } catch ( Exception ex ) { XRLog.xmlEntities( Level.WARNING, "Co... | 27,429 |
public static void xmlEntities( Level level, String msg ) { log( XML_ENTITIES, level, msg ); } | public static void xmlEntities( Level level, String msg ) { log( XML_ENTITIES, level, msg ); } | 27,430 |
public static WorkflowDescriptor load(final InputStream is, boolean validate) throws SAXException, IOException, InvalidWorkflowDescriptorException { return load(is, null, validate); } | public static WorkflowDescriptor load(final InputStream is, boolean validate) throws SAXException, IOException, InvalidWorkflowDescriptorException { return load(is, null, validate); } | 27,431 |
private ConnectionFactory createConnectionFactory() throws Exception { ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy(); return new JBossConnectionFactory(proxy); } | private ConnectionFactory createConnectionFactory(String connFactoryID) throws Exception { ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy(); return new JBossConnectionFactory(proxy); } | 27,433 |
private ConnectionFactory createConnectionFactory() throws Exception { ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy(); return new JBossConnectionFactory(proxy); } | private ConnectionFactory createConnectionFactory() throws Exception { ConnectionFactoryDelegate proxy = (ConnectionFactoryDelegate)createProxy(connFactoryID); return new JBossConnectionFactory(proxy); } | 27,434 |
private Object createProxy() throws Exception { Serializable oid = connFactoryAdvisor.getName(); String stackName = "ConnectionFactoryStack"; AdviceStack stack = AspectManager.instance().getAdviceStack(stackName); // TODO why do I need an advisor to create an interceptor stack? Interceptor... | private Object createProxy(String connFactoryID) throws Exception { Serializable oid = connFactoryAdvisor.getName(); String stackName = "ConnectionFactoryStack"; AdviceStack stack = AspectManager.instance().getAdviceStack(stackName); // TODO why do I need an advisor to create an interceptor sta... | 27,435 |
public ConnectionFactoryDelegate getConnectionFactoryDelegate() { return connFactoryDelegate; } | public ConnectionFactoryDelegate getConnectionFactoryDelegate(String connectionFactoryID) { return connFactoryDelegate; } | 27,438 |
public ConnectionFactoryDelegate getConnectionFactoryDelegate() { return connFactoryDelegate; } | public ConnectionFactoryDelegate getConnectionFactoryDelegate() { return (ConnectionFactoryDelegate)connFactoryDelegates.get(connectionFactoryID); } | 27,439 |
public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); initialContext = new InitialContext(jndiEnvironment); mbeanServer = findMBeanServer(); transactionManager = findTransactionManager(); clientManager = new Clien... | public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); initialContext = new InitialContext(jndiEnvironment); mbeanServer = findMBeanServer(); transactionManager = findTransactionManager(); clientManager = new Clien... | 27,440 |
public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); initialContext = new InitialContext(jndiEnvironment); mbeanServer = findMBeanServer(); transactionManager = findTransactionManager(); clientManager = new Clien... | public synchronized void start() throws Exception { if (started) { return; } log.debug(this + " starting"); initialContext = new InitialContext(jndiEnvironment); mbeanServer = findMBeanServer(); transactionManager = findTransactionManager(); clientManager = new Clien... | 27,441 |
public synchronized void stop() throws Exception { if (!started) { return; } log.debug(this + " stopping"); unbindConnectionFactory(); mbeanServer.unregisterMBean(DESTINATION_MANAGER_OBJECT_NAME); tearDownAdvisors(); started = false; log.debug(this + " stopped")... | public synchronized void stop() throws Exception { if (!started) { return; } log.debug(this + " stopping"); tearDownConnectionFactories(); mbeanServer.unregisterMBean(DESTINATION_MANAGER_OBJECT_NAME); tearDownAdvisors(); started = false; log.debug(this + " stopp... | 27,442 |
public String createQueue(String name, String jndiName) throws Exception { return createDestination(true, name, jndiName); } | public String createQueue(String name) throws Exception { return createDestination(true, name, jndiName); } | 27,443 |
public String createQueue(String name, String jndiName) throws Exception { return createDestination(true, name, jndiName); } | public String createQueue(String name, String jndiName) throws Exception { return createDestination(true, name, null); } | 27,444 |
public String createTopic(String name, String jndiName) throws Exception { return createDestination(false, name, jndiName); } | public String createTopic(String name) throws Exception { return createDestination(false, name, jndiName); } | 27,445 |
public String createTopic(String name, String jndiName) throws Exception { return createDestination(false, name, jndiName); } | public String createTopic(String name, String jndiName) throws Exception { return createDestination(false, name, null); } | 27,446 |
private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { //u.p("line calc with avail = " + avail); // calculate the starting index int start = 0; if ( prev != null && pre... | private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { //u.p("line calc with avail = " + avail); // calculate the starting index int start = 0; if ( prev != null && pre... | 27,447 |
public Box layoutChildren( Context c, Box box ) { if ( isHiddenNode( box.getElement(), c ) ) { return box; } //u.p("InlineLayout.layoutChildren(: " + box); //u.dump_stack(); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); ... | public Box layoutChildren( Context c, Box box ) { if ( isHiddenNode( box.getElement(), c ) ) { return box; } //u.p("InlineLayout.layoutChildren(: " + box); //u.dump_stack(); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); ... | 27,448 |
public Dimension maximumLayoutSize(Container parent) { synchronized (container.getTreeLock()) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); Insets i = container.getInsets(); return new Dimension(xTotal.maximum + i.left + i.right... | public Dimension maximumLayoutSize(Container parent) { synchronized (container.getTreeLock()) { if (container != parent) throw new AWTError("BoxLayout can't be shared"); checkTotalRequirements(); Insets i = container.getInsets(); return new Dimension(xTotal.maximum + i.left + i.right... | 27,449 |
void addLayoutComponent(Component component, Object contraints); | void addLayoutComponent(Component component, Object constraints); | 27,450 |
protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(i, reliable, System... | protected Message createMessage(byte i, boolean reliable) throws Exception { HashMap coreHeaders = generateFilledMap(true); HashMap jmsProperties = generateFilledMap(false); JBossMapMessage m = new JBossMapMessage(i, reliable, System... | 27,451 |
public JBossMapMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, Map coreHeaders, byte[] payloadAsByteArray, String jmsType, String correlationID, byte[] correlationIDBytes, JBossDestination destin... | public JBossMapMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, Map coreHeaders, byte[] payloadAsByteArray, String jmsType, String correlationID, byte[] correlationIDBytes, JBossDestination destin... | 27,452 |
protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint()... | protected void damageLineRange (int line0, int line1, Shape a, Component host) { if (a == null) return; Rectangle rec0 = lineToRect(a, line0); Rectangle rec1 = lineToRect(a, line1); if (rec0 == null || rec1 == null) // something went wrong, repaint the entire host to be safe host.repaint(r... | 27,454 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.