bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
3,228,119
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
3,228,120
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
public static RubyModule createObjectSpaceModule(Ruby ruby) { RubyCallbackMethod each_object = new ReflectionCallbackMethod(RubyObjectSpace.class, "each_object", true, true); RubyModule objectSpaceModule = ruby.defineModule("ObjectSpace"); objectSpaceModule.defineModuleFunction("each_object", each_object); retur...
3,228,121
public static RubyModule createMathModule(Ruby ruby) { RubyModule mathModule = new MathDefinition(ruby).getModule(); mathModule.defineConstant("E", RubyFloat.newFloat(ruby, Math.E)); mathModule.defineConstant("PI", RubyFloat.newFloat(ruby, Math.PI)); return mathModule; }
public static RubyModule createMathModule(Ruby ruby) { RubyModule mathModule = new MathDefinition(ruby).getModule(); mathModule.defineConstant("E", RubyFloat.newFloat(ruby, Math.E)); mathModule.defineConstant("PI", RubyFloat.newFloat(ruby, Math.PI)); return mathModule; }
3,228,122
public static RubyModule createMathModule(Ruby ruby) { RubyModule mathModule = new MathDefinition(ruby).getModule(); mathModule.defineConstant("E", RubyFloat.newFloat(ruby, Math.E)); mathModule.defineConstant("PI", RubyFloat.newFloat(ruby, Math.PI)); return mathModule; }
public static RubyModule createMathModule(Ruby ruby) { RubyModule mathModule = new MathDefinition(ruby).getModule(); mathModule.defineConstant("E", RubyFloat.newFloat(ruby, Math.E)); mathModule.defineConstant("PI", RubyFloat.newFloat(ruby, Math.PI)); return mathModule; }
3,228,123
public static RubyClass createTimeClass(Ruby ruby) { RubyClass timeClass = ruby.defineClass("Time", ruby.getClasses().getObjectClass()); Callback s_new = new ReflectionCallbackMethod(RubyTime.class, "s_new", false, true); timeClass.defineSingletonMethod("new", s_new); timeClass.defineSin...
public static RubyClass createTimeClass(Ruby ruby) { RubyClass timeClass = ruby.defineClass("Time", ruby.getClasses().getObjectClass()); Callback s_new = CallbackFactory.getSingletonMethod(RubyTime.class, "s_new"); timeClass.defineSingletonMethod("new", s_new); timeClass.defineSingletonM...
3,228,124
public static void createGlobals(Ruby ruby) { // Version information: IRubyObject version = RubyString.newString(ruby, Constants.RUBY_VERSION).freeze(); IRubyObject release = RubyString.newString(ruby, Constants.COMPILE_DATE).freeze(); IRubyObject platform = RubyString.newString(ruby, Co...
public static void createGlobals(Ruby ruby) { // Version information: IRubyObject version = RubyString.newString(ruby, Constants.RUBY_VERSION).freeze(); IRubyObject release = RubyString.newString(ruby, Constants.COMPILE_DATE).freeze(); IRubyObject platform = RubyString.newString(ruby, Co...
3,228,125
public static RubyFloat str2fnum(IRuby runtime, RubyString arg) { String str = arg.getValue().trim(); double d = 0.0; int pos = str.length(); for (int i = 0; i < pos; i++) { if ("0123456789eE+-.".indexOf(str.charAt(i)) == -1) { pos = i + 1; break;...
public static RubyFloat str2fnum(IRuby runtime, RubyString arg) { String str = arg.toString().trim(); double d = 0.0; int pos = str.length(); for (int i = 0; i < pos; i++) { if ("0123456789eE+-.".indexOf(str.charAt(i)) == -1) { pos = i + 1; break;...
3,228,126
public static RubyInteger str2inum(IRuby runtime, RubyString str, int base) { StringBuffer sbuf = new StringBuffer(str.getValue().trim()); if (sbuf.length() == 0) { return RubyFixnum.zero(runtime); } int pos = 0; int radix = (base != 0) ? base : 10; boolean digit...
public static RubyInteger str2inum(IRuby runtime, RubyString str, int base) { StringBuffer sbuf = new StringBuffer(str.toString().trim()); if (sbuf.length() == 0) { return RubyFixnum.zero(runtime); } int pos = 0; int radix = (base != 0) ? base : 10; boolean digit...
3,228,127
public RubyNumeric op_mul(IRubyObject num) { return multiplyWith(numericValue(num)); }
public RubyNumeric op_mul(IRubyObject num) { return numericValue(num).multiplyWith(this); }
3,228,128
public IRubyObject get() { String name = runtime.getCurrentFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLengt...
public IRubyObject get() { String name = runtime.getCurrentFrame().getLastFunc(); RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLengt...
3,228,129
private IRubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).t...
private IRubyObject getByName(String name) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } for (int i = 0; i < member.getLength(); i++) { if (member.entry(i).t...
3,228,130
public RubyString inspect() { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } StringBuffer sb = new StringBuffer(100); sb.append("#<").append(getInternalClass().toNa...
public RubyString inspect() { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } StringBuffer sb = new StringBuffer(100); sb.append("#<").append(getInternalClass().toNa...
3,228,131
public static RubyArray members(IRubyObject recv) { RubyArray member = (RubyArray) getInstanceVariable((RubyClass) recv, "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } RubyArray result = RubyArray.newArray(recv.getRuntime(), member.g...
public static RubyArray members(IRubyObject recv) { RubyArray member = (RubyArray) getInstanceVariable((RubyClass) recv, "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } RubyArray result = RubyArray.newArray(recv.getRuntime(), member.g...
3,228,132
public IRubyObject set(IRubyObject value) { String name = runtime.getCurrentFrame().getLastFunc(); if (name.endsWith("=")) { name = name.substring(0, name.length() - 1); } RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) {...
public IRubyObject set(IRubyObject value) { String name = runtime.getCurrentFrame().getLastFunc(); if (name.endsWith("=")) { name = name.substring(0, name.length() - 1); } RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) {...
3,228,133
private IRubyObject setByName(String name, IRubyObject value) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int i = 0; i < member.getLength(); i++...
private IRubyObject setByName(String name, IRubyObject value) { RubyArray member = (RubyArray) getInstanceVariable(classOf(), "__member__"); if (member.isNil()) { throw new RubyBugException("uninitialized struct"); } modify(); for (int i = 0; i < member.getLength(); i++...
3,228,134
public String toString(){ return "Module"+(moduleId==null ? ":Hash"+this.hashCode() : ":"+moduleId); }
public String toString(){ return "Module"+(moduleId==null ? ":Hash_"+this.hashCode() : ":Id_"+moduleId); }
3,228,135
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Category) { Category c = (Category) obj; if (super.fill(c)) { c.setName(this.getName()); c.setDescription(this.getDescription()); ...
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Category) { Category c = (Category) obj; if (super.fill(c)) { c.setName(this.getName()); c.setDescription(this.getDescription()); ...
3,228,136
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Category) { Category c = (Category) obj; if (super.fill(c)) { c.setName(this.getName()); c.setDescription(this.getDescription()); ...
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof Category) { Category c = (Category) obj; if (super.fill(c)) { c.setName(this.getName()); c.setDescription(this.getDescription()); ...
3,228,137
IncludeDirective(Object fileName) { _fileName = fileName; }
IncludeDirective(Macro fileName) { _fileName = fileName; }
3,228,138
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
3,228,139
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
3,228,140
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
3,228,141
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
public static Object build(BuildContext rc, Object target) { IncludeDirective id = new IncludeDirective(target); if (! (target instanceof Macro)) { try { return (id.evaluate(null)); } catch (Exception e) { // try again at runtime } } retur...
3,228,142
final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to...
final public Object evaluate(Context context) throws InvalidContextException { Object fname = _fileName.evaluate(context); if (fname == null) { throw new InvalidContextException( "#include could not resolve filename: " + "target argument resolved to a null."); } try { fname = (_fileName inst...
3,228,143
final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to...
final public Object evaluate(Context context) throws InvalidContextException { Object fname = null; try { fname = (_fileName instanceof Macro) ? ((Macro) _fileName).evaluate(context) : _fileName; if (fname == null) { throw new InvalidContextException("Attempt to...
3,228,144
public void commit() { LocalPreferences pref = SettingsManager.getLocalPreferences(); pref.setTimeDisplayedInChat(panel.getShowTime()); pref.setSpellCheckerEnabled(!panel.isSpellCheckerOn()); pref.setChatRoomNotifications(!panel.isGroupChatNotificationsOn()); pref.setHideChatHisto...
public void commit() { LocalPreferences pref = SettingsManager.getLocalPreferences(); pref.setTimeDisplayedInChat(panel.getShowTime()); pref.setSpellCheckerEnabled(!panel.isSpellCheckerOn()); pref.setChatRoomNotifications(!panel.isGroupChatNotificationsOn()); pref.setHideChatHisto...
3,228,145
public RubyFile(IRuby runtime, String path, final Reader reader) { this(runtime, path, new InputStream() { public int read() throws IOException { return reader.read(); } }); }
public RubyFile(IRuby runtime, String path, final Reader reader) { this(runtime, path, new InputStream() { public int read() throws IOException { return reader.read(); } }); }
3,228,146
public final static void endCallArgs(final Ruby ruby, final Block actBlock) { if (actBlock != null) { // XXX ruby.getBlock().push(actBlock); // Refresh the next attribute. } ruby.getIterStack().pop(); }
public final static void endCallArgs( final Ruby ruby, final Block actBlock) { if (actBlock != null) { // XXX ruby.getBlock().push(actBlock); // Refresh the next attribute. } ruby.getIterStack().pop(); }
3,228,147
public final static RubyObject[] setupArgs(final Ruby ruby, final EvaluateVisitor visitor, final INode node) { if (node == null) { return new RubyObject[0]; } final String file = ruby.getSourceFile(); final int line = ruby.getSourceLine(); final RubyObject args = visito...
public final static RubyObject[] setupArgs( final Ruby ruby, final EvaluateVisitor visitor, final INode node) { if (node == null) { return new RubyObject[0]; } final String file = ruby.getSourceFile(); final int line = ruby.getSourceLine(); final RubyObject args = visit...
3,228,148
public void rollback() { SessionFactory sf = getHibernateTemplate().getSessionFactory(); Session s = SessionFactoryUtils.getSession(sf,false); try { s.connection().rollback(); } catch (SQLException sqle){ getHibernateTemplate().getJdbcExceptio...
public void rollback() { SessionFactory sf = getHibernateTemplate().getSessionFactory(); Session s = SessionFactoryUtils.getSession(sf,false); try { s.connection().rollback(); } catch (SQLException sqle){ getHibernateTemplate().getJdbcExceptio...
3,228,150
public UpdateFilter(HibernateOperations hibernateOperations) { this.hibernateOps = hibernateOperations; }
public UpdateFilter(HibernateOperations hibernateOperations) { this.hibernateOps = hibernateOperations; }
3,228,151
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
3,228,152
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
3,228,153
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
public void execute() throws BuildException { initArgs(); if (toDir != null) { addArg("-d"); addArg(toDir.toString()); } // TODO: ignoreRegex.setRegex() is never called if (ignoreRegex != null) { addArg("-ignore"); addArg(ignoreRegex.getRegex()); } Set filenames = new HashSet(); Iterator i = fileSets...
3,228,154
String baseDir(FileSet fileSet) { return fileSet.getDirectoryScanner(getProject()).getBasedir() .toString(); }
String baseDir(FileSet fileSet) { return fileSet.getDirectoryScanner(getProject()).getBasedir() .toString(); }
3,228,155
String[] getFilenames(FileSet fileSet) { String[] filesToReturn = getIncludedFiles(fileSet); if (toDir != null) { IdentityMapper m = new IdentityMapper(); SourceFileScanner sfs = new SourceFileScanner(this); filesToReturn = sfs.restrict(getIncludedFiles(fileSet), fileSet .getDir(getProject()), toDir, m); ...
String[] getFilenames(FileSet fileSet) { String[] filesToReturn = getIncludedFiles(fileSet); if (toDir != null) { IdentityMapper m = new IdentityMapper(); SourceFileScanner sfs = new SourceFileScanner(this); filesToReturn = sfs.restrict(getIncludedFiles(fileSet), fileSet .getDir(getProject()), toDir, m); ...
3,228,156
public int countImageAttributes(String typeName, List imageIDList) throws DSOutOfServiceException, DSAccessException;
public int countImageAttributes(SemanticType type, List imageIDList) throws DSOutOfServiceException, DSAccessException;
3,228,157
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
3,228,158
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
3,228,159
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
3,228,160
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
Attribute createNewData(String semanticTypeName) throws DSOutOfServiceException, DSAccessException { Attribute retVal = null; try { retVal = getDataFactory().createNew(semanticTypeName); } catch (Exception e) { handleException(e, "Can't create Attribute: "+semanticTypeName+"."); } return retVal; }
3,228,161
public List retrieveImageAttributes(String typeName, List imageIDs) throws DSOutOfServiceException, DSAccessException;
public List retrieveImageAttributes(SemanticType type, List imageIDs) throws DSOutOfServiceException, DSAccessException;
3,228,162
public Glob(String pattern) { // Java File will strip trailing path delimeter. // Make a boolean for this special case (how about multiple slashes?) if (pattern.endsWith("/")) { patternEndsWithPathDelimeter = true; } this.pattern = new File(pattern); //.getAbsol...
public Glob(String pattern) { // Java File will strip trailing path delimeter. // Make a boolean for this special case (how about multiple slashes?) if (pattern.endsWith("/")) { patternEndsWithPathDelimeter = true; } this.pattern = new File(pattern); if (!this....
3,228,163
public File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { ...
private File[] getFiles() { String[] dirs = splitPattern(); File root = new File(dirs[0]); int idx = 1; if (dirs[0].indexOf('*') > -1 || dirs[0].indexOf('?') > -1) { root = new File("."); idx = 0; } for (int size = dirs.length; idx < size; idx++) { ...
3,228,164
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
3,228,166
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
3,228,167
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
private static Collection getMatchingFiles(final File parent, final String pattern, final boolean isDirectory) { if (pattern.equals("**")) { // TODO: This kind of recursive globbing pattern needs to be implemented! return Collections.EMPTY_LIST; } return Arrays.asList(pare...
3,228,168
public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && filter.accept(parent, pathname.getName()); }
public boolean accept(File pathname) { return (pathname.isDirectory() || !isDirectory) && SelectorUtils.matchPath(pattern, pathname.getName()); }
3,228,169
public String[] getNames() { File[] files = getFiles(); String[] names = new String[files.length]; for (int i = 0, size = files.length; i < size; i++) { names[i] = files[i].getPath() + (patternEndsWithPathDelimeter ? "/" : ""); } return names; }
public String[] getNames() { File[] files = getFiles(); String[] names = new String[files.length]; for (int i = 0, size = files.length; i < size; i++) { if (patternIsRelative && files[i].getPath().startsWith(cwd)) { names[i] = files[i].getPath().substring(cwd.length()) + (patternEnd...
3,228,170
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == File.separatorChar) { if (sb.length() > 0) { ...
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == '/' || path.charAt(i) == '\\') { if (sb.length(...
3,228,171
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == File.separatorChar) { if (sb.length() > 0) { ...
private String[] splitPattern() { ArrayList dirs = new ArrayList(); String path = pattern.getPath(); StringBuffer sb = new StringBuffer(); for(int i = 0, size = path.length(); i < size; i++) { if (path.charAt(i) == File.separatorChar) { if (sb.length() > 0) { ...
3,228,172
public static IRubyObject primitive_to_java(IRubyObject recv, IRubyObject object) { Ruby runtime = recv.getRuntime(); Object javaObject = JavaUtil.convertRubyToJava(object); return JavaObject.wrap(runtime, javaObject); }
public static IRubyObject primitive_to_java(IRubyObject recv, IRubyObject object) { Ruby runtime = recv.getRuntime(); Object javaObject; if (object.isNil()) { javaObject = null; } else if (object instanceof RubyFixnum) { javaObject = new Long(((RubyFixnum) object).getLongValue()); } else if (object in...
3,228,175
public Object get(Object key) { int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; Node last = null; Object nodeKey; synchronized (locks[hash]) { Node node = tab[hash]; while (node != null) { if (node.get() == key) { if (last != null) { ...
public Object get(Object key) { int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; Node last = null; synchronized (locks[hash]) { Node node = tab[hash]; while (node != null) { if (node.get() == key) { if (last != null) { ...
3,228,176
public void put(Object key, Object value) { processQueue(); if (key == null) { return; } if (value == null) { remove(key); return; } int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; boolean found = false; synchronized (locks[hash]) {...
public void put(Object key, Object value) { processQueue(); if (key == null) { return; } if (value == null) { remove(key); return; } int hash = (System.identityHashCode(key) & 0x7FFFFFFF) % tab.length; synchronized (locks[hash]) { Node node = ta...
3,228,177
public static RubyFloat atan2(IRubyObject recv, IRubyObject other, IRubyObject other2) { double x = RubyNumeric.numericValue(other).getDoubleValue(); double y = RubyNumeric.numericValue(other2).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.atan2(x, y)); }
public static RubyFloat atan2(IRubyObject recv, IRubyObject other, IRubyObject other2) { double x = RubyNumeric.numericValue(other).getDoubleValue(); double y = RubyNumeric.numericValue(other2).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.atan2(x, y)); }
3,228,178
public static RubyFloat cos(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.cos(x)); }
public static RubyFloat cos(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.cos(x)); }
3,228,179
public static RubyFloat exp(IRubyObject recv, IRubyObject other) { double exponent = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.exp(exponent)); }
public static RubyFloat exp(IRubyObject recv, IRubyObject other) { double exponent = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.exp(exponent)); }
3,228,180
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,181
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,182
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,183
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,184
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,185
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
public static RubyArray frexp(IRubyObject recv, IRubyObject other) { double mantissa = RubyNumeric.numericValue(other).getDoubleValue(); short sign = 1; double exponent = 0; if (mantissa != 0.0) { // Make mantissa same sign so we only have one code path. if (mantissa < 0) { mantissa = -mantissa; sign = -1...
3,228,186
public static RubyFloat ldexp(IRubyObject recv, IRubyObject x, IRubyObject y) { double mantissa = RubyNumeric.numericValue(x).getDoubleValue(); double exponent = RubyNumeric.numericValue(y).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), mantissa * Math.pow(2.0, exponent)); }
public static RubyFloat ldexp(IRubyObject recv, IRubyObject x, IRubyObject y) { double mantissa = RubyNumeric.numericValue(x).getDoubleValue(); double exponent = RubyNumeric.numericValue(y).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), mantissa * Math.pow(2.0, exponent)); }
3,228,187
public static RubyFloat ldexp(IRubyObject recv, IRubyObject x, IRubyObject y) { double mantissa = RubyNumeric.numericValue(x).getDoubleValue(); double exponent = RubyNumeric.numericValue(y).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), mantissa * Math.pow(2.0, exponent)); }
public static RubyFloat ldexp(IRubyObject recv, IRubyObject x, IRubyObject y) { double mantissa = RubyNumeric.numericValue(x).getDoubleValue(); double exponent = RubyNumeric.numericValue(y).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), mantissa.getDoubleValue() * Math.pow(2.0, ex...
3,228,188
public static RubyFloat log(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x)); }
public static RubyFloat log(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x)); }
3,228,189
public static RubyFloat log10(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x) / Math.log(10)); }
public static RubyFloat log10(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x) / Math.log(10)); }
3,228,190
public static RubyFloat log10(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x) / Math.log(10)); }
public static RubyFloat log10(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.log(x.getDoubleValue()) / Math.log(10)); }
3,228,191
public static RubyFloat sin(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.sin(x)); }
public static RubyFloat sin(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.sin(x)); }
3,228,192
public static RubyFloat sqrt(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } return RubyFloat.newFloat(recv.getRuntime(), Math.sqrt(x)); }
public static RubyFloat sqrt(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } return RubyFloat.newFloat(recv.getRuntime(), Math.sqrt(x)); }
3,228,193
public static RubyFloat sqrt(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } return RubyFloat.newFloat(recv.getRuntime(), Math.sqrt(x)); }
public static RubyFloat sqrt(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); if (x < 0) { throw new ArgumentError(recv.getRuntime(), "square root for negative number"); } return RubyFloat.newFloat(recv.getRuntime(), Math.sqrt(x)); }
3,228,194
public static RubyFloat tan(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.tan(x)); }
public static RubyFloat tan(IRubyObject recv, IRubyObject other) { double x = RubyNumeric.numericValue(other).getDoubleValue(); return RubyFloat.newFloat(recv.getRuntime(), Math.tan(x)); }
3,228,195
public void contentComplete() { if (dataManager.getDatasets() != null || dataManager.getProjects() != null) { buildGUI((ModulesData) modLoader.getContents()); uiManager.contentComplete(); topWindowManager.continueHandleDisplay(); dataState = LOADED; } }
public void contentComplete() { if (dataManager.getDatasets() != null || dataManager.getProjects() != null) { buildGUI((ModulesData) modLoader.getContents()); uiManager.contentComplete(); topWindowManager.continueHandleDisplay(); dataState = LOADED; } }
3,228,197
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
3,228,200
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
3,228,201
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
public Object getContents() { long modstart = System.currentTimeMillis(); if (ChainBuilderAgent.DEBUG) modstart = System.currentTimeMillis(); ChainDataManager chainDataManager = (ChainDataManager) dataManager; if (modData == null) { modData = new ModulesData(); long loadStart = System.currentTimeMillis(); ...
3,228,202
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG) { long end = System.currentTimeM...
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG_TIMING) { long end = System.curre...
3,228,203
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG) { long end = System.currentTimeM...
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG_TIMING) { long end = System.curre...
3,228,204
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG) { long end = System.currentTimeM...
public void contentComplete() { long start; if (ChainBuilderAgent.DEBUG) start= System.currentTimeMillis(); chainWindow.buildGUI(); long chainBuilt; if (ChainBuilderAgent.DEBUG) chainBuilt= System.currentTimeMillis()-start; overview.buildGUI(); if (ChainBuilderAgent.DEBUG) { long end = System.currentTimeM...
3,228,205
public void unhighlightModules(ChainModuleData mod) { handler.unhighlightModules(mod); }
public void unhighlightModules(ChainModuleData mod) { handler.unhighlightModules(mod); }
3,228,206
public CategoryGroupLoader(HiViewer viewer, Set ids) { super(viewer); this.ids = ids; }
public CategoryGroupLoader(HiViewer viewer, Set ids, boolean refresh) { super(viewer); this.ids = ids; }
3,228,209
public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; //Async cancel. viewer.setHierarchyRoots((Set) result, false); }
public void handleResult(Object result) { if (viewer.getState() == HiViewer.DISCARDED) return; //Async cancel. viewer.setHierarchyRoots((Set) result, false, refresh); }
3,228,211
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (baseDir == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directory...
3,228,212
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); baseDir = new File("."); } directory...
3,228,213
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
3,228,214
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
public void afterPropertiesSet() throws Exception { if (classLoader == null) { classLoader = getClass().getClassLoader(); } if (directory == null) { log.warn("No directory specified so using current directory"); directory = new File("."); } directo...
3,228,215
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase...
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase...
3,228,216
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase...
protected void createServiceForFile(String name, File file, ClassLoader classLoader) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { String fileName = file.getName(); ServiceFactory serviceFactory = null; if (fileName.equalsIgnoreCase...
3,228,217
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
3,228,218
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
3,228,219
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
protected void processDirectory(ClassLoader classLoader, String parentName, File directory) throws ServiceAlreadyExistsException, ServiceRegistrationException, BeansException, IOException { File[] files = directory.listFiles(); if (files == null) { return; } // lets...
3,228,220
public void run() { try { processDirectory(classLoader, "", directory); } catch (Exception e) { log.error("Failed to deploy services: " + e, e); } }
public void run() { try { String name = ""; if (applicationContext != null) { name = applicationContext.getDisplayName(); } processDirectory(name, classLoader, applicationContext, baseDir); } catch (Exception e) { log.error("Failed to deploy services: " + e, e); } ...
3,228,221
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b...
public void push(NODE v, NODE b, RubyObject newSelf) { RubyBlock oldBlock = new RubyBlock(var, body, self, frame, scope, klass, iter, vmode, flags, dynamicVars, origThread, prev, ruby); var = v; body = b...
3,228,222
public String toString() { return "\"" + getValue() + "\""; }
public String toString() { return getValue(); }
3,228,223
public RubyIndexException(String msg) { super(msg); }
public RubyIndexException(String msg) { super(msg); }
3,228,224
public Wiki(String propertiesFilename) throws Exception { if (propertiesFilename == null) propertiesFilename = DEFAULT_PROPERTIES; create(propertiesFilename); _dateStarted = new Date(); }
public Wiki(String propertiesFilename) throws Exception { if (propertiesFilename == null) propertiesFilename = DEFAULT_PROPERTIES; create(propertiesFilename); _dateStarted = new Date(); }
3,228,225
public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile().getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--forma...
public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile().getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "--forma...
3,228,227
public void testXMLReportWithNonSourceLines() throws Exception { ProjectData projectData = new ProjectData(); // Adding line to the project data that hasn't been yet marked as source line ClassData cd = projectData.getOrCreateClassData(XMLReport.class.getName()); cd.touch(7777); File reportDir = File.createTempF...
public void testXMLReportWithNonSourceLines() throws Exception { ProjectData projectData = new ProjectData(); // Adding line to the project data that hasn't been yet marked as source line ClassData cd = projectData.getOrCreateClassData(XMLReport.class.getName()); cd.touch(7777); File reportDir = File.createTempF...
3,228,228
public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; }
public ClassData getOrCreateClassData(String name) { boolean done = fullClassNames.contains(name); ClassData classData = new ClassData(name); if (!done) { addClassData(classData); fullClassNames.add(name); } else { classData = getClassData(name); } return classData; }
3,228,229