rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setComment", notNull(articleItem.getComment())); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setDescription", notNull(articleItem.getDescription())); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setStatus", ContentItemCase.STATUS_PUBLISHED ); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setFolderLocatio... | WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setFolderLocation", notNull(articleItem.getBaseFolderLocation())); */ bean.setHeadline(articleItem.getHeadline()); bean.setTeaser(articleItem.getTeaser()); bean.setBody(articleItem.getBody()); bean.setAuthor(articleItem.getAuthor()); bean.setBaseFolderLocation(articleItem.getBaseFol... | public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/9dd8a7f9883fa3785baebfbed97ebf38eba1add9/ListArticlesBlock.java/buggy/src/java/com/idega/block/article/component/ListArticlesBlock.java |
WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", notNull(articleItem.getHeadline())); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setTeaser", notNull(articleItem.getTeaser())); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", notNull(articleItem.getBody())); WFUtil.... | public void processAction(ActionEvent event) { if (event.getComponent().getId().equals(LIST_BUTTON_ID)) { WFUtil.invoke(LIST_ARTICLES_BEAN_ID, "list"); return; } else if (event.getComponent().getId().equals(VIEW_ARTICLE_BACK_BUTTON_ID)) { WFComponentSelector cs = (WFComponentSelector) event.getComponent().find... | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/9dd8a7f9883fa3785baebfbed97ebf38eba1add9/ListArticlesBlock.java/buggy/src/java/com/idega/block/article/component/ListArticlesBlock.java | |
int flags = Pattern.MULTILINE; if ((options & RE_OPTION_IGNORECASE) > 0) { flags |= Pattern.CASE_INSENSITIVE; } if ((options & RE_OPTION_EXTENDED) > 0) { flags |= Pattern.COMMENTS; } if ((options & RE_OPTION_MULTILINE) > 0) { flags |= Pattern.DOTALL; } regex = COMMENT_PATTERN.matcher(regex).replaceAll(""); regex = HEX_... | pattern = REGEXP_TRANSLATOR.translate(regex, options, code.flags()); | public void initialize(String regex, int options) { int flags = Pattern.MULTILINE; if ((options & RE_OPTION_IGNORECASE) > 0) { flags |= Pattern.CASE_INSENSITIVE; } if ((options & RE_OPTION_EXTENDED) > 0) { flags |= Pattern.COMMENTS; } if ((options & RE_OPTIO... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4d62d6f77d06ba34dda2ae56b8598e93f8ae39ad/RubyRegexp.java/buggy/src/org/jruby/RubyRegexp.java |
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyPointer args, boolean noSuper) { CRefNode savedCref = null; | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
RubyPointer argsList = new RubyPointer(args); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | |
savedCref = ruby.getCRef(); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | |
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | ||
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | ||
Node body = getNextNode(); | Node callBody = getNextNode(); Node callNode = null; if (callBody.getType() == Constants.NODE_ARGS) { callNode = callBody; callBody = null; } else if (callBody.getType() == Constants.NODE_BLOCK) { callNode = callBody.getHeadNode(); callBody = callBody.getNextNode(); } | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
Node node = null; int i; if (body.getType() == Constants.NODE_ARGS) { node = body; body = null; } else if (body.getType() == Constants.NODE_BLOCK) { node = body.getHeadNode(); body = body.getNextNode(); } if (node != null) { if (node.getType() != Constants.NODE_ARGS) { | if (callNode != null) { int i = callNode.getCount(); if (i > (args != null ? args.size() : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.size() + " for " + i + ")"); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
i = node.getCount(); if (i > (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + i + ")"); } if (node.getRest() == -1) { | if (callNode.getRest() == -1) { | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
Node optNode = node.getOptNode(); | Node optNode = callNode.getOptNode(); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
if (opt < (args != null ? args.length : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.length + " for " + opt + ")"); | if (opt < (args != null ? args.size() : 0)) { throw new RubyArgumentException("wrong # of arguments(" + args.size() + " for " + opt + ")"); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
localVarsList.set(j, argsList.get(j)); | localVarsList.set(j, args.get(j)); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
argsList.inc(i); | args.inc(i); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
if (node.getOptNode() != null) { Node optNode = node.getOptNode(); | if (callNode.getOptNode() != null) { Node optNode = callNode.getOptNode(); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
while (optNode != null && argsList.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, argsList.getRuby(0), true); argsList.inc(1); | while (optNode != null && args.size() != 0) { ((AssignableNode)optNode.getHeadNode()).assign(ruby, recv, args.getRuby(0), true); args.inc(1); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
if (node.getRest() >= 0) { | if (callNode.getRest() >= 0) { | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
if (argsList.size() > 0) { array = RubyArray.m_newArray(ruby, argsList); | if (args.size() > 0) { array = RubyArray.m_newArray(ruby, args); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
localVarsList.set(node.getRest(), array); | localVarsList.set(callNode.getRest(), array); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
result = recv.eval(body); | result = recv.eval(callBody); | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
ruby.setCRef(savedCref); | if (savedCref != null) { ruby.setCRef(savedCref); } | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { CRefNode savedCref = ruby.getCRef(); // +++ = null; // VALUE[] localVars = null; RubyPointer argsList = new RubyPointer(args); RubyPointer localVarsList = null; ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
public RubyObject eval(Ruby ruby, RubyObject self) { CRefNode savedCRef = null; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby.setRubyFrame(frame); ruby.getRubyScope().push(); if (getRefValue() != null) { sa... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | ||
public RubyObject eval(Ruby ruby, RubyObject self) { CRefNode savedCRef = null; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby.setRubyFrame(frame); ruby.getRubyScope().push(); if (getRefValue() != null) { sa... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | ||
/*List tmp = Collections.nCopies(idTable[0].intValue() + 1, ruby.getNil()); ShiftableList vars = new ShiftableList(new ArrayList(tmp)); vars.set(0, this); vars.shift(1);*/ | public RubyObject setupModule(Ruby ruby, RubyModule module) { // Node node = n; String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // TMP_PROTECT; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java | |
ruby.getCRef().push(module); | ruby.getCRef().push(module); | public RubyObject setupModule(Ruby ruby, RubyModule module) { // Node node = n; String file = ruby.getSourceFile(); int line = ruby.getSourceLine(); // TMP_PROTECT; RubyFrame frame = ruby.getRubyFrame(); frame.setTmp(ruby.getRubyFrame()); ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/f629550c5947df9c1dbe414645f3dc76bcb70df4/ScopeNode.java/clean/org/jruby/nodes/ScopeNode.java |
Node defn = getDefnNode(); | Node defn = getDefnNode().copyNodeScope(ruby.getCRef()); | public RubyObject eval(Ruby ruby, RubyObject self) { if (getDefnNode() != null) { if (ruby.getRubyClass() == null) { throw new RubyTypeException(ruby, "no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == in... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ea333ae74f85b7ba58ee38a692c16b25f8047f57/DefnNode.java/buggy/org/jruby/nodes/DefnNode.java |
public static void main(String[] args) throws Exception { | public static void main(String[] args) throws Exception { | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
LongOpt[] longOpts = new LongOpt[4]; longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOpt("datafile", LongOpt.REQUIRED_ARGUMENT, null, 'd'); longOpts[2] = new LongOpt("destination", LongOpt.REQUIRED_ARGUMENT, null, 'o'); longOpts[3] = new LongOpt("source", LongOpt.REQUIR... | Main main = new Main(); | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
Getopt g = new Getopt(Main.class.getName(), args, ":f:d:o:s:", longOpts); int c; while ((c = g.getopt()) != -1) { switch (c) { case 'f': format = g.getOptarg(); if (!format.equalsIgnoreCase("html") && !format.equalsIgnoreCase("xml")) { System.err .println("Error: format \"" + format + "\" is invalid. Must be either htm... | boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
if (dataFile == null) dataFile = CoverageDataFileHandler.getDefaultDataFile(); | if (hasCommandsFile) { List arglist = new ArrayList(); BufferedReader bufferedReader = null; | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
if (destinationDir == null) { System.err.println("Error: destination directory must be set"); System.exit(1); | try { bufferedReader = new BufferedReader(new FileReader(commandsFileName)); String line = null; while ((line = bufferedReader.readLine()) != null) { arglist.add(line); } } catch (IOException e) { LOGGER.fatal("Unable to read temporary commands file " + commandsFileName + ".", e); } finally { if (bufferedReader != nul... | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
if (sourceDir == null) { System.err.println("Error: source directory must be set"); System.exit(1); } if (logger.isDebugEnabled()) { logger.debug("format is " + format); logger.debug("dataFile is " + dataFile.getAbsolutePath()); logger.debug("destinationDir is " + destinationDir.getAbsolutePath()); logger.debug("sourc... | main.parseArguments(args); | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
System.out .println("Reporting time: " + (stopTime - startTime) + "ms"); | System.out.println("Report time: " + (stopTime - startTime) + "ms"); | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/12464e2c222b85c4fe40070c50e015403ce5acfe/Main.java/buggy/cobertura/src/net/sourceforge/cobertura/reporting/Main.java |
throw new RuntimeException("Not implemented yet."); | return _update.saveAndReturnObject(arg0); | public IObject createDataObject(IObject arg0, Map arg1) { // TODO Auto-generated method stub //return null; throw new RuntimeException("Not implemented yet."); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/0aa4af63b981e511b5fb82621bc6293945ca0d64/PojosImpl.java/clean/components/server/src/ome/logic/PojosImpl.java |
new RenderingServiceException("Cannot get thumbnail", e); } return null; | throw new RenderingServiceException("Cannot get thumbnail", e); } | byte[] getThumbnail(Pixels pixels, int sizeX, int sizeY) throws RenderingServiceException { try { IThumb service = getIThumbService(); return service.getThumbnailDirect(pixels, null, new Integer(sizeX), new Integer(sizeY)); } catch (E... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/7bf166a5aea933565232544ef7535e345cd27f93/OMEROGateway.java/buggy/SRC/org/openmicroscopy/shoola/env/data/OMEROGateway.java |
throw new PropertyException("No method to set \"" + _vname + | throw new PropertyException("No method to set \"" + getVariableName() + | public final void setValue (Context context, Object newValue) throws PropertyException { if (!context.setProperty(_names[0], newValue)) { throw new PropertyException("No method to set \"" + _vname + "\" to type " + ((newValue == null) ? "n... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/976cc762ab65b58fbb5a81d83d913780b9d31fd4/SimplePropertyVariable.java/clean/webmacro/src/org/webmacro/engine/SimplePropertyVariable.java |
return "property:" + _vname; | return "property:" + getVariableName(); | public final String toString () { return "property:" + _vname; } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/976cc762ab65b58fbb5a81d83d913780b9d31fd4/SimplePropertyVariable.java/clean/webmacro/src/org/webmacro/engine/SimplePropertyVariable.java |
ownsServiceExecutor = true; | public StandardKernel(String kernelName) { this(kernelName, Executors.newCachedThreadPool(), 30, TimeUnit.SECONDS); } | 52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/e4e36a01d4bc7a35fc839e4eb95b73bc13086a5a/StandardKernel.java/clean/xbean-kernel/src/main/java/org/apache/xbean/kernel/standard/StandardKernel.java | |
if (ownsServiceExecutor) { serviceExecutor.shutdown(); } | public void destroy() throws KernelErrorsError { destroyLock.lock(); try { // if we are already stopped simply return if (!running) { return; } running = false; } finally { destroyLock.unlock(); } // destroy all... | 52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/e4e36a01d4bc7a35fc839e4eb95b73bc13086a5a/StandardKernel.java/clean/xbean-kernel/src/main/java/org/apache/xbean/kernel/standard/StandardKernel.java | |
public final void addArgument(Argument p) | public final void addArgument(String name, Object value) | public final void addArgument(Argument p) throws IllegalStateException { if (! hasArguments()) { throw new IllegalStateException("Does not take arguments"); } boolean match = false; String argument = p.getName(); for (int i = 0; i < _argNames.length; i++) { if (_argNa... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
String argument = p.getName(); | public final void addArgument(Argument p) throws IllegalStateException { if (! hasArguments()) { throw new IllegalStateException("Does not take arguments"); } boolean match = false; String argument = p.getName(); for (int i = 0; i < _argNames.length; i++) { if (_argNa... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java | |
if (_argNames[i].equals(argument)) { | if (_argNames[i].equals(name)) { | public final void addArgument(Argument p) throws IllegalStateException { if (! hasArguments()) { throw new IllegalStateException("Does not take arguments"); } boolean match = false; String argument = p.getName(); for (int i = 0; i < _argNames.length; i++) { if (_argNa... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
throw new IllegalStateException(argument | throw new IllegalStateException(name | public final void addArgument(Argument p) throws IllegalStateException { if (! hasArguments()) { throw new IllegalStateException("Does not take arguments"); } boolean match = false; String argument = p.getName(); for (int i = 0; i < _argNames.length; i++) { if (_argNa... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
_arguments.addElement(p); | Argument ag = new Argument(name,value); _arguments.addElement(ag); | public final void addArgument(Argument p) throws IllegalStateException { if (! hasArguments()) { throw new IllegalStateException("Does not take arguments"); } boolean match = false; String argument = p.getName(); for (int i = 0; i < _argNames.length; i++) { if (_argNa... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
args[i++] = getArguments(); | args[i++] = getArguments(rc); | public final Object build(BuildContext rc) throws BuildException { // collect the arguments Object args[] = new Object[_buildArgs]; { int i = 0; args[i++] = rc; if ( hasCondition() ) { Object cond = (_condition instanceof Builder) ? ((Builder) _... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
private final Argument[] getArguments() { | private final Argument[] getArguments(BuildContext bc) throws BuildException { | private final Argument[] getArguments() { if (!hasArguments()) { return null; } if (_arguments == null) { _arguments = new Vector(); } Argument[] args = new Argument[_arguments.size()]; _arguments.copyInto(args); return args; } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java |
for (int i = 0; i < args.length; i++) { args[i].build(bc); } | private final Argument[] getArguments() { if (!hasArguments()) { return null; } if (_arguments == null) { _arguments = new Vector(); } Argument[] args = new Argument[_arguments.size()]; _arguments.copyInto(args); return args; } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/af8b9e04f0dcb3a0994b2882f87f1d6c81e86fc1/DirectiveBuilder.java/buggy/webmacro/src/org/webmacro/engine/DirectiveBuilder.java | |
public LensBar(Registry registry, ImageInspectorManager mng) | public LensBar(Registry registry, ImageInspectorManager mng, int w, int h) | public LensBar(Registry registry, ImageInspectorManager mng) { this.registry = registry; manager = new LensBarMng(this, mng); initComponents(); manager.attachListeners(); buildGUI(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/8846f7da5fbaf4d3fb83aa43b5616bcd13483654/LensBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/lens/LensBar.java |
manager = new LensBarMng(this, mng); | manager = new LensBarMng(this, mng, w, h); | public LensBar(Registry registry, ImageInspectorManager mng) { this.registry = registry; manager = new LensBarMng(this, mng); initComponents(); manager.attachListeners(); buildGUI(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/8846f7da5fbaf4d3fb83aa43b5616bcd13483654/LensBar.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/lens/LensBar.java |
public LensBarMng(LensBar view, ImageInspectorManager control) | public LensBarMng(LensBar view, ImageInspectorManager control, int w, int h) | public LensBarMng(LensBar view, ImageInspectorManager control) { this.view = view; this.control = control; magFactor = ViewerUIF.DEFAULT_MAG; width = ViewerUIF.DEFAULT_WIDTH; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/8846f7da5fbaf4d3fb83aa43b5616bcd13483654/LensBarMng.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/lens/LensBarMng.java |
setMaxWidth(w, h); | public LensBarMng(LensBar view, ImageInspectorManager control) { this.view = view; this.control = control; magFactor = ViewerUIF.DEFAULT_MAG; width = ViewerUIF.DEFAULT_WIDTH; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/8846f7da5fbaf4d3fb83aa43b5616bcd13483654/LensBarMng.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/lens/LensBarMng.java | |
JButton sizePlus = view.getSizePlus(), sizeMinus = view.getSizeMinus(), magPlus = view.getMagPlus(), magMinus = view.getMagMinus(); sizePlus.addActionListener(this); sizePlus.setActionCommand(""+SIZE_PLUS); sizeMinus.addActionListener(this); sizeMinus.setActionCommand(""+SIZE_MINUS); magPlus.addActionListener(this); ma... | attachButtonListeners(view.getSizePlus(), SIZE_PLUS); attachButtonListeners(view.getSizeMinus(), SIZE_MINUS); attachButtonListeners(view.getMagPlus(), MAG_PLUS); attachButtonListeners(view.getMagMinus(), MAG_MINUS); | void attachListeners() { //button JButton sizePlus = view.getSizePlus(), sizeMinus = view.getSizeMinus(), magPlus = view.getMagPlus(), magMinus = view.getMagMinus(); sizePlus.addActionListener(this); sizePlus.setActionCommand(""+SIZE_PLUS); sizeMinus.addActionLi... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/8846f7da5fbaf4d3fb83aa43b5616bcd13483654/LensBarMng.java/buggy/SRC/org/openmicroscopy/shoola/agents/viewer/transform/lens/LensBarMng.java |
switch (c) { case '\r': c = '\n'; lastCharWasCR = true; break; case '\n': if (lastCharWasCR) c = reader.read(); default: lastCharWasCR = false; } | protected char internalRead() { try { int c = reader.read(); return c != -1 ? (char) c : '\0'; } catch (IOException ioExcptn) { return 0; } } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/4ffa005312ee366c992e8c9743e75b11d5aae3cc/ReaderLexerSource.java/clean/src/org/ablaf/internal/lexer/ReaderLexerSource.java | |
noiseReduction, INDEX); | noiseReduction, INDEX, active); | public QuantumPane(RenderingAgtCtrl eventManager) { QuantumDef qDef = eventManager.getQuantumDef(); manager = new QuantumPaneManager(eventManager, this); eventManager.setQPManager(manager); int mini = (int) eventManager.getGlobalChannelWindowStart(INDEX); int maxi = (int) event... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/5662acc2ad6131c4c3a574c528beedc3e62c79c4/QuantumPane.java/clean/SRC/org/openmicroscopy/shoola/agents/rnd/pane/QuantumPane.java |
RubyProc instance = getRuntime().newProc(); | RubyProc instance = RubyProc.newProc(getRuntime(), false); | public IRubyObject newInstance(IRubyObject[] args) { RubyProc instance = getRuntime().newProc(); instance.callInit(args); return instance; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/50d6342dd5da06c42d25bc955addce6aaa0e6b97/ProcMetaClass.java/buggy/src/org/jruby/runtime/builtin/meta/ProcMetaClass.java |
ruby_class = ruby.getClasses().getObjectClass(); | ruby.setRubyClass(ruby.getClasses().getObjectClass()); | public RubyInterpreter(Ruby ruby) { this.ruby = ruby; ruby_class = ruby.getClasses().getObjectClass(); ruby_cbase = null; rubyBlock = new RubyBlock(ruby); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.setConstant((RubyId)lhs.nd_vid(), val); | ruby.getRubyClass().setConstant((RubyId)lhs.nd_vid(), val); | public void assign(RubyObject self, NODE lhs, RubyObject val, boolean check) { if (val == null) { val = getRuby().getNil(); } switch (lhs.nd_type()) { case NODE_GASGN: ((RubyGlobalEntry)lhs.nd_entry()).set(val); break; case NODE_IAS... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java | ||
public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java | ||
RubyObject r = eval(self, node.nd_recv()); RubyObject l = eval(self, node.nd_value()); if (l instanceof RubyString) { } else { return l.funcall(ruby.intern("=~"), r); } | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java | |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.setConstant((RubyId)node.nd_vid(), result); | ruby.getRubyClass().setConstant((RubyId)node.nd_vid(), result); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
return getDynamicVars().getRef((RubyId)node.nd_vid()); | return ruby.getDynamicVars().getRef((RubyId)node.nd_vid()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
SearchMethodResult smr = ruby_class.searchMethod((RubyId)node.nd_mid()); | SearchMethodResult smr = ruby.getRubyClass().searchMethod((RubyId)node.nd_mid()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
} else if (ruby_class == getRuby().getClasses().getObjectClass()) { | } else if (ruby.getRubyClass() == getRuby().getClasses().getObjectClass()) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (body != null && origin == ruby_class && (body.nd_noex() & NOEX_UNDEF) != 0) { | if (body != null && origin == ruby.getRubyClass() && (body.nd_noex() & NOEX_UNDEF) != 0) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.addMethod((RubyId)node.nd_mid(), defn, noex); | ruby.getRubyClass().addMethod((RubyId)node.nd_mid(), defn, noex); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby_class.funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby_class.isSingleton()) { ruby_class.getInstanceVar("__attached__").funcall(getRuby().intern("singleton_method_added"), ((RubyId... | ruby.getRubyClass().getSingletonClass().addMethod((RubyId)node.nd_mid(), defn, NOEX_PUBLIC); ruby.getRubyClass().funcall(getRuby().intern("singleton_method_added"), ((RubyId)node.nd_mid()).toSymbol()); } if (ruby.getRubyClass().isSingleton()) { ruby.getRubyClass().getInstanceVar("__attached__").funcall(getRuby().intern... | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); | ruby.getRubyClass().funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.undef((RubyId)node.nd_mid()); | ruby.getRubyClass().undef((RubyId)node.nd_mid()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.aliasMethod((RubyId)node.nd_new(), (RubyId)node.nd_old()); ruby_class.funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); | ruby.getRubyClass().aliasMethod((RubyId)node.nd_new(), (RubyId)node.nd_old()); ruby.getRubyClass().funcall(getRuby().intern("method_added"), ((RubyId)node.nd_mid()).toSymbol()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { rubyClass = (RubyClass)ruby_class.getConstant((RubyId)node.nd_cname()); | if (ruby.getRubyClass().isConstantDefined((RubyId)node.nd_cname())) { rubyClass = (RubyClass)ruby.getRubyClass().getConstant((RubyId)node.nd_cname()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); | ruby.getRubyClass().setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath(ruby.getRubyClass(), ((RubyId)node.nd_cname()).toName()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath((RubyClass)ruby_class, ((RubyId)node.nd_cname()).toName()); | ruby.getRubyClass().setConstant((RubyId)node.nd_cname(), rubyClass); rubyClass.setClassPath(ruby.getRubyClass(), ((RubyId)node.nd_cname()).toName()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class == null) { | if (ruby.getRubyClass() == null) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if ((ruby_class == getRuby().getClasses().getObjectClass()) && getRuby().isAutoloadDefined((RubyId)node.nd_cname())) { | if ((ruby.getRubyClass() == getRuby().getClasses().getObjectClass()) && getRuby().isAutoloadDefined((RubyId)node.nd_cname())) { | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
if (ruby_class.isConstantDefined((RubyId)node.nd_cname())) { module = (RubyModule)ruby_class.getConstant((RubyId)node.nd_cname()); | if (ruby.getRubyClass().isConstantDefined((RubyId)node.nd_cname())) { module = (RubyModule)ruby.getRubyClass().getConstant((RubyId)node.nd_cname()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class.setConstant((RubyId)node.nd_cname(), module); module.setClassPath(ruby_class, ((RubyId)node.nd_cname()).toName()); | ruby.getRubyClass().setConstant((RubyId)node.nd_cname(), module); module.setClassPath(ruby.getRubyClass(), ((RubyId)node.nd_cname()).toName()); | public RubyObject eval(RubyObject self, NODE n) { NODE node = n; RubyObject cond = null; RubyObject[] args = null; RubyObject value = null; RubyObject result = null; RubyModule rubyClass = null; // int state; // RubyOriginalMethods rom = getRub... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class = getRuby().getClasses().getObjectClass(); | ruby.setRubyClass(getRuby().getClasses().getObjectClass()); | public void init() { int state; if (initialized) { return; } initialized = true; topFrame = getRubyFrame(); rubyIter = new Iter(); // rb_origenviron = environ; // Init_stack(0); // Init_heap(); getRuby().getRubyScope().push... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class = (RubyModule)classStack.pop(); | ruby.setRubyClass((RubyModule)classStack.pop()); | private void popClass() { ruby_class = (RubyModule)classStack.pop(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
classStack.push(ruby_class); | classStack.push(ruby.getRubyClass()); | public void pushClass() { classStack.push(ruby_class); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class = module; | ruby.setRubyClass(module); | public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
result = eval(ruby_class, node.nd_next()); | result = eval(ruby.getRubyClass(), node.nd_next()); | public RubyObject setupModule(RubyModule module, NODE n) { NODE node = n; // String file = ruby_sourcefile; // int line = ruby_sourceline; // TMP_PROTECT; Frame frame = getRubyFrame(); frame.setTmp(getRubyFrame()); rubyFrame = frame; pushClass(... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
dynamicVars = new RubyVarmap(null, null, block.dynamicVars); | ruby.setDynamicVars(new RubyVarmap(null, null, block.dynamicVars)); | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
dynamicVars = block.dynamicVars; | ruby.setDynamicVars(block.dynamicVars); | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
ruby_class = (klass != null) ? klass : block.klass; | ruby.setRubyClass((klass != null) ? klass : block.klass); | public RubyObject yield0(RubyObject value, RubyObject self, RubyModule klass, boolean acheck) { RubyObject result = ruby.getNil(); if (!(isBlockGiven() || isFBlockGiven()) || (rubyBlock == null)) { throw new RuntimeException("yield called out of block"); } Ruby... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a2024bddc1b8e83f4e8075d2080935c221a833fe/RubyInterpreter.java/buggy/org/jruby/interpreter/RubyInterpreter.java |
RubyKernel.require(runtime.getTopSelf(), new RubyString(runtime, filePath)); | RubyKernel.require(runtime.getTopSelf(), runtime.newString(filePath)); | protected IRuby createRuby(URL url) throws IOException { if (url == null) { throw new NullPointerException("url was null"); } InputStream in = url.openStream(); NormalizedFile f = (NormalizedFile)NormalizedFile.createTempFile("rtc", ".rb"); FileOutputStream out = new Fi... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/9f2efc63a858fa0507245b207025eab027840a04/RubyTestCase.java/buggy/test/org/jruby/javasupport/test/RubyTestCase.java |
OrCondition(Condition l, Condition r) { _l = l; _r = r; } | OrCondition(Condition l, Condition r) { _l = l; _r = r; System.out.println("Condition: " + l + " || + " + r); } | OrCondition(Condition l, Condition r) { _l = l; _r = r; } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/e6187143377fb6500f5772b5676086968c5ed03b/OrConditionBuilder.java/buggy/webmacro/src/org/webmacro/engine/OrConditionBuilder.java |
System.out.println("_l.test: " + _l.test(context)); System.out.println("_r.test: " + _r.test(context)); | public final boolean test(Object context) { return (_l.test(context) || _r.test(context)); } | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/e6187143377fb6500f5772b5676086968c5ed03b/OrConditionBuilder.java/buggy/webmacro/src/org/webmacro/engine/OrConditionBuilder.java | |
r = _l.build(pc); | r = _r.build(pc); | public final Object build(BuildContext pc) throws BuildException { Object l, r; l = _l.build(pc); r = _l.build(pc); return ((l instanceof Condition) && (r instanceof Condition)) ? (Object) new OrCondition((Condition) l, (Condition) r) : (l instanceof Condition) ? ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/e6187143377fb6500f5772b5676086968c5ed03b/OrConditionBuilder.java/buggy/webmacro/src/org/webmacro/engine/OrConditionBuilder.java |
javaInterfaceClass = RubyJavaInterface.createJavaInterfaceClass(ruby); | public void initCoreClasses() { RubyClass metaClass; objectClass = defineBootClass("Object", null); moduleClass = defineBootClass("Module", objectClass); classClass = defineBootClass("Class", moduleClass); metaClass = classClass.newSingletonClass(); objectClass.setRubyClass... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ec719ef82be7ea6956b3d139a2ce2d236eed4568/RubyClasses.java/clean/org/jruby/RubyClasses.java | |
public void applyBeanPropertyValues(Object target, String beanName) | public void applyBeanPropertyValues( Object target, Class<? extends ServiceInterface> beanInterface) | public void applyBeanPropertyValues(Object target, String beanName) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,beanName); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/OmeroContext.java/clean/components/common/src/ome/system/OmeroContext.java |
applyBeanPropertyValues(target,beanName); | applyBeanPropertyValues(target,"internal:"+beanInterface.getName()); | public void applyBeanPropertyValues(Object target, String beanName) { this.getAutowireCapableBeanFactory(). applyBeanPropertyValues(target,beanName); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/OmeroContext.java/clean/components/common/src/ome/system/OmeroContext.java |
if (Spark.isWindows()) { fc.setFileSystemView(new WindowsFileSystemView()); } | public SoundPanel() { setLayout(new GridBagLayout()); // Add ResourceUtils ResourceUtils.resButton(incomingMessageBox, "&Play sound when new message arrives"); ResourceUtils.resButton(outgoingMessageBox, "&Play sound when a message is sent"); ResourceUtils.... | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/e09aa9d934a9c1b5e4ed60e26d9643f0b23212a8/SoundPreference.java/clean/src/java/org/jivesoftware/sparkimpl/preference/sounds/SoundPreference.java | |
if (fc == null) { fc = new JFileChooser(); if (Spark.isWindows()) { fc.setFileSystemView(new WindowsFileSystemView()); } } | private void pickFile(String title, JTextField field) { fc.setDialogTitle(title); int returnVal = fc.showOpenDialog(this); if (returnVal == JFileChooser.APPROVE_OPTION) { File file = fc.getSelectedFile(); field.setText(file.getAbsolutePath()); ... | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/e09aa9d934a9c1b5e4ed60e26d9643f0b23212a8/SoundPreference.java/clean/src/java/org/jivesoftware/sparkimpl/preference/sounds/SoundPreference.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.