bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
45,047
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
45,048
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
45,049
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
45,050
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
private void restyle(Box ib) { //Uu.p("under cursor = " + ib); boolean needRepaint = false; // return this box or one if it's parents to find the deepest hovered element. // if none then just return null ib = getDeepestHover(ib); //Uu.p("deepest hover = " + ib); if (...
45,051
public static boolean isJustified(Context c, Element containing_block) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align != null && text_align.equals("justify")) { return true; } return false; }
public static boolean isJustified(Context c, Element containing_block) { String text_align = c.css.getStyle(containing_block).getStringProperty(CSSName.TEXT_ALIGN); if (text_align != null && text_align.equals("justify")) { return true; } return false; }
45,052
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); inspector = new D...
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); inspector = new D...
45,053
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); int width = 360; int height = 500; panel.setPreferredSize( new Dimension( width, height ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( ...
45,054
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
45,055
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
*/ */ */ */ public*/ HTMLTest(*/ String[]*/ args*/ )*/ */ */ */ */ */ */ */ throws*/ Exception*/ {*/ */ */ */ */ */ */ */ super(*/ BASE_TITLE*/ );*/ */ */ */ */ */ */ */ panel*/ =*/ new*/ XHTMLPanel();*/ */ */ */ */ */ */ */ panel.setPreferredSize(*/ new*/ Dimension(*/ text_width,*/ text_width*/ )*/ );*/ */ */ */ */ */...
45,056
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
/* /* /* /* public/* HTMLTest(/* String[]/* args/* )/* /* /* /* /* /* /* /* throws/* Exception/* {/* /* /* /* /* /* /* /* super(/* BASE_TITLE/* );/* /* /* /* /* /* /* /* panel/* =/* new/* XHTMLPanel();/* /* /* /* /* /* /* /* panel.setPreferredSize(/* new/* Dimension(/* text_width,/* text_width/* )/* );/* /* /* /* /* /*...
45,057
public HTMLTest( String[] args ) throws Exception { super( BASE_TITLE ); panel = new XHTMLPanel(); panel.setPreferredSize( new Dimension( text_width, text_width ) ); JScrollPane scroll = new JScrollPane( panel ); scroll.setVerticalScrollBarPolicy( scroll.VERTICAL_SCROLLBAR_...
*/ */ */ */ public*/ HTMLTest(*/ String[]*/ args*/ )*/ */ */ */ */ */ */ */ throws*/ Exception*/ {*/ */ */ */ */ */ */ */ super(*/ BASE_TITLE*/ );*/ */ */ */ */ */ */ */ panel*/ =*/ new*/ XHTMLPanel();*/ */ */ */ */ */ */ */ panel.setPreferredSize(*/ new*/ Dimension(*/ text_width,*/ text_width*/ )*/ );*/ */ */ */ */ */...
45,058
public static void main( String[] args ) throws Exception { final JFrame frame = new HTMLTest( args ); frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); frame.pack(); frame.setSize( text_width, 300 ); frame.show(); }
public static void main( String[] args ) throws Exception { final JFrame frame = new HTMLTest( args ); frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); frame.pack(); frame.show(); }
45,059
public void setSmoothingLevel( int level );
public void setSmoothingLevel( int level );
45,060
public void setUp() throws Exception { super.setUp(); ms = new PagingMessageStore("shared-in-memory-store"); jchannel = new JChannel(JGroupsUtil.generateProperties(50, 1)); jchannel2 = new JChannel(JGroupsUtil.generateProperties(900000, 1)); jchannel3 = new JChannel(JGroupsUtil.generatePro...
public void setUp() throws Exception { super.setUp(); ms = new SimpleMessageStore("shared-in-memory-store"); jchannel = new JChannel(JGroupsUtil.generateProperties(50, 1)); jchannel2 = new JChannel(JGroupsUtil.generateProperties(900000, 1)); jchannel3 = new JChannel(JGroupsUtil.generatePro...
45,061
public RpcServer(String name) { this.name = name; servers = new HashMap(); }
public RpcServer() { this.name = name; servers = new HashMap(); }
45,062
public RpcServer(String name) { this.name = name; servers = new HashMap(); }
public RpcServer(String name) { this.name = name; servers = new HashMap(); }
45,063
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.referenc...
45,064
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
45,065
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.referenc...
45,066
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
public void load() throws Exception { List refs = pm.messageRefs(storeID, channelID); Set ids = new HashSet(); Iterator iter = refs.iterator(); while (iter.hasNext()) { String messageID = (String)iter.next(); MessageReference ref = messageStore.getRefer...
45,067
public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { throw ...
public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { throw ...
45,069
public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { throw ...
public void add(MessageReference ref, Transaction tx) throws Throwable { if (log.isTraceEnabled()) { log.trace("adding " + ref + (tx == null ? " non-transactionally" : " in transaction: " + tx)); } if (tx == null) { if (ref.isReliable() && !acceptReliableMessages) { throw ...
45,070
public AbstractButton() { init("", null); updateUI(); }
public AbstractButton() { actionListener = createActionListener(); changeListener = createChangeListener(); itemListener = createItemListener(); horizontalAlignment = CENTER; horizontalTextPosition = TRAILING; verticalAlignment = CENTER; verticalTextPosition = CENTER; borderPainted = true; contentAreaFilled = tr...
45,071
public int getMnemonic() { return getModel().getMnemonic(); }
public int getMnemonic() { ButtonModel mod = getModel(); if (mod != null) return mod.getMnemonic(); return -1; }
45,072
protected void init(String text, Icon icon) { // If text is null, we fall back to the empty // string (which is set using AbstractButton's // constructor). // This way the behavior of the JDK is matched. if(text != null) this.text = text; if (icon != null) default_icon = icon; actionListene...
protected void init(String text, Icon icon) { // If text is null, we fall back to the empty // string (which is set using AbstractButton's // constructor). // This way the behavior of the JDK is matched. if(text != null) this.text = text; if (icon != null) default_icon = icon; actionListene...
45,073
public boolean isSelected() { return getModel().isSelected(); }
public boolean isSelected() { ButtonModel mod = getModel(); if (mod != null) return mod.isSelected(); return false; }
45,074
public void setEnabled(boolean b) { super.setEnabled(b); getModel().setEnabled(b); }
public void setEnabled(boolean b) { super.setEnabled(b); ButtonModel mod = getModel(); if (mod != null) mod.setEnabled(b); }
45,076
public void setSelected(boolean s) { getModel().setSelected(s); }
public void setSelected(boolean s) { ButtonModel mod = getModel(); if (mod != null) mod.setSelected(s); }
45,077
public Node addFirst(Object object) { DequeNode node = new DequeNode(object, null, head); if (head != null) { head.prev = node; } head = node; if (tail == null) { tail = node; } return node; }
public boolean addFirst(Object object) { DequeNode node = new DequeNode(object, null, head); if (head != null) { head.prev = node; } head = node; if (tail == null) { tail = node; } return node; }
45,078
public Node addFirst(Object object) { DequeNode node = new DequeNode(object, null, head); if (head != null) { head.prev = node; } head = node; if (tail == null) { tail = node; } return node; }
public Node addFirst(Object object) { DequeNode node = new DequeNode(object, null, head); if (head != null) { head.prev = node; } head = node; if (tail == null) { tail = node; } return tail == node; }
45,079
public Node addLast(Object object) { DequeNode node = new DequeNode(object, tail, null); if (tail != null) { tail.next = node; } tail = node; if (head == null) { head = node; } return node; }
public boolean addLast(Object object) { DequeNode node = new DequeNode(object, tail, null); if (tail != null) { tail.next = node; } tail = node; if (head == null) { head = node; } return node; }
45,080
public Node addLast(Object object) { DequeNode node = new DequeNode(object, tail, null); if (tail != null) { tail.next = node; } tail = node; if (head == null) { head = node; } return node; }
public Node addLast(Object object) { DequeNode node = new DequeNode(object, tail, null); if (tail != null) { tail.next = node; } tail = node; if (head == null) { head = node; } return head == node; }
45,081
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messages = new ConcurrentHashMap(); log.debug(this + " initialized"); }
public InMemoryMessageStore(Serializable storeID) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messages = new ConcurrentHashMap(); log.debug(this + " initialized"); }
45,082
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messages = new ConcurrentHashMap(); log.debug(this + " initialized"); }
public InMemoryMessageStore(Serializable storeID, boolean acceptReliableMessages) { this.storeID = storeID; this.acceptReliableMessages = acceptReliableMessages; messages = new ConcurrentHashMap(); log.debug(this + " initialized"); }
45,083
public MessageReference reference(Message m) { if (m.isReliable() && !acceptReliableMessages) { throw new IllegalStateException(this + " does not accept reliable messages (" + m + ")"); } if (log.isTraceEnabled()) { log.trace(this + " referencing " + m); } MessageHolder...
public MessageReference reference(Message m) { if (m.isReliable() && !acceptReliableMessages) { throw new IllegalStateException(this + " does not accept reliable messages (" + m + ")"); } if (trace) { log.trace(this + " referencing " + m); } MessageHolder holder = (Mess...
45,084
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { // Sanity check if (!(in instanceof ObjectInputStream)) { log.error("in is a " + in.getClass()); throw new IllegalStateException("InputStream must be an ObjectInputStream"); } ObjectInp...
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { // Sanity check if (!(in instanceof ObjectInputStream)) { log.error("in is a " + in.getClass()); throw new IllegalStateException("InputStream must be an ObjectInputStream"); } ObjectInp...
45,085
public Box layoutChildren(Context c, Box box) { /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, ri...
public Box layoutChildren(Context c, Box box) { /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, ri...
45,088
public Box layoutChildren(Context c, Box box) { /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, ri...
public Box layoutChildren(Context c, Box box) { /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ List contentList = box.content.getChildContent(c); if (contentList.size() == 0) return box;//we can do this if there is no content, ri...
45,089
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, Box block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.margin.r...
45,090
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
45,091
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
45,092
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
public static void layoutContent(Context c, Box box, List contentList, BlockBox block) { Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; bounds.width -= box.margin.left + box.border.left + box.padding.left + box.padding.right + box.border.right + box.marg...
45,093
private static void saveLine(LineBox line_to_save, CalculatedStyle style, LineBox prev_line, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, style, line_to_save, width, x, l...
private static void saveLine(LineBox line_to_save, CalculatedStyle style, LineBox prev_line, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, style, line_to_save, width, x, l...
45,095
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); labelPos = GraphConstants.getLabelPosition(edge.getAttributes()); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getForeground(edge.getAttributes()).getRGB(); CustomE...
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); EdgeView view = (EdgeView)graph.getGraphLayoutCache().getMapping(edge, false); labelPos = view.getLabelPosition(); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getFore...
45,097
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); labelPos = GraphConstants.getLabelPosition(edge.getAttributes()); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getForeground(edge.getAttributes()).getRGB(); CustomE...
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); labelPos = GraphConstants.getLabelPosition(edge.getAttributes()); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getForeground(edge.getAttributes()).getRGB(); CustomE...
45,098
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); labelPos = GraphConstants.getLabelPosition(edge.getAttributes()); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getForeground(edge.getAttributes()).getRGB(); CustomE...
public ResultPosition(WorkflowGraph graph, ResultEdge edge) { id = edge.getDescriptor().getId(); labelPos = GraphConstants.getLabelPosition(edge.getAttributes()); lineWidth = GraphConstants.getLineWidth(edge.getAttributes()); color = GraphConstants.getForeground(edge.getAttributes()).getRGB(); CustomE...
45,099
public Point getLabelPosition() { return labelPos; }
public Point2D getLabelPosition() { return labelPos; }
45,100
public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color...
public void writeXML(PrintWriter writer, int indent) { XMLUtil.printIndent(writer, indent); StringBuffer buf = new StringBuffer(); buf.append("<connector "); buf.append("id=\"").append(id).append('\"'); buf.append(" linewidth=\"").append(lineWidth).append('\"'); buf.append(" color=\"").append(color...
45,101
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
45,102
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
45,103
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
public void testNonRecoverableMessageStore_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, non...
45,104
public void testNonRecoverableMessageStore_1_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, n...
public void testNonRecoverableMessageStore_1_1() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // non-recoverable store, n...
45,105
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
45,106
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
public void testNonRecoverableMessageStore_2() throws Exception {if (ms.isRecoverable()){ // we only test non-recoverable message stores return;}Message[] m = new Message[NUMBER_OF_MESSAGES];MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES];for(int i = 0; i < NUMBER_OF_MESSAGES; i++ ){ m[i] ...
45,107
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
public void testNonRecoverableMessageStore_2() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(i...
45,108
public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
45,109
public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
public void testNonRecoverableMessageStore_4() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
45,110
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
45,111
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
45,112
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
public void testNonRecoverableMessageStore_5() throws Exception { if (ms.isRecoverable()) { // we only test non-recoverable message stores return; } if (!ms.acceptReliableMessages()) { // we only test message stores that accept reliable message return; ...
45,113
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
public void testRecoverableMessageStore_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable ...
45,114
public void testRecoverableMessageStore_1_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliabl...
public void testRecoverableMessageStore_1_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", false, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliabl...
45,115
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
45,116
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER...
45,117
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_2() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
45,118
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
45,119
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
public void testRecoverableMessageStore_3() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable m...
45,120
public void testRecoverableMessageStore_3_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable...
public void testRecoverableMessageStore_3_1() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message m = MessageFactory.createMessage("message0", true, 777l, 888l, 9, headers, "payload"); // recoverable store, non-reliable...
45,121
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
45,122
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i = 0; i < NUMBER_OF_MESSAGES; i++ ) { m[i...
45,123
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
public void testRecoverableMessageStore_4() throws Exception { if (!ms.isRecoverable()) { // we only test recoverable message stores return; } Message[] m = new Message[NUMBER_OF_MESSAGES]; MessageReference[] refs = new MessageReference[NUMBER_OF_MESSAGES]; for(int i =...
45,124
public void tearDown() throws Exception { log.debug("starting tear down"); ic.close(); ServerManagement.undeployTopic("Topic"); super.tearDown(); }
public void tearDown() throws Exception { log.debug("starting tear down"); ic.close(); ServerManagement.undeployTopic("Topic"); super.tearDown(); }
45,126
public void testPersistentSendToTopic() throws Exception { Connection pconn = cf.createConnection(); Connection cconn = cf.createConnection(); try { Session ps = pconn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session cs = cconn.createSession(false, Session.AUTO_ACKNOWLEDG...
public void testPersistentSendToTopic() throws Exception { Connection pconn = cf.createConnection(); Connection cconn = cf.createConnection(); try { Session ps = pconn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session cs = cconn.createSession(false, Session.AUTO_ACKNOWLEDG...
45,129
public void testPersistentSendToTopic() throws Exception { Connection pconn = cf.createConnection(); Connection cconn = cf.createConnection(); try { Session ps = pconn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session cs = cconn.createSession(false, Session.AUTO_ACKNOWLEDG...
public void testPersistentSendToTopic() throws Exception { Connection pconn = cf.createConnection(); Connection cconn = cf.createConnection(); try { Session ps = pconn.createSession(false, Session.AUTO_ACKNOWLEDGE); Session cs = cconn.createSession(false, Session.AUTO_ACKNOWLEDG...
45,130
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(1000); p.send(m1); } catch(Exception e) { log.er...
public void run() { try { // this is needed to make sure the main thread has enough time to block Thread.sleep(3000); p.send(m1); } catch(Exception e) { log.er...
45,131
public boolean canInitialize(String workflowName, int initialAction) throws WorkflowException { return canInitialize(workflowName, initialAction, null); }
public boolean canInitialize(String workflowName, int initialAction) { return canInitialize(workflowName, initialAction, null); }
45,132
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,133
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,134
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,135
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,136
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,137
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
public boolean canModifyEntryState(long id, int newState) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); int currentState = entry.getState(); boolean result = false; switch (newState) { case WorkflowEntry.CREATE...
45,138
public int[] getAvailableActions(long id) throws WorkflowException { return getAvailableActions(id, new HashMap()); }
public int[] getAvailableActions(long id) { return getAvailableActions(id, new HashMap()); }
45,139
public List getCurrentSteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findCurrentSteps(id); }
public List getCurrentSteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findCurrentSteps(id); }
45,140
public List getCurrentSteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findCurrentSteps(id); }
public List getCurrentSteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findCurrentSteps(id); } catch (StoreException e) { log.error("Error checking current steps for instance #" + id, e); return Collections.EMPTY_LIST; } }
45,141
public int getEntryState(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findEntry(id).getState(); }
public int getEntryState(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findEntry(id).getState(); }
45,142
public int getEntryState(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findEntry(id).getState(); }
public int getEntryState(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findEntry(id).getState(); } catch (StoreException e) { log.error("Error checking instance state for instance #" + id, e); } return WorkflowEntry.UNKNOWN; }
45,143
public List getHistorySteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findHistorySteps(id); }
public List getHistorySteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findHistorySteps(id); }
45,144
public List getHistorySteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findHistorySteps(id); }
public List getHistorySteps(long id) throws StoreException { WorkflowStore store = getPersistence(); return store.findHistorySteps(id); } catch (StoreException e) { log.error("Error getting history steps for instance #" + id, e); } return Collections.EMPTY_LIST; }
45,145
public PropertySet getPropertySet(long id) throws StoreException { PropertySet ps = getPersistence().getPropertySet(id); return ps; }
public PropertySet getPropertySet(long id) throws StoreException { PropertySet ps = getPersistence().getPropertySet(id); return ps; }
45,146
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,147
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,148
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,149
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,150
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,151
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,152
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,153
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,154
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
public List getSecurityPermissions(long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); Map transientVars = ne...
45,155