bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void visitDAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitDAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,104
public void visitDRegxNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDRegxNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,105
public void visitDRegxOnceNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDRegxOnceNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,106
public void visitDStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,107
public void visitDVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,108
public void visitDXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,109
public void visitDefinedNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDefinedNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,110
public void visitDefnNode(Node iVisited) { visit(iVisited); iVisited.getDefnNode().accept(this); leave(iVisited); }
public void visitDefnNode(Node iVisited) { visit(iVisited); iVisited.getDefnNode().accept(this); leave(iVisited); }
3,230,111
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,112
public void visitDotNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitDotNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,113
public void visitEnsureNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitEnsureNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,114
public void visitEvStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitEvStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,115
public void visitFBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitFBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,116
public void visitFCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitFCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,117
public void visitFalseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitFalseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,118
public void visitForNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitForNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,119
public void visitGAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitGAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,120
public void visitGVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitGVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,121
public void visitHashNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitHashNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,122
public void visitIAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitIAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,123
public void visitIFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitIFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,124
public void visitIVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitIVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,125
public void visitIfNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitIfNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,126
public void visitIterNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitIterNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,127
public void visitLAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitLAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,128
public void visitLVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitLVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,129
public void visitLitNode(Node iVisited) { visit(iVisited, false); }
public void visitLitNode(Node iVisited) { visit(iVisited, false); }
3,230,130
public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,131
public void visitMatch2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitMatch2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,132
public void visitMatch3Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitMatch3Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,133
public void visitMatchNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitMatchNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,134
public void visitMethodNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitMethodNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,135
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,136
public void visitNewlineNode(Node iVisited) { visit(iVisited); iVisited.getNextNode().accept(this); leave(iVisited); }
public void visitNewlineNode(Node iVisited) { visit(iVisited); iVisited.getNextNode().accept(this); leave(iVisited); }
3,230,137
public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,138
public void visitNilNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNilNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,139
public void visitNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,140
public void visitNodeFactory(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNodeFactory(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,141
public void visitNotNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNotNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,142
public void visitNthRefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitNthRefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,143
public void visitOpAsgn1Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitOpAsgn1Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,144
public void visitOpAsgn2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitOpAsgn2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,145
public void visitOpAsgnAndNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitOpAsgnAndNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,146
public void visitOpAsgnOrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitOpAsgnOrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,147
public void visitOptNNode(Node iVisited) { visit(iVisited); iVisited.getBodyNode().accept(this); leave(iVisited); }
public void visitOptNNode(Node iVisited) { visit(iVisited); iVisited.getBodyNode().accept(this); leave(iVisited); }
3,230,148
public void visitOrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitOrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,149
public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,150
public void visitRedoNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitRedoNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,151
public void visitRescueBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitRescueBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,152
public void visitRescueNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitRescueNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,153
public void visitRestArgsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitRestArgsNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,154
public void visitRetryNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitRetryNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,155
public void visitReturnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitReturnNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,156
public void visitSClassNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitSClassNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,157
public void visitScopeNode(Node iVisited) { visit(iVisited); //FIXME: I don't have any idea of what is a CRef or what it is for Node lRefValue = iVisited.getRefValue(); if (lRefValue != null) lRefValue.accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited);...
public void visitScopeNode(Node iVisited) { visit(iVisited); //FIXME: I don't have any idea of what is a CRef or what it is for Node lRefValue = iVisited.getRefValue(); if (lRefValue != null) lRefValue.accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited);...
3,230,158
public void visitSelfNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitSelfNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,159
public void visitStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,160
public void visitSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,161
public void visitTrueNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitTrueNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,162
public void visitUndefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitUndefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,163
public void visitUntilNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitUntilNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,164
public void visitVAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitVAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,165
public void visitVCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitVCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,166
public void visitWhenNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitWhenNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,167
public void visitWhileNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitWhileNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,168
public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,169
public void visitYieldNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitYieldNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,170
public void visitZArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitZArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,171
public void visitZSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitZSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,172
private void initComponents() { cancelButton = new JButton("Cancel"); formatButton(cancelButton, 'C', CANCEL_TOOLTIP); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { close(); } }); sendButton = new JButton("Send"); formatButton(sendButton, 'S', SEND_TOOLT...
private void initComponents() { cancelButton = new JButton("Cancel"); formatButton(cancelButton, 'C', CANCEL_TOOLTIP); cancelButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { close(); } }); sendButton = new JButton("Send"); formatButton(sendButton, 'S', SEND_TOOLT...
3,230,173
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
3,230,175
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
3,230,176
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
public void store() throws IDOStoreException{ boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } // if (getRequestedStatus() !...
3,230,177
public final static Macro createMacro(Object wrapMe) throws BuildException { if (wrapMe == null) { throw new BuildException("Bug in WM: attempt to write null"); } if (wrapMe instanceof Macro) { return (Macro) wrapMe; } else { return new MacroAdapter(wrapMe); }...
public final static Macro createMacro(Object wrapMe, String encoding) throws BuildException { if (wrapMe == null) { throw new BuildException("Bug in WM: attempt to write null"); } if (wrapMe instanceof Macro) { return (Macro) wrapMe; } else { return new MacroAdapte...
3,230,178
public StringMacroAdapter(String wrapMe) { try { _self = wrapMe.getBytes("UTF8"); } catch (Exception e) { e.printStackTrace(); } }
public StringMacroAdapter(String wrapMe, String encoding) { try { _self = wrapMe.getBytes("UTF8"); } catch (Exception e) { e.printStackTrace(); } }
3,230,179
public StringMacroAdapter(String wrapMe) { try { _self = wrapMe.getBytes("UTF8"); } catch (Exception e) { e.printStackTrace(); } }
public StringMacroAdapter(String wrapMe) { try { _self = wrapMe.getBytes(encoding); } catch (Exception e) { e.printStackTrace(); } }
3,230,180
private void drawSelectedButtonFace(Graphics2D g) { GradientPaint gp; gp = new GradientPaint((int) buttonRect.getX(), (int) buttonRect.getY(), gradientEndRGB, (int) buttonRect.getWidth(), (int) buttonRect.getHeight(), gradientStartRGB, false); ...
private void drawSelectedButtonFace(Graphics2D g) { GradientPaint gp; gp = new GradientPaint((int) buttonRect.getX(), (int) buttonRect.getY(), gradientEndRGB, (int) buttonRect.getWidth(), (int) buttonRect.getHeight(), gradientEndRGB, false); ...
3,230,182
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
3,230,183
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
3,230,184
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
private void setGradientColours() { HSV col = new HSV(colour); // top gradient value from HSV model. float topGradientValue = col.getValue(); // bottom gradient value from HSV model. float bottomGradientValue = col.getValue(); // top and bottom gradien...
3,230,185
public IRubyObject rbClone() { IRubyObject newObject = dup(); newObject.initCopy(this); return newObject; }
publicIRubyObjectrbClone(){ IRubyObjectnewObject=dup(); newObject.initCopy(this); returnnewObject; }
3,230,187
public IRubyObject rbClone() { IRubyObject newObject = dup(); newObject.initCopy(this); return newObject; }
publicnewObject.setFrozen(isFrozen()); IRubyObjectnewObject.setFrozen(isFrozen()); rbClone()newObject.setFrozen(isFrozen()); { IRubyObjectnewObject.setFrozen(isFrozen()); newObjectnewObject.setFrozen(isFrozen()); =newObject.setFrozen(isFrozen()); dup(); newObject.initCopy(this); returnnewObject.setFrozen(isFrozen()...
3,230,188
public String getActionName() { if (name == null || name.length() == 0) return System.getProperty(Action.NAME); return name; }
public String getActionName() { if (name == null || name.length() == 0) return (String) getValue(Action.NAME); return name; }
3,230,189
private void adjustSize(float maxWidth) { // find difference between maxWidth and rowWidth; float horizSpace = maxWidth -width; float padding = 0; if (horizSpace > 0) padding = horizSpace/boxes.size(); float boxWidth; Iterator iter = boxes.iterator(); ...
privatevoidadjustSize(floatmaxWidth){ //finddifferencebetweenmaxWidthandrowWidth; floathorizSpace=maxWidth-width; floatpadding=0; if(horizSpace>0) padding=horizSpace/boxes.size(); floatboxWidth; Iteratoriter=boxes.iterator(); ChainBoxbox; floatx=0; while(iter.hasNext()){ box=(ChainBox)iter...
3,230,190
private void adjustSize(float maxWidth) { // find difference between maxWidth and rowWidth; float horizSpace = maxWidth -width; float padding = 0; if (horizSpace > 0) padding = horizSpace/boxes.size(); float boxWidth; Iterator iter = boxes.iterator(); ...
private void adjustSize(float maxWidth) { // find difference between maxWidth and rowWidth; float horizSpace = maxWidth -width; float padding = 0; if (horizSpace > 0) { padding = horizSpace/boxes.size(); float boxWidth; Iterator iter = boxes.iterator(); ...
3,230,191
public void layoutContents() { // the current chain LayoutChainData chain; float maxRowWidth=0; Collection chains = dataManager.getChains(); ArrayList sortedChains = new ArrayList(chains); Collections.sort(sortedChains); Iterator iter = sortedChains.iterator(); int num = chains.size(); // The display ...
public void layoutContents() { // the current chain LayoutChainData chain; float maxRowWidth=0; Collection chains = dataManager.getChains(); ArrayList sortedChains = new ArrayList(chains); Collections.sort(sortedChains); Iterator iter = sortedChains.iterator(); int num = chains.size(); // The display ...
3,230,193
private void placeChain(ChainBox box) { float height = 0; double width = box.getWidth(); height = (float) box.getHeight(); // setup the chain widget // set the row height if this is taller than others in the row. if (height+VGAP>rowHeight) rowHeight = height; if (count >= rowSize && (x+width > maxRo...
private void placeChain(ChainBox box) { float height = 0; double width = box.getWidth(); height = (float) box.getHeight(); // setup the chain widget // set the row height if this is taller than others in the row. if (height+VGAP>rowHeight) rowHeight = height; if (count >= rowSize && (x+width > maxRo...
3,230,195
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Image) { Image i = (Image) obj; if (super.fill(i)) { i.setName(this.getName()); i.setDescription(this.getDescription()); i.setDescri...
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Image) { Image i = (Image) obj; if (super.fill(i)) { i.setName(this.getName()); i.setDescription(this.getDescription()); i.setDescri...
3,230,197
private void selectComponent() { WFComponentSelector componentSelector = (WFComponentSelector) findComponent(COMPONENT_SELECTOR_ID); String headline = WFUtil.getStringValue(ARTICLE_ITEM_BEAN_ID, "headline"); if (componentSelector != null) { if (headline == null || headline.length() == 0) { componentSelector.se...
private void selectComponent() { WFComponentSelector componentSelector = (WFComponentSelector) findComponent(COMPONENT_SELECTOR_ID); String headline = WFUtil.getStringValue(ARTICLE_ITEM_BEAN_ID, "headline"); if (componentSelector != null) { if (headline == null || headline.length() == 0) { componentSelector.se...
3,230,198
private void selectComponent() { WFComponentSelector componentSelector = (WFComponentSelector) findComponent(COMPONENT_SELECTOR_ID); String headline = WFUtil.getStringValue(ARTICLE_ITEM_BEAN_ID, "headline"); if (componentSelector != null) { if (headline == null || headline.length() == 0) { componentSelector.se...
private void selectComponent() { WFComponentSelector componentSelector = (WFComponentSelector) findComponent(COMPONENT_SELECTOR_ID); String headline = WFUtil.getStringValue(ARTICLE_ITEM_BEAN_ID, "headline"); if (componentSelector != null) { if (headline == null || headline.length() == 0) { componentSelector.se...
3,230,199
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { if (i > 0)...
3,230,200
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
3,230,201
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
3,230,202
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
private static String getPath(String prefix, Integer id) { String suffix = ""; Integer remaining = id; Integer dirno = 0; Integer i = 0; if (id == null) throw new NullPointerException("Expecting a not-null id."); while (remaining > 999) { ...
3,230,203
public void testContextToolMethodCall() { assertStringTemplateEquals("$Text.HTMLEncode('&')", "&"); }
public void testContextToolMethodCall() { assertStringTemplateEquals("$Text.HTMLEncode('&')", "&"); }
3,230,204
final public Template get(String fileName, String encoding) { for (int i=0; i < _templateDirectory.length; i++) { Template t; String dir = _templateDirectory[i]; File tFile = new File(dir,fileName); if (tFile.canRead()) { try { t = new FileTemplate(_brok...
final public Template get(String fileName, String encoding) { for (int i=0; i < _templateDirectory.length; i++) { Template t; String dir = _templateDirectory[i]; File tFile = new File(dir,fileName); if (tFile.canRead()) { try { t = new FileTemplate(_brok...
3,230,205
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
} catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); public } catch (EJBException ejbe) { log.warn("Should not be her...
3,230,206
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
} catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); public } catch (EJBException ejbe) { log.warn("Should not be her...
3,230,207
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
} catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); public } catch (EJBException ejbe) { log.warn("Should not be her...
3,230,208
public void testCountingApiExceptions(){ Set ids = Collections.singleton(new Long(1)); // Does not exist try { iPojos.getCollectionCount("DoesNotExist","meNeither",ids,null); fail("An exception should have been thrown"); } catch (ApiUsageException e) { //...
} catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); } catch (EJBException ejbe) { log.warn("Should not be here."); public } catch (EJBException ejbe) { log.warn("Should not be her...
3,230,209