rem
stringlengths 0
477k
| add
stringlengths 0
313k
| context
stringlengths 6
599k
| meta
stringlengths 141
403
|
---|---|---|---|
public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitColon3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitColon3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDAsgnCurrNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | public void visitDAsgnCurrNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | public void visitDAsgnCurrNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitDAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDRegxNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDRegxNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDRegxNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDRegxOnceNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDRegxOnceNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDRegxOnceNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDefinedNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDefinedNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDefinedNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitDefnNode(Node iVisited) { visit(iVisited); iVisited.getDefnNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDefsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitDotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitDotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitEnsureNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitEnsureNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitEnsureNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitEvStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitEvStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitEvStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitFBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitFCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitFalseNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFalseNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitFalseNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitForNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitForNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitForNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitGAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitGVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitGVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitGVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitHashNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitHashNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitHashNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitIAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitIFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitIVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitIfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitIterNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIterNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitIterNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitLAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitLVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitLVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitLVarNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitLitNode(Node iVisited) { visit(iVisited, false); } | public void visitLitNode(Node iVisited) { visit(iVisited, false); } | public void visitLitNode(Node iVisited) { visit(iVisited, false); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMAsgnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitMatch2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatch2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatch2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitMatch3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatch3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatch3Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitMatchNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatchNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMatchNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitMethodNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMethodNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitMethodNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitModuleNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitNewlineNode(Node iVisited) { visit(iVisited); iVisited.getNextNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNextNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNodeFactory(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNodeFactory(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNodeFactory(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNotNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitNthRefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNthRefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitNthRefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitOpAsgn1Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgn1Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgn1Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitOpAsgn2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgn2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgn2Node(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitOpAsgnAndNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgnAndNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgnAndNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitOpAsgnOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgnOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOpAsgnOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
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); } | public void visitOptNNode(Node iVisited) { visit(iVisited); iVisited.getBodyNode().accept(this); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitOrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitPostExeNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitRedoNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRedoNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRedoNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitRescueBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRescueBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRescueBodyNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitRescueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRescueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRescueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitRestArgsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRestArgsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRestArgsNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitRetryNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRetryNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitRetryNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitReturnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitReturnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitReturnNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitSClassNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSClassNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSClassNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitScopeNode(Node iVisited) { visit(iVisited); 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); 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); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitSelfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSelfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSelfNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitTrueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitTrueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitTrueNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitUndefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitUndefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitUndefNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitUntilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitUntilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitUntilNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitVAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitVAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitVAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitVCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitVCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitVCallNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitWhenNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitWhenNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitWhenNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitWhileNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitWhileNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitWhileNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitXStrNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitYieldNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitYieldNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitYieldNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitZArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitZArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitZArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
public void visitZSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitZSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | public void visitZSuperNode(Node iVisited) { visit(iVisited); leave(iVisited); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/d31a76ee29d5978a9bec41e3ac9134cee024bcab/NodeVisitorAdapter.java/buggy/org/jruby/nodes/NodeVisitorAdapter.java |
formatButton(cancelButton, 'C', COPY_TOOLTIP); | formatButton(copyButton, 'C', COPY_TOOLTIP); | 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_TOOLTIP); sendButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { send(); } }); emailArea = new JTextField(20); emailArea.setToolTipText(EMAIL_TOOLTIP); emailArea.setText(emailAddress); commentArea = new MultilineLabel(); commentArea.setEditable(true); commentArea.setOpaque(true); if (exception != null) { debugArea = buildExceptionArea(); copyButton = new JButton("Copy to Clipboard"); formatButton(cancelButton, 'C', COPY_TOOLTIP); copyButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { copy(); } }); } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5aacd98a1cfb2219e218c87eed17b5a0f0e9738a/MessengerDialog.java/clean/SRC/org/openmicroscopy/shoola/util/ui/MessengerDialog.java |
setTitle(TITLE); | private void setProperties() { setModal(true); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/9794ffbd035a4de717ee211573b4844dd0eb3371/ClassifierView.java/clean/SRC/org/openmicroscopy/shoola/agents/util/classifier/view/ClassifierView.java |
|
String filePath=getArticleResourcePath(); String articleFolderPath = getArticlePath(); | String filePath=getResourcePath(); String articleFolderPath=getArticlePath(); if(articleFolderPath!=null) { filePath=articleFolderPath+"/"+getArticleName(); }else { filePath=getArticleResourcePath(); articleFolderPath = getArticlePath(); } | 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() != null && getRequestedStatus().equals(ContentItemCase.STATUS_PUBLISHED)) {// if (getCase().getPublishedFromDate() == null) {// addErrorKey(KEY_ERROR_PUBLISHED_FROM_DATE_EMPTY);// storeOk = false;// }// } // String filename = getHeadline();// if(null==filename || filename.length()==0) {// filename = "empty";// } try { IWUserContext iwuc = IWContext.getInstance(); IWApplicationContext iwac = iwuc.getApplicationContext(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class);// IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); WebdavRootResource rootResource = session.getWebdavRootResource(); IWSlideService slideService = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); String filePath=getArticleResourcePath(); String articleFolderPath = getArticlePath(); slideService.createAllFoldersInPath(articleFolderPath); rootResource.proppatchMethod(articleFolderPath,new PropertyName("IW:",CONTENT_TYPE),"LocalizedFile",true); String article = getAsXML();// System.out.println(article); //Conflict fix: uri for creating but path for updating if(session.getExistence(filePath)){ rootResource.putMethod(filePath,article); } else { rootResource.putMethod(session.getURI(filePath),article); } rootResource.proppatchMethod(filePath,new PropertyName("IW:",CONTENT_TYPE),ARTICLE_FILENAME_SCOPE,true); rootResource.close(); try { load(filePath); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } catch (IOException e1) { storeOk = false; // TODO Auto-generated catch block e1.printStackTrace(); } if (storeOk) { if (getRequestedStatus() != null) { setStatus(getRequestedStatus()); setRequestedStatus(null); } }else { throw new ArticleStoreException(); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/ca44e553c09c8bf22514748ca632a15e656ba6a9/ArticleItemBean.java/clean/src/java/com/idega/block/article/bean/ArticleItemBean.java |
rootResource.putMethod(filePath,article); | if(!rootResource.putMethod(filePath,article)) { rootResource.putMethod(session.getURI(filePath),article); } | 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() != null && getRequestedStatus().equals(ContentItemCase.STATUS_PUBLISHED)) {// if (getCase().getPublishedFromDate() == null) {// addErrorKey(KEY_ERROR_PUBLISHED_FROM_DATE_EMPTY);// storeOk = false;// }// } // String filename = getHeadline();// if(null==filename || filename.length()==0) {// filename = "empty";// } try { IWUserContext iwuc = IWContext.getInstance(); IWApplicationContext iwac = iwuc.getApplicationContext(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class);// IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); WebdavRootResource rootResource = session.getWebdavRootResource(); IWSlideService slideService = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); String filePath=getArticleResourcePath(); String articleFolderPath = getArticlePath(); slideService.createAllFoldersInPath(articleFolderPath); rootResource.proppatchMethod(articleFolderPath,new PropertyName("IW:",CONTENT_TYPE),"LocalizedFile",true); String article = getAsXML();// System.out.println(article); //Conflict fix: uri for creating but path for updating if(session.getExistence(filePath)){ rootResource.putMethod(filePath,article); } else { rootResource.putMethod(session.getURI(filePath),article); } rootResource.proppatchMethod(filePath,new PropertyName("IW:",CONTENT_TYPE),ARTICLE_FILENAME_SCOPE,true); rootResource.close(); try { load(filePath); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } catch (IOException e1) { storeOk = false; // TODO Auto-generated catch block e1.printStackTrace(); } if (storeOk) { if (getRequestedStatus() != null) { setStatus(getRequestedStatus()); setRequestedStatus(null); } }else { throw new ArticleStoreException(); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/ca44e553c09c8bf22514748ca632a15e656ba6a9/ArticleItemBean.java/clean/src/java/com/idega/block/article/bean/ArticleItemBean.java |
rootResource.putMethod(session.getURI(filePath),article); | if(!rootResource.putMethod(session.getURI(filePath),article)) { rootResource.putMethod(filePath,article); } | 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() != null && getRequestedStatus().equals(ContentItemCase.STATUS_PUBLISHED)) {// if (getCase().getPublishedFromDate() == null) {// addErrorKey(KEY_ERROR_PUBLISHED_FROM_DATE_EMPTY);// storeOk = false;// }// } // String filename = getHeadline();// if(null==filename || filename.length()==0) {// filename = "empty";// } try { IWUserContext iwuc = IWContext.getInstance(); IWApplicationContext iwac = iwuc.getApplicationContext(); IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwuc,IWSlideSession.class);// IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); WebdavRootResource rootResource = session.getWebdavRootResource(); IWSlideService slideService = (IWSlideService)IBOLookup.getServiceInstance(iwac,IWSlideService.class); String filePath=getArticleResourcePath(); String articleFolderPath = getArticlePath(); slideService.createAllFoldersInPath(articleFolderPath); rootResource.proppatchMethod(articleFolderPath,new PropertyName("IW:",CONTENT_TYPE),"LocalizedFile",true); String article = getAsXML();// System.out.println(article); //Conflict fix: uri for creating but path for updating if(session.getExistence(filePath)){ rootResource.putMethod(filePath,article); } else { rootResource.putMethod(session.getURI(filePath),article); } rootResource.proppatchMethod(filePath,new PropertyName("IW:",CONTENT_TYPE),ARTICLE_FILENAME_SCOPE,true); rootResource.close(); try { load(filePath); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); } } catch (IOException e1) { storeOk = false; // TODO Auto-generated catch block e1.printStackTrace(); } if (storeOk) { if (getRequestedStatus() != null) { setStatus(getRequestedStatus()); setRequestedStatus(null); } }else { throw new ArticleStoreException(); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/ca44e553c09c8bf22514748ca632a15e656ba6a9/ArticleItemBean.java/clean/src/java/com/idega/block/article/bean/ArticleItemBean.java |
public final static Macro createMacro(Object wrapMe) | public final static Macro createMacro(Object wrapMe, String encoding) | 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); } } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/9dc4324fb914abcbf2ec188e4eb77b1bf503f330/MacroAdapter.java/buggy/webmacro/src/org/webmacro/engine/MacroAdapter.java |
public StringMacroAdapter(String wrapMe) | public StringMacroAdapter(String wrapMe, String encoding) | public StringMacroAdapter(String wrapMe) { try { _self = wrapMe.getBytes("UTF8"); } catch (Exception e) { e.printStackTrace(); } } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/9dc4324fb914abcbf2ec188e4eb77b1bf503f330/MacroAdapter.java/buggy/webmacro/src/org/webmacro/engine/MacroAdapter.java |
_self = wrapMe.getBytes("UTF8"); | _self = wrapMe.getBytes(encoding); | public StringMacroAdapter(String wrapMe) { try { _self = wrapMe.getBytes("UTF8"); } catch (Exception e) { e.printStackTrace(); } } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/9dc4324fb914abcbf2ec188e4eb77b1bf503f330/MacroAdapter.java/buggy/webmacro/src/org/webmacro/engine/MacroAdapter.java |
SemanticTypesService sts = registry.getSemanticTypesService(); try { List typeList = sts.getAvailableImageTypes(); for(Iterator iter = typeList.iterator(); iter.hasNext();) { SemanticType st = (SemanticType)iter.next(); System.err.println(st.getName()); } } catch(DSOutOfServiceException dso) { dso.printStackTrace(); UserNotifier un = registry.getUserNotifier(); un.notifyError("Connection Error",dso.getMessage(),dso); } catch(DSAccessException dsa) { dsa.printStackTrace(); UserNotifier un = registry.getUserNotifier(); un.notifyError("Server Error",dsa.getMessage(),dsa); } | public void setContext(Registry ctx) { this.registry = ctx; this.eventBus = ctx.getEventBus(); this.tf = ctx.getTopFrame(); Boolean extractionMode = (Boolean)registry.lookup(THUMBNAIL_MODE_KEY); this.useServerThumbs = extractionMode.booleanValue(); Integer thumbWidth = (Integer)registry.lookup(THUMBNAIL_WIDTH_KEY); Integer thumbHeight = (Integer)registry.lookup(THUMBNAIL_HEIGHT_KEY); this.thumbnailWidth = 120;//thumbWidth.intValue(); this.thumbnailHeight = 120;//thumbHeight.intValue(); eventBus.register(this,LoadDataset.class); JMenuItem testItem = new JMenuItem("Browser"); testItem.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { Integer dummyID = (Integer)registry.lookup(DUMMY_DATASET_KEY); loadDataset(dummyID.intValue()); } }); tf.addToMenu(TopFrame.VIEW,testItem); testItem.setEnabled(true); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/3b2a73fb7bec3cdfed497a0cbb1b6fe7f329cebc/BrowserAgent.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/BrowserAgent.java |
|
(int) buttonRect.getHeight(), gradientStartRGB, false); | (int) buttonRect.getHeight(), gradientEndRGB, false); | 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); g.setPaint(gp); g.fill(buttonRect); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bd72dbfc5bee43ac7248328a84834b231b8e2d15/ColouredButtonUI.java/buggy/SRC/org/openmicroscopy/shoola/util/ui/ColouredButtonUI.java |
topGradientSaturation = col.getSaturation()*0.3f; | topGradientSaturation = col.getSaturation()*0.6f; | 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 gradient saturation from HSV model. float topGradientSaturation, bottomGradientSaturation; // if colour greyscale(achromatic) don't touch saturation if (col.getSaturation() == 0) { topGradientSaturation = bottomGradientSaturation = col.getSaturation(); // A check to see what gives greatest increase, +0.3 or *1.3 // and set topGradientValue to that. topGradientValue = col.getValue()+0.3f; if (col.getValue()*1.3f > topGradientValue) topGradientValue = col.getValue()*1.3f; if (topGradientValue>1) topGradientValue = 1; // Set bottomGradientValue to 75% of colour value. bottomGradientValue = col.getValue()*0.75f; } else { // We're in a colour space. // Increase topGradientValue to 1.5 * value of colour face. topGradientValue = col.getValue()*1.5f; if (topGradientValue>1) topGradientValue = 1; topGradientSaturation = col.getSaturation()*0.3f; bottomGradientSaturation = col.getSaturation(); } gradientStartHSV = new HSV(col.getHue(), topGradientSaturation, topGradientValue, 1.0f); gradientStartRGB = gradientStartHSV.toColorA(); gradientEndHSV = new HSV(col.getHue(), bottomGradientSaturation, bottomGradientValue, 1.0f); gradientEndRGB = gradientEndHSV.toColorA(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bd72dbfc5bee43ac7248328a84834b231b8e2d15/ColouredButtonUI.java/buggy/SRC/org/openmicroscopy/shoola/util/ui/ColouredButtonUI.java |
topGradientValue, 1.0f); | topGradientValue, 0.6f); | 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 gradient saturation from HSV model. float topGradientSaturation, bottomGradientSaturation; // if colour greyscale(achromatic) don't touch saturation if (col.getSaturation() == 0) { topGradientSaturation = bottomGradientSaturation = col.getSaturation(); // A check to see what gives greatest increase, +0.3 or *1.3 // and set topGradientValue to that. topGradientValue = col.getValue()+0.3f; if (col.getValue()*1.3f > topGradientValue) topGradientValue = col.getValue()*1.3f; if (topGradientValue>1) topGradientValue = 1; // Set bottomGradientValue to 75% of colour value. bottomGradientValue = col.getValue()*0.75f; } else { // We're in a colour space. // Increase topGradientValue to 1.5 * value of colour face. topGradientValue = col.getValue()*1.5f; if (topGradientValue>1) topGradientValue = 1; topGradientSaturation = col.getSaturation()*0.3f; bottomGradientSaturation = col.getSaturation(); } gradientStartHSV = new HSV(col.getHue(), topGradientSaturation, topGradientValue, 1.0f); gradientStartRGB = gradientStartHSV.toColorA(); gradientEndHSV = new HSV(col.getHue(), bottomGradientSaturation, bottomGradientValue, 1.0f); gradientEndRGB = gradientEndHSV.toColorA(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bd72dbfc5bee43ac7248328a84834b231b8e2d15/ColouredButtonUI.java/buggy/SRC/org/openmicroscopy/shoola/util/ui/ColouredButtonUI.java |
bottomGradientSaturation, bottomGradientValue, 1.0f); | bottomGradientSaturation, bottomGradientValue, 0.6f); | 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 gradient saturation from HSV model. float topGradientSaturation, bottomGradientSaturation; // if colour greyscale(achromatic) don't touch saturation if (col.getSaturation() == 0) { topGradientSaturation = bottomGradientSaturation = col.getSaturation(); // A check to see what gives greatest increase, +0.3 or *1.3 // and set topGradientValue to that. topGradientValue = col.getValue()+0.3f; if (col.getValue()*1.3f > topGradientValue) topGradientValue = col.getValue()*1.3f; if (topGradientValue>1) topGradientValue = 1; // Set bottomGradientValue to 75% of colour value. bottomGradientValue = col.getValue()*0.75f; } else { // We're in a colour space. // Increase topGradientValue to 1.5 * value of colour face. topGradientValue = col.getValue()*1.5f; if (topGradientValue>1) topGradientValue = 1; topGradientSaturation = col.getSaturation()*0.3f; bottomGradientSaturation = col.getSaturation(); } gradientStartHSV = new HSV(col.getHue(), topGradientSaturation, topGradientValue, 1.0f); gradientStartRGB = gradientStartHSV.toColorA(); gradientEndHSV = new HSV(col.getHue(), bottomGradientSaturation, bottomGradientValue, 1.0f); gradientEndRGB = gradientEndHSV.toColorA(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/bd72dbfc5bee43ac7248328a84834b231b8e2d15/ColouredButtonUI.java/buggy/SRC/org/openmicroscopy/shoola/util/ui/ColouredButtonUI.java |
_helper = new BrokerTemplateProviderHelper(); | public void init(Broker b, Settings config) throws InitException { super.init(b, config); _helper.init(b, config); _helper.setReload(_cacheSupportsReload); _log = b.getLog("resource", "Object loading and caching"); } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/289617da402a00c35bb091baf41ccd5f8d4042c2/BrokerTemplateProvider.java/buggy/webmacro/src/org/webmacro/resource/BrokerTemplateProvider.java |
|
public IRubyObject rbClone() { IRubyObject newObject = dup(); newObject.initCopy(this); return newObject; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/49aa6e52e2393f8c17a3c126aed59b8fd08b68aa/RubyString.java/clean/src/org/jruby/RubyString.java |
||
newObject.setFrozen(isFrozen()); | public IRubyObject rbClone() { IRubyObject newObject = dup(); newObject.initCopy(this); return newObject; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/49aa6e52e2393f8c17a3c126aed59b8fd08b68aa/RubyString.java/clean/src/org/jruby/RubyString.java |
|
return System.getProperty(Action.NAME); | return (String) getValue(Action.NAME); | public String getActionName() { if (name == null || name.length() == 0) return System.getProperty(Action.NAME); return name; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/ea7509babe2344eb702969105eb77096cc5b6bcf/TreeViewerAction.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/actions/TreeViewerAction.java |
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(); ChainBox box; float x = 0; while (iter.hasNext()) { box =(ChainBox) iter.next(); box.setHeight(height); boxWidth = (float)box.getWidth(); if (padding > 0) { boxWidth += padding; box.setWidth(boxWidth); } Point2D pt = box.getOffset(); box.setOffset(x,pt.getY()); box.centerChain(); x += boxWidth; } width = maxWidth; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
||
if (horizSpace > 0) | if (horizSpace > 0) { | 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(); ChainBox box; float x = 0; while (iter.hasNext()) { box =(ChainBox) iter.next(); box.setHeight(height); boxWidth = (float)box.getWidth(); if (padding > 0) { boxWidth += padding; box.setWidth(boxWidth); } Point2D pt = box.getOffset(); box.setOffset(x,pt.getY()); box.centerChain(); x += boxWidth; } width = maxWidth; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
} | 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(); ChainBox box; float x = 0; while (iter.hasNext()) { box =(ChainBox) iter.next(); box.setHeight(height); boxWidth = (float)box.getWidth(); if (padding > 0) { boxWidth += padding; box.setWidth(boxWidth); } Point2D pt = box.getOffset(); box.setOffset(x,pt.getY()); box.centerChain(); x += boxWidth; } width = maxWidth; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
|
float maxRowWidth=0; | 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 should be roughly square, // in terms of the number of rows vs. # of columns rowSize = (int) Math.floor(Math.sqrt(num)); count=0; // draw each of them. while (iter.hasNext()) { chain = (LayoutChainData) iter.next(); if (!chain.hasCycles()) { ChainBox box = buildChain(chain); if (box != null) { placeChain(box); } } } // fix up the last row. row.setHeight(rowHeight); rows.add(row); adjustSizes(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
|
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 should be roughly square, // in terms of the number of rows vs. # of columns rowSize = (int) Math.floor(Math.sqrt(num)); count=0; // draw each of them. while (iter.hasNext()) { chain = (LayoutChainData) iter.next(); if (!chain.hasCycles()) { ChainBox box = buildChain(chain); if (box != null) { placeChain(box); } } } // fix up the last row. row.setHeight(rowHeight); rows.add(row); adjustSizes(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
||
if (x > maxRowWidth) | if (x > maxRowWidth) { | 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 > maxRowWidth)) { // move on to next row. count = 0; if (x > maxRowWidth) maxRowWidth = x; x = 0; row.setHeight(rowHeight); rows.add(row); y+= rowHeight; rowHeight = height; row = new RowInfo(); } box.setOffset(x,y); x+=box.getWidth(); count++; row.addBox(box); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
} | 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 > maxRowWidth)) { // move on to next row. count = 0; if (x > maxRowWidth) maxRowWidth = x; x = 0; row.setHeight(rowHeight); rows.add(row); y+= rowHeight; rowHeight = height; row = new RowInfo(); } box.setOffset(x,y); x+=box.getWidth(); count++; row.addBox(box); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/92737432541dd63570796aedc1b2599d3f1e70aa/ChainPaletteCanvas.java/buggy/SRC/org/openmicroscopy/shoola/agents/chainbuilder/piccolo/ChainPaletteCanvas.java |
|
DatasetData d = (DatasetData) it.next(); i.linkDataset((Dataset) mapper.map(d)); | DatasetData dd = (DatasetData) it.next(); Dataset d = (Dataset) mapper.map( dd ); if ( ! linked( d.findDatasetImageLink( i ))) i.linkDataset( d ); | 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.setDescription(this.getDescription()); Pixels pix = (Pixels) mapper.map(this.getDefaultPixels()); if ( pix != null) pix.setDefaultPixels( Boolean.TRUE ); if (this.getAllPixels() != null){ for (Iterator it = this.getAllPixels().iterator(); it.hasNext();) { PixelsData p = (PixelsData) it.next(); i.addToPixels( (Pixels) mapper.map(p) ); } } if (this.getAnnotations() != null){ for (Iterator it = this.getAnnotations().iterator(); it.hasNext();) { AnnotationData ann = (AnnotationData) it.next(); i.addToAnnotations( (ImageAnnotation) mapper.map(ann) ); } } if (this.getDatasets() != null){ for (Iterator it = this.getDatasets().iterator(); it.hasNext();) { DatasetData d = (DatasetData) it.next(); i.linkDataset((Dataset) mapper.map(d)); } } } return i; } else { throw new IllegalArgumentException( "ImageData can only fill Image."); } } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b7d44d4a82558acd2336a661072dda1f38cfc0b3/ImageData.java/clean/components/shoola-adapter/src/pojos/ImageData.java |
String headline = WFUtil.getStringValue(ARTICLE_ITEM_BEAN_ID, "headline"); | ArticleItemBean articleBean = (ArticleItemBean) WFUtil.getBeanInstance(ARTICLE_ITEM_BEAN_ID); String resourcePath = articleBean.getResourcePath(); | 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.setSelectedId(NO_ARTICLE_ID, true); componentSelector.setSelectedId(ARTICLE_LIST_ID, false); } else { componentSelector.setSelectedId(NO_ARTICLE_ID, false); componentSelector.setSelectedId(ARTICLE_LIST_ID, true); } } else { componentSelector.setSelectedId(NO_ARTICLE_ID, false); componentSelector.setSelectedId(ARTICLE_LIST_ID, true); System.out.println("Could not find the Component selector!!!"); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/18f3f17c7d7e21ff910a232da3187e72e9de9847/ArticleDetailView.java/clean/src/java/com/idega/block/article/component/ArticleDetailView.java |
if (headline == null || headline.length() == 0) { | if (resourcePath == null || resourcePath.length() == 0) { | 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.setSelectedId(NO_ARTICLE_ID, true); componentSelector.setSelectedId(ARTICLE_LIST_ID, false); } else { componentSelector.setSelectedId(NO_ARTICLE_ID, false); componentSelector.setSelectedId(ARTICLE_LIST_ID, true); } } else { componentSelector.setSelectedId(NO_ARTICLE_ID, false); componentSelector.setSelectedId(ARTICLE_LIST_ID, true); System.out.println("Could not find the Component selector!!!"); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/18f3f17c7d7e21ff910a232da3187e72e9de9847/ArticleDetailView.java/clean/src/java/com/idega/block/article/component/ArticleDetailView.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.