bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public SWDownloadFile( DDownloadFile dFile ) { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) ... | private SWDownloadFile() { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) { de... | 1,115,467 |
public SWDownloadFile( DDownloadFile dFile ) { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) ... | public SWDownloadFile( DDownloadFile dFile ) { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) ... | 1,115,468 |
public SWDownloadFile( DDownloadFile dFile ) { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) ... | public SWDownloadFile( DDownloadFile dFile ) { this(); URN fileUrn = null; if ( dFile.getFileURN() != null ) { fileUrn = new URN( dFile.getFileURN() ); } String destDir = dFile.getDestinationDirectory(); if ( !StringUtils.isEmpty( destDir ) ) ... | 1,115,469 |
public static DPhex loadDPhexFromFile( ManagedFile managedFile ) throws IOException, ManagedFileException { if ( !managedFile.getFile().exists() ) { return null; } NLogger.debug( XMLBuilder.class, "Loading DPhex from: " + managedFile ); InputStream inStream = ... | public static DPhex loadDPhexFromFile( ManagedFile managedFile ) throws IOException, ManagedFileException { if ( !managedFile.exists() ) { return null; } NLogger.debug( XMLBuilder.class, "Loading DPhex from: " + managedFile ); InputStream inStream = null; ... | 1,115,470 |
public void fireDisplayUserMessage( String userMessageId, String[] args ) { // if initialized if ( userMessageListener != null ) { userMessageListener.displayUserMessage( userMessageId, args ); } } | public void fireDisplayUserMessage( String userMessageId ) { // if initialized if ( userMessageListener != null ) { userMessageListener.displayUserMessage( userMessageId, args ); } } | 1,115,471 |
public void fireDisplayUserMessage( String userMessageId, String[] args ) { // if initialized if ( userMessageListener != null ) { userMessageListener.displayUserMessage( userMessageId, args ); } } | public void fireDisplayUserMessage( String userMessageId, String[] args ) { // if initialized if ( userMessageListener != null ) { userMessageListener.displayUserMessage( userMessageId, null ); } } | 1,115,472 |
public void stopDownload() { setStatus( STATUS_FILE_STOPPED ); stopAllWorkers( true ); } | public void stopDownload( SWDownloadCandidate candidate ) { setStatus( STATUS_FILE_STOPPED ); stopAllWorkers( true ); } | 1,115,473 |
public void stopDownload() { setStatus( STATUS_FILE_STOPPED ); stopAllWorkers( true ); } | public void stopDownload() { setStatus( STATUS_FILE_STOPPED ); stopAllWorkers( true ); } | 1,115,474 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); r.nextBuild = prev.nextBuild; r.previousBuild = prev; if(r.nextB... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); r.nextBuild = prev.nextBuild; r.previousBuild = prev; if(r.nextB... | 1,115,475 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); r.nextBuild = prev.nextBuild; r.previousBuild = prev; if(r.nextB... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); r.nextBuild = prev.nextBuild; r.previousBuild = prev; if(r.nextB... | 1,115,476 |
public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; owner.deleteView(this); rsp.sendRedirect(req.getContextPath()); } | public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; owner.deleteView(this); rsp.sendRedirect(req.getContextPath()+"/"); } | 1,115,478 |
private void printCommandLine(String[] cmd) { StringBuffer buf = new StringBuffer(); buf.append('$'); for (String c : cmd) { buf.append(' ').append(c); } listener.getLogger().println(buf.toString()); } | private void printCommandLine(String[] cmd, FilePath workDir) { StringBuffer buf = new StringBuffer(); buf.append('$'); for (String c : cmd) { buf.append(' ').append(c); } listener.getLogger().println(buf.toString()); } | 1,115,480 |
public Proc(String[] cmd,String[] env,OutputStream out, File workDir) throws IOException { this( Runtime.getRuntime().exec(cmd,env,workDir), null, out ); } | public Proc(String[] cmd,String[] env,OutputStream out, File workDir) throws IOException { this( Runtime.getRuntime().exec(cmd,env,workDir), null, out ); } | 1,115,482 |
public void setAmountAndUnits(String a){ int i = a.indexOf(" "); String d = a.substring(0,i); String u = a.substring(i); postBoilVol.setQuantity( null, u.trim(), Double.parseDouble(d.trim())); } | public void setAmountAndUnits(String a){ int i = a.indexOf(" "); String d = a.substring(0,i); String u = a.substring(i); preBoilVol.setQuantity( null, u.trim(), Double.parseDouble(d.trim())); postBoilVol.setQuantity( null, u.trim(), Double.parseDouble(d.trim())); } | 1,115,483 |
public void setCost(String c){ if (c.substring(0,1).equals("$")) { c = c.substring(1, c.length()); // trim leading "$" } costPerU = Double.parseDouble(c); } | public void setCost(String c){ if (c.substring(0,1).equals("$")) { c = c.substring(1, c.length()); // trim leading "$" } costPerU = Double.parseDouble(c); } | 1,115,485 |
public Node getNode() { return node; } | public Node getNode() { if(nodeName==null) return Hudson.getInstance(); return Hudson.getInstance().getSlave(nodeName); } | 1,115,487 |
public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.dv.addStandardDiffRules(); try { // parse the string Node node = j.parse... | public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.addStandardDiffRules(); try { // parse the string Node node = j.parse("s... | 1,115,488 |
public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.dv.addStandardDiffRules(); try { // parse the string Node node = j.parse... | public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.dv.addStandardDiffRules(); try { // parse the string Node node = j.parse... | 1,115,489 |
public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.dv.addStandardDiffRules(); try { // parse the string Node node = j.parse... | public static void main(String args[]) { /* initilisation */ DJep j = new DJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setAllowAssignment(true); j.setImplicitMul(true); j.dv.addStandardDiffRules(); try { // parse the string Node node = j.parse... | 1,115,490 |
public void ignorableWhitespace(char buf[], int offset, int len) throws SAXException { nl(); // emit("IGNORABLE"); } | public void ignorableWhitespace(char buf[], int offset, int len) throws SAXException { // emit("IGNORABLE"); } | 1,115,491 |
public void processingInstruction(String target, String data) throws SAXException { nl(); emit("PROCESS: "); emit("<?" + target + " " + data + "?>"); } | public void processingInstruction(String target, String data) throws SAXException { emit("PROCESS: "); emit("<?" + target + " " + data + "?>"); } | 1,115,492 |
public XMLDataSet(DocumentBuilder docBuilder, URL base, Element config) { this(docBuilder, base); this.config = config; } | public XMLDataSet(DocumentBuilder docBuilder, URL base, Element config) { this(docBuilder, base); this.config = config; } | 1,115,494 |
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | 1,115,495 |
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | 1,115,496 |
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S... | public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S... | 1,115,497 |
public DataSet createChildDataSet(String id, String name, String owner, AuditInfo[] audit) { dataSetIdCache = null; XMLDataSet dataset = new XMLDataSet(docBuilder, base, id, name, owner); addDataSet(dataset, audit); return dataset; } | public DataSet createChildDataSet(String id, String name, String owner, AuditInfo[] audit) { dataSetIdCache = null; XMLDataSet dataset = new XMLDataSet(docBuilder, base, id, name, owner); return dataset; } | 1,115,498 |
public DataSet getDataSet(String name) { String[] ids = getDataSetIds(); for (int i=0; i<ids.length; i++) { DataSet ds = getDataSetById(ids[i]); if (name == ds.getName()) { return ds; } } // end of for (int i=0; i<ids.length; i++) return nu... | public DataSet getDataSet(String name) { String[] ids = getDataSetIds(); for (int i=0; i<ids.length; i++) { DataSet ds = getDataSetById(ids[i]); logger.debug("++++++++ name is "+name +" the datasetID name is "+ds.getName()); if (name.equals(ds.getName())) { return ... | 1,115,499 |
public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].equals(name)) counter++; } if(counter == 0) return name; return name+"_"+counter; } | public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].equals(name)) counter++; } if(counter == 0) return name; return name+"_"+counter; } | 1,115,501 |
public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].equals(name)) counter++; } if(counter == 0) return name; return name+"_"+counter; } | public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].indexOf(name) != -1) counter++; } if(counter == 0) return name; return name+"_"+counter; } | 1,115,502 |
public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].equals(name)) counter++; } if(counter == 0) return name; return name+"_"+counter; } | public String getUniqueName(String name) { String[] nameList = getSeismogramNames(); int counter = 0; for(int i = 0; i < nameList.length; i++) { if(nameList[i].equals(name)) counter++; } if(counter == 0) return name; return name+"_"+(counter+1); } | 1,115,503 |
public synchronized RunT getLastStableBuild() { RunT r = getLastBuild(); while(r!=null && r.getResult()!=null && r.getResult().isWorseThan(Result.SUCCESS)) r=r.getPreviousBuild(); return r; } | public synchronized RunT getLastStableBuild() { RunT r = getLastBuild(); while(r!=null && (r.getResult()==null || r.getResult().isWorseThan(Result.SUCCESS))) r=r.getPreviousBuild(); return r; } | 1,115,506 |
public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); while(r!=null && r.getResult()!=null && r.getResult().isWorseThan(Result.UNSTABLE)) r=r.getPreviousBuild(); return r; } | public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); while(r!=null && (r.getResult()==null || r.getResult().isWorseThan(Result.UNSTABLE))) r=r.getPreviousBuild(); return r; } | 1,115,507 |
public static Message parseMessage( MsgHeader header, Connection connection ) throws IOException, InvalidMessageException { byte[] body = readMessageBody( connection, header.getDataLength() ); Message message = createMessageFromBody( header, body ); return message; } | public static Message parseMessage( Connection connection ) throws IOException, InvalidMessageException { byte[] body = readMessageBody( connection, header.getDataLength() ); Message message = createMessageFromBody( header, body ); return message; } | 1,115,509 |
public static Message parseMessage( MsgHeader header, Connection connection ) throws IOException, InvalidMessageException { byte[] body = readMessageBody( connection, header.getDataLength() ); Message message = createMessageFromBody( header, body ); return message; } | public static Message parseMessage( MsgHeader header, Connection connection ) throws IOException, InvalidMessageException { byte[] body = readMessageBody( connection, header.getDataLength() ); Message message = createMessageFromBody( header, body ); return message; } | 1,115,510 |
public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { rsp.sendRedirect(req.getContextPath()+'/'+getBuildStatusUrl()); } | public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { rsp.sendRedirect(req.getContextPath()+"/nocacheImages/48x48/"+getBuildStatusUrl()); } | 1,115,512 |
public Node substitute(Node orig,String name,Node replacement,XJep xjep) throws ParseException { this.names = new String[]{name}; this.replacements = new Node[]{replacement}; this.xjep=xjep; Node res = (Node) orig.jjtAccept(this,null); return res; } | public Node substitute(Node orig,String name,Node replacement,XJep xj) throws ParseException { this.names = new String[]{name}; this.replacements = new Node[]{replacement}; this.xjep=xjep; Node res = (Node) orig.jjtAccept(this,null); return res; } | 1,115,513 |
public Node substitute(Node orig,String name,Node replacement,XJep xjep) throws ParseException { this.names = new String[]{name}; this.replacements = new Node[]{replacement}; this.xjep=xjep; Node res = (Node) orig.jjtAccept(this,null); return res; } | public Node substitute(Node orig,String name,Node replacement,XJep xjep) throws ParseException { this.names = new String[]{name}; this.replacements = new Node[]{replacement}; this.xjep=xj; Node res = (Node) orig.jjtAccept(this,null); return res; } | 1,115,514 |
public static void main(String[] args) { XJep j = new XJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); try { // parse expression Node node = j.parse("a*b+c*(d+sin(x))"); // print it j.println(nod... | public static void main(String[] args) { XJep j = new XJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); try { // parse expression Node node = j.parse("a*b+c*(d+sin(x))"); // print it j.println(nod... | 1,115,515 |
public static void main(String[] args) { XJep j = new XJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); try { // parse expression Node node = j.parse("a*b+c*(d+sin(x))"); // print it j.println(nod... | public static void main(String[] args) { XJep j = new XJep(); j.addStandardConstants(); j.addStandardFunctions(); j.addComplex(); j.setAllowUndeclared(true); j.setImplicitMul(true); j.setAllowAssignment(true); try { // parse expression Node node = j.parse("a*b+c*(d+sin(x))"); // print it j.println(nod... | 1,115,516 |
public synchronized void signal() { if(signaled) throw new IllegalStateException(); // already signaled this.signaled = true; notify(); } | public synchronized void signal() { if(signaled) throw new IllegalStateException(); // already signaled this.signaled = true; notify(); } | 1,115,517 |
public void setStatus( HostStatus status, String msg, long statusTime) { if ( this.status == status && lastStatusMsg != null && lastStatusMsg.equals(msg) ) { return; } this.status = status; lastStatusMsg = msg; this.statusTime = statusTime; hostsContainer.fireNetwork... | public void setStatus( HostStatus status) { if ( this.status == status && lastStatusMsg != null && lastStatusMsg.equals(msg) ) { return; } this.status = status; lastStatusMsg = msg; this.statusTime = statusTime; hostsContainer.fireNetworkHostChanged(this); } | 1,115,518 |
public void setStatus( HostStatus status, String msg, long statusTime) { if ( this.status == status && lastStatusMsg != null && lastStatusMsg.equals(msg) ) { return; } this.status = status; lastStatusMsg = msg; this.statusTime = statusTime; hostsContainer.fireNetwork... | public void setStatus( HostStatus status, String msg, long statusTime) { if ( this.status == status && lastStatusMsg != null && lastStatusMsg.equals(msg) ) { return; } this.status = status; lastStatusMsg = msg; this.statusTime = statusTime; hostsContainer.fireNetwork... | 1,115,519 |
public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | 1,115,520 |
public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return new Double(data.getStepEndTemp(row)) ; case 4 ... | 1,115,521 |
public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | 1,115,522 |
public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | public Object getValueAt(int row, int col) { try { switch (col) { case 0 : return data.getStepType(row); case 1 : return data.getStepMethod(row); case 2 : return data.df1.format( new Double(data.getStepStartTemp(row)) ); case 3 : return data.df1.format( new Double(data.getStepEndTemp(r... | 1,115,523 |
public void setValueAt(Object value, int row, int col) { try { switch (col) { case 0 : data.setStepType(row, value.toString()); break; case 1 : data.setStepMethod(row, value.toString()); break; case 2 : data.setStepStartTemp(row, Integer.parseInt(value.toString())); break; ... | public void setValueAt(Object value, int row, int col) { try { switch (col) { case 0 : data.setStepType(row, value.toString()); break; case 1 : data.setStepMethod(row, value.toString()); break; case 2 : data.setStepStartTemp(row, Double.parseDouble(value.toString())); break; ... | 1,115,525 |
public void setValueAt(Object value, int row, int col) { try { switch (col) { case 0 : data.setStepType(row, value.toString()); break; case 1 : data.setStepMethod(row, value.toString()); break; case 2 : data.setStepStartTemp(row, Integer.parseInt(value.toString())); break; ... | public void setValueAt(Object value, int row, int col) { try { switch (col) { case 0 : data.setStepType(row, value.toString()); break; case 1 : data.setStepMethod(row, value.toString()); break; case 2 : data.setStepStartTemp(row, Integer.parseInt(value.toString())); break; ... | 1,115,526 |
private Map<String,String> inherit(String[] env) { Map<String,String> m = new HashMap<String,String>(EnvVars.masterEnvVars); for( int i=0; i<env.length; i+=2 ) { if(env[i+1]==null) m.remove(env[i]); else m.put(env[i],env[i+1]); } return... | private Map<String,String> inherit(String[] env) { Map<String,String> m = new HashMap<String,String>(EnvVars.masterEnvVars); for( int i=0; i<env.length; i+=2 ) { if(env[i+1]==null) m.remove(env[i]); else m.put(env[i],env[i+1]); } return... | 1,115,527 |
private Map<String,String> inherit(String[] env) { Map<String,String> m = new HashMap<String,String>(EnvVars.masterEnvVars); for( int i=0; i<env.length; i+=2 ) { if(env[i+1]==null) m.remove(env[i]); else m.put(env[i],env[i+1]); } return... | private Map<String,String> inherit(String[] env) { Map<String,String> m = new HashMap<String,String>(EnvVars.masterEnvVars); for( int i=0; i<env.length; i+=2 ) { if(env[i+1]==null) m.remove(env[i]); else m.put(key,value); } return m; ... | 1,115,528 |
public void testBad() throws ParseException { if(SHOW_BAD) { simplifyTest("1&&(1||x)","1"); simplifyTest("diff(sgn(x),x)","0"); // sgn not implemented simplifyTest("diff(re(x+i y),x)","1"); // not smart enought to work out re(i) = 1 simplifyTest("diff(re(x+i y),y)","0"); simplifyTest("diff(im(x+i y),x)","0... | public void testBad() throws Exception { if(SHOW_BAD) { simplifyTest("1&&(1||x)","1"); simplifyTest("diff(sgn(x),x)","0"); // sgn not implemented simplifyTest("diff(re(x+i y),x)","1"); // not smart enought to work out re(i) = 1 simplifyTest("diff(re(x+i y),y)","0"); simplifyTest("diff(im(x+i y),x)","0"); ... | 1,115,529 |
public Complex getComplexValue() { Object value = getValueAsObject(); if (value == null) { return null; } else if (value instanceof Number) { return new Complex(((Number)value).doubleValue(), 0); } else if (value instanceof Complex) { return (Complex)value; } else { return null; } } | public Complex getComplexValue() { Object value = getValueAsObject(); if (value == null) { return null; } else if (value instanceof Number) { return new Complex(((Number)value).doubleValue(), 0); } else if (value instanceof Complex) { return (Complex)value; } else { return null; } } | 1,115,531 |
private void processFile(final String line) { if (line.startsWith("Working file:")) { m_file = line.substring(14, line.length()); m_status = GET_REVISION; } } | private void processFile(final String line) { if (line.startsWith("Working file:")) { m_file = line.substring(14, line.length()); m_status = GET_SYMBOLIC_NAMES; } } | 1,115,532 |
private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = (CVSEn... | private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = m_entr... | 1,115,534 |
private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = (CVSEn... | private void saveEntry() { final String entryKey = m_date + m_author + m_comment; CVSEntry entry; if (!m_entries.containsKey(entryKey)) { entry = new CVSEntry(parseDate(m_date), m_author, m_comment); m_entries.put(entryKey, entry); } else { entry = (CVSEn... | 1,115,535 |
public static XJBPhex loadXJBPhexFromFile( ManagedFile managedFile ) throws JAXBException { if ( !managedFile.getFile().exists() ) { return null; } //NLogger.debug(NLoggerNames.GLOBAL, "Loading XJBPhex from: " + managedFile ); XJBPhex phex; InputStream ... | public static XJBPhex loadXJBPhexFromFile( ManagedFile managedFile ) throws JAXBException { if ( !managedFile.exists() ) { return null; } //NLogger.debug(NLoggerNames.GLOBAL, "Loading XJBPhex from: " + managedFile ); XJBPhex phex; InputStream inStream =... | 1,115,538 |
public void cleanUp() { shuttingDown = true; for( Executor e : executors ) e.interrupt(); } | public void cleanUp() { shuttingDown = true; for( Executor e : executors ) e.interrupt(); } | 1,115,539 |
private void load() throws IOException { if(getConfigFile().exists()) { Reader r = new InputStreamReader(new FileInputStream(getConfigFile()),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } File projectsDir = new File(root,"jobs... | private void load() throws IOException { if(getConfigFile().exists()) { Reader r = new InputStreamReader(new FileInputStream(getConfigFile()),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } File projectsDir = new File(root,"jobs... | 1,115,540 |
private void load() throws IOException { if(getConfigFile().exists()) { Reader r = new InputStreamReader(new FileInputStream(getConfigFile()),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } File projectsDir = new File(root,"jobs... | private void load() throws IOException { if(getConfigFile().exists()) { Reader r = new InputStreamReader(new FileInputStream(getConfigFile()),"UTF-8"); createConfiguredStream().unmarshal(new XppReader(r),this); r.close(); } File projectsDir = new File(root,"jobs... | 1,115,541 |
public synchronized void save() throws IOException { Writer w = new OutputStreamWriter(new FileOutputStream(getConfigFile()),"UTF-8"); w.write("<?xml version='1.0' encoding='UTF-8'?>\n"); createConfiguredStream().toXML(this,w); w.close(); } | public synchronized void save() throws IOException { Writer w = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(getConfigFile()),"UTF-8")); w.write("<?xml version='1.0' encoding='UTF-8'?>\n"); createConfiguredStream().toXML(this,w); w.close(); } | 1,115,543 |
static Job load(Hudson root, File dir) throws IOException { Reader r = new InputStreamReader(new FileInputStream(new File(dir,"config.xml")),"UTF-8"); Job job = (Job)createConfiguredStream().unmarshal(new XppReader(r)); r.close(); job.onLoad(root,dir.getName()); return job; } | static Job load(Hudson root, File dir) throws IOException { Reader r = new InputStreamReader(new FileInputStream(new File(dir,"config.xml")),"UTF-8"); Job job = (Job)createConfiguredStream().unmarshal(new XppReader(r)); r.close(); job.onLoad(root,dir.getName()); return job; } | 1,115,544 |
public void toXML( Object o, File f ) throws IOException { Writer w = new OutputStreamWriter(new FileOutputStream(f),"UTF-8"); w.write("<?xml version='1.0' encoding='UTF-8'?>\n"); toXML(o,w); w.close(); } | public void toXML( Object o, File f ) throws IOException { Writer w = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(f),"UTF-8")); w.write("<?xml version='1.0' encoding='UTF-8'?>\n"); toXML(o,w); w.close(); } | 1,115,545 |
public void run() { run(new Runner() { public Result run(BuildListener listener) throws IOException { if(!project.checkout(Build.this,listener)) return Result.FAILURE; if(!project.getScm().calcChangeLog(Build.this,new File(getRootDir(),"changelog.xm... | public void run() { run(new Runner() { public Result run(BuildListener listener) throws IOException { if(!project.checkout(Build.this,listener)) return Result.FAILURE; if(!project.getScm().calcChangeLog(Build.this,new File(getRootDir(),"changelog.xm... | 1,115,546 |
public Result run(BuildListener listener) throws IOException { if(!project.checkout(Build.this,listener)) return Result.FAILURE; if(!project.getScm().calcChangeLog(Build.this,new File(getRootDir(),"changelog.xml"),listener)) return Result.F... | public Result run(BuildListener listener) throws IOException { if(!project.checkout(Build.this,listener)) return Result.FAILURE; if(!project.getScm().calcChangeLog(Build.this,new File(getRootDir(),"changelog.xml"),listener)) return Result.F... | 1,115,547 |
SQETestAction(Build owner, DirectoryScanner results, BuildListener listener) { super(owner); listener.getLogger().println("Collecting JWSDP SQE reports"); int counter=0; File dataDir = getDataDir(); dataDir.mkdirs(); long buildTime = owner.getTimestamp().getTimeInMillis(); ... | SQETestAction(Build owner, DirectoryScanner results, BuildListener listener, boolean considerTestAsTestObject) { super(owner); listener.getLogger().println("Collecting JWSDP SQE reports"); int counter=0; File dataDir = getDataDir(); dataDir.mkdirs(); long buildTime = owner.... | 1,115,548 |
public ChangeLogSet getChangeSet() { if(scm==null) scm = new CVSChangeLogParser(); if(changeSet==null) // cached value changeSet = calcChangeSet(); return changeSet; } | public ChangeLogSet<?> getChangeSet() { if(scm==null) scm = new CVSChangeLogParser(); if(changeSet==null) // cached value changeSet = calcChangeSet(); return changeSet; } | 1,115,550 |
public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { rsp.sendRedirect(req.getContextPath()+"/nocacheImages/48x48/"+getBuildStatusUrl()); } | public void doBuildStatus( StaplerRequest req, StaplerResponse rsp ) throws IOException { rsp.sendRedirect2(req.getContextPath()+"/nocacheImages/48x48/"+getBuildStatusUrl()); } | 1,115,551 |
public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; Util.deleteRecursive(root); getParent().deleteJob(this); rsp.sendRedirect(req.getContextPath()+"/"); } | public synchronized void doDoDelete( StaplerRequest req, StaplerResponse rsp ) throws IOException { if(!Hudson.adminCheck(req,rsp)) return; Util.deleteRecursive(root); getParent().deleteJob(this); rsp.sendRedirect2(req.getContextPath()+"/"); } | 1,115,552 |
public String getUrl() { return "job/"+WHITESPACE_REPLACER.matcher(name).replaceAll("%20")+'/'; } | public String getUrl() { return "job/"+name+'/'; } | 1,115,553 |
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme... | 1,115,554 |
public void actionPerformed( ActionEvent e ) { if ( lastDownloadFile == null ) { return; } final File file = lastDownloadFile.getIncompleteFile(); if ( file == null ) { return; } ... | public void actionPerformed( ActionEvent e ) { if ( lastDownloadFile == null ) { return; } File file = null; try { file = lastDownloadFile.getIncompleteDownloadFile().getFile(); } catch ( ManagedFileException exp ) { NLogger.error( DownloadOvervi... | 1,115,556 |
private void updateInterface() { if ( lastDownloadFile == null ) { progressBar.setDownloadFile( null ); progressLabel.setText(""); downloadedLabel.setText(""); downloadedLabel.setToolTipText(""); remainingLabel.setText(""); remaining... | private void updateInterface() { if ( lastDownloadFile == null ) { progressBar.setDownloadFile( null ); progressLabel.setText(""); downloadedLabel.setText(""); downloadedLabel.setToolTipText(""); remainingLabel.setText(""); remaining... | 1,115,557 |
private void updateInterface() { if ( lastDownloadFile == null ) { progressBar.setDownloadFile( null ); progressLabel.setText(""); downloadedLabel.setText(""); downloadedLabel.setToolTipText(""); remainingLabel.setText(""); remaining... | private void updateInterface() { if ( lastDownloadFile == null ) { progressBar.setDownloadFile( null ); progressLabel.setText(""); downloadedLabel.setText(""); downloadedLabel.setToolTipText(""); remainingLabel.setText(""); remaining... | 1,115,558 |
public ASTFunNode buildUnfinishedOperatorNode(Operator op) throws ParseException { ASTFunNode res = new ASTFunNode(ParserTreeConstants.JJTFUNNODE); res.setOperator(op); return res; } | public ASTFunNode buildUnfinishedOperatorNode(Operator op) { ASTFunNode res = new ASTFunNode(ParserTreeConstants.JJTFUNNODE); res.setOperator(op); return res; } | 1,115,559 |
public void clearValues() { for(Enumeration e = this.elements(); e.hasMoreElements(); ) { Variable var = (Variable) e.nextElement(); if(!var.isConstant()) var.setValidValue(false); } } | public void clearValues() { for(Enumeration e = this.elements(); e.hasMoreElements(); ) { Variable var = (Variable) e.nextElement(); var.setValidValue(false); } } | 1,115,560 |
public VectorJep() { super(); opSet = new VOperatorSet(); this.ev = new VectorEvaluator(); this.parser.setInitialTokenManagerState(Parser.NO_DOT_IN_IDENTIFIERS); } | public VectorJep() { super(); opSet = new VOperatorSet(); this.ev = new VectorEvaluator(); this.parser.setInitialTokenManagerState(ParserConstants.NO_DOT_IN_IDENTIFIERS); } | 1,115,561 |
public Object evaluate(Node node) throws Exception { Object res = ev.getValue(node,new Vector(),this.getSymbolTable()); if(res instanceof Scaler) return ((Scaler) res).getEle(0); else return res; } | public Object evaluate(Node node) throws Exception { Object res = ev.getValue(node,new Vector(),this.getSymbolTable()); if(res instanceof Scaler) return ((Scaler) res).getEle(0); else return res; } | 1,115,562 |
@Test public void utf() throws SQLException { PreparedStatement prep = conn.prepareStatement( "select ?,?,?,?,?,?,?,?;"); prep.setString(1, utf01); prep.setString(2, utf02); prep.setString(3, utf03); prep.setString(4, utf04); prep.setString(5, utf05); prep.setString(6, utf06);... | @Test public void utf() throws SQLException { PreparedStatement prep = conn.prepareStatement( "select ?,?,?,?,?,?,?,?;"); prep.setString(1, utf01); prep.setString(2, utf02); prep.setString(3, utf03); prep.setString(4, utf04); prep.setString(5, utf05); prep.setString(6, utf06);... | 1,115,563 |
public void setName(String name) { Element nameElement = evalElement(config, "name"); nameElement.setNodeValue(name); } | public void setName(String name) { Element nameElement = evalElement(config, "name"); Text text = config.getOwnerDocument().createTextNode(name); nameElement.appendChild(text); config.appendChild(nameElement); } | 1,115,564 |
public EORelationship addBlankRelationship(String _name, EORelationshipPath _flattenRelationship) throws DuplicateNameException { String newRelationshipNameBase = _name; String newRelationshipName = newRelationshipNameBase; int newRelationshipNum = 0; while (getRelationshipNamed(newRelationshipName) != nu... | public EORelationship addBlankRelationship(String _name, EORelationshipPath _flattenRelationship) throws DuplicateNameException { String newRelationshipNameBase = _name; String newRelationshipName = newRelationshipNameBase; int newRelationshipNum = 0; while (getRelationshipNamed(newRelationshipName) != nu... | 1,115,566 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | 1,115,567 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | 1,115,568 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R first = m.isEmpty() ? null : m.get(m.firstKey()); R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.next... | 1,115,569 |
public Object umin(Object param) throws ParseException { if (param instanceof Number) { return new Double(-((Number)param).doubleValue()); } else if (param instanceof Complex) { return ((Complex)param).neg(); } throw new ParseException("Invalid parameter type"); } | public Object umin(Object param) throws ParseException { if (param instanceof Complex) return ((Complex)param).neg(); if (param instanceof Number) return new Double(-((Number)param).doubleValue()); } else if (param instanceof Complex) { return ((Complex)param).neg(); } throw new ParseException("Invalid paramet... | 1,115,570 |
public Object umin(Object param) throws ParseException { if (param instanceof Number) { return new Double(-((Number)param).doubleValue()); } else if (param instanceof Complex) { return ((Complex)param).neg(); } throw new ParseException("Invalid parameter type"); } | public Object umin(Object param) throws ParseException { if (param instanceof Number) { return new Double(-((Number)param).doubleValue()); } else if (param instanceof Complex) { return ((Complex)param).neg(); } throw new ParseException("Invalid parameter type"); } | 1,115,571 |
void drawPlottableNew(Graphics g) { int mean = getMean(); // get new graphics to avoid messing up original Graphics2D g2 = (Graphics2D)g.create(); g2.setClip(LABEL_X_SHIFT, 0, rowWidth, Integer.MAX_VALUE); AffineTransform originalTransform = AffineTransform.getTranslateInstance(LA... | void drawPlottableNew(Graphics g) { int mean = getMean(); // get new graphics to avoid messing up original Graphics2D g2 = (Graphics2D)g.create(); g2.setClip(LABEL_X_SHIFT, 0, rowWidth, Integer.MAX_VALUE); AffineTransform originalTransform = AffineTransform.getTranslateInstance(LA... | 1,115,572 |
public PVariable(PolynomialCreator pc,XVariable var) throws ParseException { super(pc); this.variable = var; } | public PVariable(PolynomialCreator pc,XVariable var) { super(pc); this.variable = var; } | 1,115,573 |
public boolean isConstantVar(XVariable var) { if(!var.hasEquation()) return true; Node eqn = var.getEquation(); if(eqn instanceof ASTConstant) return true; if(eqn instanceof ASTVarNode) { return isConstantVar((XVariable)((ASTVarNode) eqn).getVar()); } return false; } | public boolean isConstantVar(XVariable var) { if(!var.hasEquation()) return true; Node eqn = var.getEquation(); if(eqn instanceof ASTConstant) return true; if(eqn instanceof ASTVarNode) { return isConstantVar((XVariable)((ASTVarNode) eqn).getVar()); } return false; } | 1,115,574 |
public Object visit(ASTFunNode node, Object data) throws ParseException { Node children[]=acceptChildrenAsArray(node,data); return xjep.getNodeFactory().buildFunctionNode(node,children); } | public Object visit(ASTConstant node, Object data) throws ParseException { Node children[]=acceptChildrenAsArray(node,data); return xjep.getNodeFactory().buildFunctionNode(node,children); } | 1,115,575 |
public Object visit(ASTFunNode node, Object data) throws ParseException { Node children[]=acceptChildrenAsArray(node,data); return xjep.getNodeFactory().buildFunctionNode(node,children); } | public Object visit(ASTFunNode node, Object data) throws ParseException { Node children[]=acceptChildrenAsArray(node,data); return xjep.getNodeFactory().buildFunctionNode(node,children); } | 1,115,576 |
public PartialDerivative findDerivative(String derivname,DJep jep) throws ParseException { String newnames[] = new String[1]; newnames[0]=derivname; return findDerivativeSorted(newnames,jep); } | public PartialDerivative findDerivative(String derivnames[],DJep jep) throws ParseException { String newnames[] = new String[1]; newnames[0]=derivname; return findDerivativeSorted(newnames,jep); } | 1,115,577 |
public PartialDerivative findDerivative(String derivname,DJep jep) throws ParseException { String newnames[] = new String[1]; newnames[0]=derivname; return findDerivativeSorted(newnames,jep); } | public PartialDerivative findDerivative(String derivname,DJep jep) throws ParseException { String newnames[] = new String[1]; newnames[0]=derivname; return findDerivativeSorted(newnames,jep); } | 1,115,578 |
protected Serializable resolveId(String id) { return Integer.parseInt(id); } | protected Serializable resolveId(String id) { int value = Integer.parseInt(id); return value; } | 1,115,579 |
protected void setAsText(String id, Class clazz) { if (logger.isDebugEnabled()) { logger.debug("Loaded "+clazz.getName()+" property editor"); } try { Object value = getHibernateTemplate().load(clazz, resolveId(id)); super.setValue(value); if (logger.i... | protected void setAsText(String id, Class clazz) { if (logger.isDebugEnabled()) { logger.debug("Loaded "+clazz.getName()+" property editor"); } try { Serializable key = resolveId(id); Object value = getHibernateTemplate().load(clazz, key); super.setValue(value);... | 1,115,580 |
public void testGetSeismograms(){ LocalSeismogramImpl[] contained = container.getSeismograms(); while(contained.length < 3){ try { Thread.sleep(5); } catch (InterruptedException e) {} contained = container.getSeismograms(); } Arr... | public void testGetSeismograms(){ LocalSeismogramImpl[] contained = container.getSeismograms(); while(contained.length < 3){ try { Thread.sleep(5); } catch (InterruptedException e) {} contained = container.getSeismograms(); } Arr... | 1,115,582 |
public void testPushAlreadyAddedData(){ LocalSeismogramImpl[] alreadyContained = container.getSeismograms(); while(alreadyContained.length < 3){ try { Thread.sleep(5); } catch (InterruptedException e) {} alreadyContained = container.getSeismog... | public void testPushAlreadyAddedData(){ LocalSeismogramImpl[] alreadyContained = container.getSeismograms(); while(alreadyContained.length < 3){ try { Thread.sleep(5); } catch (InterruptedException e) {} alreadyContained = container.getSeismog... | 1,115,583 |
public void testPushNewData(){ LocalSeismogramImpl[] alreadyContained = container.getSeismograms(); LocalSeismogramImpl[] otherSeis = DisplayUtilsTest.createOtherSeisArray(); container.pushData(new SeisDataChangeEvent(otherSeis, null, container)); LocalSeismogramImpl[] nowContains = cont... | public void testPushNewData(){ LocalSeismogramImpl[] alreadyContained = container.getSeismograms(); LocalSeismogramImpl[] otherSeis = DisplayUtilsTest.createOtherSeisArray(); container.pushData(new SeisDataChangeEvent(otherSeis, null, container)); LocalSeismogramImpl[] nowContains = cont... | 1,115,585 |
public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean calledRetrieved = false; while(it.hasNext()){ SoftReference current ... | public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean callRetrieve = false; while(it.hasNext()){ SoftReference current = (... | 1,115,586 |
public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean calledRetrieved = false; while(it.hasNext()){ SoftReference current ... | public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean calledRetrieved = false; while(it.hasNext()){ SoftReference current ... | 1,115,587 |
public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean calledRetrieved = false; while(it.hasNext()){ SoftReference current ... | public synchronized LocalSeismogramImpl[] getSeismograms(){ if(softSeis.size() == 0){ return EMPTY_ARRAY; } List existant = new ArrayList(); Iterator it = softSeis.iterator(); boolean calledRetrieved = false; while(it.hasNext()){ SoftReference current ... | 1,115,588 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.