bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String stepIdString = (String) args.get("stepId"); WorkflowEntry entry = (WorkflowEntry) transientVars.get("entry"); WorkflowContext context = (WorkflowContext) transientVars.get("context"); ...
public boolean passesCondition(Map transientVars, Map args, PropertySet ps) throws WorkflowException { String stepIdString = (String) args.get("stepId"); WorkflowEntry entry = (WorkflowEntry) transientVars.get("entry"); WorkflowContext context = (WorkflowContext) transientVars.get("context"); ...
29,967
private static float adjustWidth(float parentWidth, Context c) { CalculatedStyle style = c.getCurrentStyle(); boolean hasSpecifiedWidth = !style.isIdent(CSSName.WIDTH, IdentValue.AUTO); if (hasSpecifiedWidth) { return style.getFloatPropertyProportionalWidth(CSSName.WIDTH, parentWidth...
private static float adjustWidth(float parentWidth, Context c) { CalculatedStyle style = c.getCurrentStyle(); boolean hasSpecifiedWidth = !style.isIdent(CSSName.WIDTH, IdentValue.AUTO); if (hasSpecifiedWidth) { return style.getFloatPropertyProportionalWidth(CSSName.WIDTH, parentWidth...
29,968
private static float adjustWidth(float parentWidth, Context c) { CalculatedStyle style = c.getCurrentStyle(); boolean hasSpecifiedWidth = !style.isIdent(CSSName.WIDTH, IdentValue.AUTO); if (hasSpecifiedWidth) { return style.getFloatPropertyProportionalWidth(CSSName.WIDTH, parentWidth...
private static float adjustWidth(float parentWidth, Context c) { CalculatedStyle style = c.getCurrentStyle(); boolean hasSpecifiedWidth = !style.isIdent(CSSName.WIDTH, IdentValue.AUTO); if (hasSpecifiedWidth) { return style.getFloatPropertyProportionalWidth(CSSName.WIDTH, parentWidth...
29,969
private static boolean hasBottomBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.bottom != 0 || (int)padding.bottom() !=...
private static boolean hasBottomBorderOrPadding(Context c, float parentWidth) { BorderPropertySet width = c.getCurrentStyle().getBorder(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.bottom != 0 || (int)padding.botto...
29,970
private static boolean hasBottomBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.bottom != 0 || (int)padding.bottom() !=...
private static boolean hasBottomBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return (int)width.bottom() != 0 || (int)padding.bott...
29,971
private static boolean hasNoBordersPaddingOrHeight(Context c, float parentWidth) { CalculatedStyle style = c.getCurrentStyle(); Border borderWidth = style.getBorderWidth(c.getCtx()); RectPropertySet padding = style.getPaddingRect(parentWidth, parentWidth, c.getCtx()); return borderWidth....
private static boolean hasNoBordersPaddingOrHeight(Context c, float parentWidth) { CalculatedStyle style = c.getCurrentStyle(); BorderPropertySet borderWidth = style.getBorder(c.getCtx()); RectPropertySet padding = style.getPaddingRect(parentWidth, parentWidth, c.getCtx()); return border...
29,972
private static boolean hasNoBordersPaddingOrHeight(Context c, float parentWidth) { CalculatedStyle style = c.getCurrentStyle(); Border borderWidth = style.getBorderWidth(c.getCtx()); RectPropertySet padding = style.getPaddingRect(parentWidth, parentWidth, c.getCtx()); return borderWidth....
private static boolean hasNoBordersPaddingOrHeight(Context c, float parentWidth) { CalculatedStyle style = c.getCurrentStyle(); Border borderWidth = style.getBorderWidth(c.getCtx()); RectPropertySet padding = style.getPaddingRect(parentWidth, parentWidth, c.getCtx()); return (int)borderW...
29,973
private static boolean hasTopBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.top != 0 || (int)padding.top() != 0; }
private static boolean hasTopBorderOrPadding(Context c, float parentWidth) { BorderPropertySet width = c.getCurrentStyle().getBorder(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.top != 0 || (int)padding.top() != 0;...
29,974
private static boolean hasTopBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return width.top != 0 || (int)padding.top() != 0; }
private static boolean hasTopBorderOrPadding(Context c, float parentWidth) { Border width = c.getCurrentStyle().getBorderWidth(c.getCtx()); RectPropertySet padding = c.getCurrentStyle().getPaddingRect(parentWidth, parentWidth, c.getCtx()); return (int)width.top() != 0 || (int)padding.top() != 0...
29,975
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (!style.isIdent(CSSName.RIGHT, IdentValue.AUTO)) { ...
29,976
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
29,977
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
29,978
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (style.hasProperty(CSSName.RIGHT)) { left...
29,979
public int getOffset() { // Check precondition. assert mark <= gapStart || mark > gapEnd : "mark: " + mark + ", gapStart: " + gapStart + ", gapEnd: " + gapEnd; if (mark <= gapStart) return mark; ...
public int getOffset() { // Check precondition. assert mark <= gapStart || mark >= gapEnd : "mark: " + mark + ", gapStart: " + gapStart + ", gapEnd: " + gapEnd; if (mark <= gapStart) return mark; ...
29,980
protected void replace(int position, int rmSize, Object addItems, int addSize) { // Remove content shiftGap(position); shiftGapEndUp(gapEnd + rmSize); // If gap is too small, enlarge the gap. if ((gapEnd - gapStart) <= addSize) shiftEnd((addSize - gapEnd + gapStart + 1) * ...
protected void replace(int position, int rmSize, Object addItems, int addSize) { // Remove content if (rmSize > 0) shiftGapEndUp(gapEnd + rmSize); // If gap is too small, enlarge the gap. if ((gapEnd - gapStart) <= addSize) shiftEnd((addSize - gapEnd + gapStart + 1) * 2 + ...
29,981
protected void shiftEnd(int newSize) { assert newSize > (gapEnd - gapStart) : "The new gap size must be greater " + "than the old gap size"; int delta = newSize - gapEnd + gapStart; // Update the marks after the gapEnd. Vector v = getPositionsInRange(null, gapEnd...
protected void shiftEnd(int newSize) { assert newSize > (gapEnd - gapStart) : "The new gap size must be greater " + "than the old gap size"; int delta = newSize - gapEnd + gapStart; // Update the marks after the gapEnd. Vector v = getPositionsInRange(null, gapEnd...
29,982
protected void shiftGap(int newGapStart) { if (newGapStart == gapStart) return; int newGapEnd = newGapStart + gapEnd - gapStart; if (newGapStart < gapStart) { // Update the positions between newGapStart and (old) gapStart. The marks // must be shifted by (gapEnd - gapStart). V...
protected void shiftGap(int newGapStart) { if (newGapStart == gapStart) return; int newGapEnd = newGapStart + gapEnd - gapStart; if (newGapStart < gapStart) { // Update the positions between newGapStart and (old) gapStart. The marks // must be shifted by (gapEnd - gapStart). V...
29,983
protected void shiftGap(int newGapStart) { if (newGapStart == gapStart) return; int newGapEnd = newGapStart + gapEnd - gapStart; if (newGapStart < gapStart) { // Update the positions between newGapStart and (old) gapStart. The marks // must be shifted by (gapEnd - gapStart). V...
protected void shiftGap(int newGapStart) { if (newGapStart == gapStart) return; int newGapEnd = newGapStart + gapEnd - gapStart; if (newGapStart < gapStart) { // Update the positions between newGapStart and (old) gapStart. The marks // must be shifted by (gapEnd - gapStart). V...
29,984
protected void shiftGapEndUp(int newGapEnd) { if (newGapEnd == gapEnd) return; assert newGapEnd > gapEnd : "The new gap end must be greater than the " + "old gap end."; Vector v = getPositionsInRange(null, gapEnd, newGapEnd - gapEnd); for (Iterator i = v.iterator(); i....
protected void shiftGapEndUp(int newGapEnd) { if (newGapEnd == gapEnd) return; assert newGapEnd > gapEnd : "The new gap end must be greater than the " + "old gap end."; Vector v = getPositionsInRange(null, gapEnd, newGapEnd - gapEnd); for (Iterator i = v.iterator(); i....
29,986
protected void shiftGapStartDown(int newGapStart) { if (newGapStart == gapStart) return; assert newGapStart < gapStart : "The new gap start must be less than the " + "old gap start."; Vector v = getPositionsInRange(null, newGapStart, gapStart - newGapStart); for (I...
protected void shiftGapStartDown(int newGapStart) { if (newGapStart == gapStart) return; assert newGapStart < gapStart : "The new gap start must be less than the " + "old gap start."; Vector v = getPositionsInRange(null, newGapStart, gapStart - newGapStart); for (I...
29,987
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new Tre...
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (selectionMode == SINGLE_TREE_SELECTION || isSelectionEmpty() || ! canPathBeAdded(path)) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, select...
29,988
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new Tre...
public void addSelectionPath(TreePath path) { if (! isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new Tre...
29,989
public void addSelectionPaths(TreePath[] paths) { // Must be called, as defined in JDK API 1.4. insureUniqueness(); if (paths != null) { TreePath v0 = null; for (int i = 0; i < paths.length; i++) { v0 = paths[i]; if (! isPathSelected(v0)) { if (isSelectionEmpty()) setSelect...
public void addSelectionPaths(TreePath[] paths) { // Must be called, as defined in JDK API 1.4. insureUniqueness(); if (paths != null) { TreePath v0 = null; for (int i = 0; i < paths.length; i++) { v0 = paths[i]; if (! isPathSelected(v0)) { if (isSelectionEmpty()) setSelect...
29,990
protected boolean arePathsContiguous(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean arePathsContiguous(TreePath[] paths) { return false; // STUB }
29,992
protected boolean arePathsContiguous(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean arePathsContiguous(TreePath[] paths) throws NotImplementedException { if (rowMapper == null || paths.length < 2) return true; int[] rows = rowMapper.getRowsForPaths(paths); Arrays.sort(rows); for (int i = 1; i < rows.length; i++) { if (rows[i-1] != rows[i] - 1) return false; } return true;...
29,993
protected boolean canPathsBeAdded(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean canPathsBeAdded(TreePath[] paths) { return false; // STUB }
29,994
protected boolean canPathsBeAdded(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean canPathsBeAdded(TreePath[] paths) throws NotImplementedException { if (rowMapper == null || isSelectionEmpty() || selectionMode == DISCONTIGUOUS_TREE_SELECTION) return true; TreePath [] all = new TreePath[paths.length + selection.length]; System.arraycopy(paths, 0, all, 0, paths.length); Syst...
29,995
protected boolean canPathsBeRemoved(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean canPathsBeRemoved(TreePath[] paths) { return false; // STUB }
29,996
protected boolean canPathsBeRemoved(TreePath[] paths) throws NotImplementedException { return false; // STUB }
protected boolean canPathsBeRemoved(TreePath[] paths) throws NotImplementedException { if (rowMapper == null || isSelectionEmpty() || selectionMode == DISCONTIGUOUS_TREE_SELECTION) return true; HashSet set = new HashSet(); for (int i = 0; i < selection.length; i++) set.add(selection[i]); for (int i = 0; i < p...
29,997
public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return - 1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; }
public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return - 1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; }
30,000
protected void insureRowContinuity() throws NotImplementedException { // TODO }
protected void insureRowContinuity() { // TODO }
30,001
public boolean isRowSelected(int row) throws NotImplementedException { return false; // TODO }
public boolean isRowSelected(int row) { return false; // TODO }
30,003
public boolean isRowSelected(int row) throws NotImplementedException { return false; // TODO }
public boolean isRowSelected(int row) throws NotImplementedException { if (isSelectionEmpty()) return false; RowMapper mapper = getRowMapper(); if (mapper instanceof AbstractLayoutCache) { AbstractLayoutCache ama = (AbstractLayoutCache) mapper; TreePath path = ama.getPathForRow(row); return isPathSelected(path)...
30,004
protected void notifyPathChange(Vector value0, TreePath value1) throws NotImplementedException { // STUB }
protected void notifyPathChange(Vector value0, TreePath value1) throws NotImplementedException { // STUB }
30,005
public void removeSelectionPath(TreePath path) { int index = - 1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0...
public void removeSelectionPath(TreePath path) { int index = - 1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0...
30,007
public void removeSelectionPaths(TreePath[] paths) { if (paths != null) { int index = - 1; TreePath v0 = null; for (int i = 0; i < paths.length; i++) { v0 = paths[i]; if (isPathSelected(v0)) { for (int x = 0; x < selection.length; x++) { if (selection[i].equals(v0)) { i...
public void removeSelectionPaths(TreePath[] paths) { if (paths != null) { int index = - 1; TreePath v0 = null; for (int i = 0; i < paths.length; i++) { v0 = paths[i]; if (isPathSelected(v0)) { for (int x = 0; x < selection.length; x++) { if (selection[i].equals(v0)) { i...
30,008
public void resetRowSelection() throws NotImplementedException { // TODO }
public void resetRowSelection() { // TODO }
30,010
public void setSelectionPaths(TreePath[] paths) throws NotImplementedException { // Must be called, as defined in JDK API 1.4. insureUniqueness(); // TODO }
public void setSelectionPaths(TreePath[] paths) { // Must be called, as defined in JDK API 1.4. insureUniqueness(); // TODO }
30,013
public String toString() throws NotImplementedException { return null; // TODO }
public String toString() { return null; // TODO }
30,015
public String toString() throws NotImplementedException { return null; // TODO }
public String toString() throws NotImplementedException { if (isSelectionEmpty()) return "[selection empty]"; else { StringBuffer b = new StringBuffer("selected rows: ["); for (int i = 0; i < selection.length; i++) { b.append(getRow(selection[i])); b.append(' '); } b.append(", lead "+getLeadSelectionRow()); return ...
30,016
protected void updateLeadIndex() throws NotImplementedException { // STUB }
protected void updateLeadIndex() { // STUB }
30,017
public static void sort(Object[] a) { sort(a, 0, a.length, null); }
public static void sort(byte[] a) { sort(a, 0, a.length, null); }
30,019
public static void sort(Object[] a) { sort(a, 0, a.length, null); }
public static void sort(Object[] a) { qsort(a, 0, a.length); }
30,020
public Name add(String comp) throws InvalidNameException;
Name add(String comp) throws InvalidNameException;
30,021
public Name addAll(Name suffix) throws InvalidNameException;
Name addAll(Name suffix) throws InvalidNameException;
30,022
public int compareTo(Object obj);
int compareTo(Object obj);
30,023
public boolean endsWith(Name name);
boolean endsWith(Name name);
30,024
public Enumeration getAll();
Enumeration getAll();
30,025
public Name getPrefix(int i);
Name getPrefix(int i);
30,026
public Name getSuffix(int i);
Name getSuffix(int i);
30,027
public boolean isEmpty();
boolean isEmpty();
30,028
public Object remove(int posn) throws InvalidNameException;
Object remove(int posn) throws InvalidNameException;
30,029
public boolean startsWith(Name name);
boolean startsWith(Name name);
30,030
public void run() { try { QueueBrowser browser = sess.createBrowser((Queue)dest, selector); int count = 0; Iterator iter = Collections.list(browser.getEnumeration()).iterator(); while (count < numMessa...
public void run() { try { QueueBrowser browser = sess.createBrowser((Queue)dest, selector); int count = 0; Iterator iter = Collections.list(browser.getEnumeration()).iterator(); while (count < numMessa...
30,031
void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St...
void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St...
30,032
void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St...
void checkProperty(String name, Object value) throws JMSException { if (name == null) throw new IllegalArgumentException("The name of a property must not be null."); if (name.equals("")) throw new IllegalArgumentException("The name of a property must not be an empty String."); if (St...
30,033
public void clearBody() throws JMSException { this.messageReadWrite = true; }
public void clearBody() throws JMSException { }
30,034
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); type = readString(in); messageReadWrite = in.readBoolean(); properties = readM...
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { super.readExternal(in); destination = (Destination) in.readObject(); replyToDestination = (Destination) in.readObject(); type = readString(in); propertiesWritable = in.readBoolean(); properties = rea...
30,036
public void setBooleanProperty(String name, boolean value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Boolean b = Primitives.valueOf(value); checkProperty(name, b); properties.put(name, b); }
public void setBooleanProperty(String name, boolean value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Boolean b = Primitives.valueOf(value); checkProperty(name, b); properties.put(name, b); }
30,037
public void setByteProperty(String name, byte value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Byte b = new Byte(value); checkProperty(name, b); properties.put(name, b); }
public void setByteProperty(String name, byte value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Byte b = new Byte(value); checkProperty(name, b); properties.put(name, b); }
30,038
public void setDoubleProperty(String name, double value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Double d = new Double(value); checkProperty(name, d); properties.put(name, d); }
public void setDoubleProperty(String name, double value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Double d = new Double(value); checkProperty(name, d); properties.put(name, d); }
30,039
public void setFloatProperty(String name, float value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Float f = new Float(value); checkProperty(name, f); properties.put(name, f); }
public void setFloatProperty(String name, float value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Float f = new Float(value); checkProperty(name, f); properties.put(name, f); }
30,040
public void setIntProperty(String name, int value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Integer i = new Integer(value); checkProperty(name, i); properties.put(name, i); }
public void setIntProperty(String name, int value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Integer i = new Integer(value); checkProperty(name, i); properties.put(name, i); }
30,041
public void setLongProperty(String name, long value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Long l = new Long(value); checkProperty(name, l); properties.put(name, l); }
public void setLongProperty(String name, long value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Long l = new Long(value); checkProperty(name, l); properties.put(name, l); }
30,042
public void setObjectProperty(String name, Object value) throws JMSException { if (!messageReadWrite) { throw new MessageNotWriteableException("Properties are read-only"); } checkProperty(name, value); if (value instanceof Boolean) { properties.put(name, value); }...
public void setObjectProperty(String name, Object value) throws JMSException { if (!propertiesWritable) { throw new MessageNotWriteableException("Properties are read-only"); } checkProperty(name, value); if (value instanceof Boolean) { properties.put(name, value); ...
30,043
public void setShortProperty(String name, short value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); Short s = new Short(value); checkProperty(name, s); properties.put(name, s); }
public void setShortProperty(String name, short value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); Short s = new Short(value); checkProperty(name, s); properties.put(name, s); }
30,044
public void setStringProperty(String name, String value) throws JMSException { if (!messageReadWrite) throw new MessageNotWriteableException("Properties are read-only"); checkProperty(name, value); this.properties.put(name, value); }
public void setStringProperty(String name, String value) throws JMSException { if (!propertiesWritable) throw new MessageNotWriteableException("Properties are read-only"); checkProperty(name, value); this.properties.put(name, value); }
30,045
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, type); out.writeBoolean(messageReadWrite); //do we really need to write this?? writeMap(out, properties); ...
public void writeExternal(ObjectOutput out) throws IOException { super.writeExternal(out); out.writeObject(destination); out.writeObject(replyToDestination); writeString(out, type); out.writeBoolean(propertiesWritable); //do we really need to write this?? writeMap(out, properties); ...
30,046
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,047
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,048
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,049
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,050
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,051
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,052
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,053
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,054
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,055
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,056
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,057
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,058
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,059
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,060
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,061
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,062
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
protected void init(Element root) { NodeList children = root.getChildNodes(); for (int i = 0; i < children.getLength(); i++) { Node child = (Node) children.item(i); if (child.getNodeName().equals("meta")) { Element meta = (Element) child; String valu...
30,063
private void validateDTD() throws InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw); wr...
private void validateDTD() throws InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw); wr...
30,064
private void validateDTD() throws InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw); wr...
private void validateDTD() throws InvalidWorkflowDescriptorException { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setNamespaceAware(true); dbf.setValidating(true); StringWriter sw = new StringWriter(); PrintWriter writer = new PrintWriter(sw); wr...
30,065
protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID...
protected static void postDeliver(SessionDelegate sess, String receiverID, Message m, boolean isConnectionConsumer) { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { s...
30,066
protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID...
protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session try { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID); } }
30,067
protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.postDeliver(m.getJMSMessageID(), receiverID...
protected void postDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { if (!isConnectionConsumer) { sess.postDeliver(m.getJMSMessa...
30,068
protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID);...
protected static void preDeliver(SessionDelegate sess, String receiverID, Message m, boolean isConnectionConsumer) { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { se...
30,070
protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID);...
protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session try { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID); } }
30,071
protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { sessionDelegate.preDeliver(m.getJMSMessageID(), receiverID);...
protected void preDeliver(Message m) throws JMSException { //If this is the callback-handler for a connection consumer we don't want //to acknowledge or add anything to the tx for this session if (!this.isConnectionConsumer) { if (!isConnectionConsumer) { sess.preDeliver(m.getJMSMessage...
30,072
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a close is in operation. ...
30,074
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
30,075
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
30,076
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
30,077
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
public Message receive(long timeout, JMSMethodInvocation jmsmi, Interceptor receiverInt) throws JMSException, InterruptedException { //Since the jms consumer is single threaded, //it shouldn't be possible for a receive to be called when another receive is in operation //or while a c...
30,078
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("blocking to take a message"); } if (!listenerStopping) { ...
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("blocking to take a message"); } if (!stopping) { ...
30,079
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("blocking to take a message"); } if (!listenerStopping) { ...
public void run() { if (log.isTraceEnabled()) { log.trace("listener thread started"); } try { while(true) { if (log.isTraceEnabled()) { log.trace("blocking to take a message"); } if (!listenerStopping) { ...
30,080