bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void removeSeismogram(MouseEvent me){ BasicSeismogramDisplay clicked = ((BasicSeismogramDisplay)me.getComponent()); clicked.removeAllSeismograms(); seismograms.remove(clicked); basicDisplays.remove(clicked); ((SeismogramDisplay)basicDisplays.getFirst()).addTopTimeBorder(); ((SeismogramDisplay)basicDisplays.g...
public void removeSeismogram(MouseEvent me){ BasicSeismogramDisplay clicked = ((BasicSeismogramDisplay)me.getComponent()); clicked.remove(me); seismograms.remove(clicked); basicDisplays.remove(clicked); ((SeismogramDisplay)basicDisplays.getFirst()).addTopTimeBorder(); ((SeismogramDisplay)basicDisplays.getLast()).ad...
1,117,991
public void setLabels(MicroSecondDate time, double amp){ calendar.setTime(time); this.time.setText(" Time: " + output.format(calendar.getTime())); if(amp < 0) if(Math.abs(amp) < 10) this.amp.setText(" Amplitude: -000" + Math.abs(Math.round(amp))); else if(Math.abs(amp) < 100) this.amp.setText(" Ampl...
public void setLabels(MicroSecondDate time, double amp){ calendar.setTime(time); if(output.format(calendar.getTime()).length() == 21) this.time.setText(" Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) this.time.setText(" Time: " + output.format(cal...
1,117,992
public void addNewCalendars() throws CalFacadeException { HibSession sess = getSess(); /* Add a user collection to the userCalendarRoot and then a default calendar collection. */ sess.namedQuery("getCalendarByPath"); String path = userCalendarRootPath; sess.setString("path", path); BwCalendar...
public void addNewCalendars(BwUser user) throws CalFacadeException { HibSession sess = getSess(); /* Add a user collection to the userCalendarRoot and then a default calendar collection. */ sess.namedQuery("getCalendarByPath"); String path = userCalendarRootPath; sess.setString("path", path); ...
1,117,993
public BwFreeBusy getFreeBusy(CalSvcI svci, String account) throws WebdavException { try { BwUser user = svci.findUser(account); if (user == null) { throw WebdavIntfException.unauthorized(); } BwFreeBusy fb = svci.getFreeBusy(null, user, timeRange.ge...
public BwFreeBusy getFreeBusy(CalSvcI svci, BwCalendar cal, String account) throws WebdavException { try { BwUser user = svci.findUser(account); if (user == null) { throw WebdavIntfException.unauthorized(); } BwFreeBusy fb = svci.getFreeBusy(null, user, ...
1,117,994
public BwFreeBusy getFreeBusy(CalSvcI svci, String account) throws WebdavException { try { BwUser user = svci.findUser(account); if (user == null) { throw WebdavIntfException.unauthorized(); } BwFreeBusy fb = svci.getFreeBusy(null, user, timeRange.ge...
public BwFreeBusy getFreeBusy(CalSvcI svci, String account) throws WebdavException { try { BwUser user = svci.findUser(account); if (user == null) { throw WebdavIntfException.unauthorized(); } BwFreeBusy fb = svci.getFreeBusy(cal, user, timeRange.get...
1,117,995
public CalSvcI getSvci() throws WebdavIntfException { boolean publicMode = (account == null); if (svci != null) { if (!svci.isOpen()) { try { svci.open(); svci.beginTransaction(); } catch (Throwable t) { throw new WebdavIntfException(t); } } return ...
public CalSvcI getSvci() throws WebdavIntfException { boolean publicMode = (account == null); if (svci != null) { if (!svci.isOpen()) { try { svci.open(); svci.beginTransaction(); } catch (Throwable t) { throw new WebdavIntfException(t); } } return ...
1,117,996
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); URL dirURL = base; System.out.println(" dirURL is "+dirURL.toString()); try { ...
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); URL dirURL = base; System.out.println(" dirURL is "+dirURL.toString()); try { ...
1,117,997
private PacketType finalizeSeismogramCreation(PacketType seismogramData, PacketType stateOfHealthData, boolean gapInData) { if(gapInData) { System.out.println("The data collecting unit stopped recordi...
private PacketType finalizeSeismogramCreation(PacketType seismogramData, PacketType stateOfHealthData, boolean gapInData) { if(gapInData) { System.out.println("The data collecting unit stopped recordi...
1,117,999
public boolean contains(String[] names){ for(int i = 0; i < names.length; i++){ if(this.names.contains(names[i])) return true; } return false; }
public boolean contains(String[] names){ for(int i = 0; i < names.length; i++){ if(this.names.contains(names[i])) return true; } return false; }
1,118,000
public int sort(DataSetSeismogram[] seismograms, String[] names){ this.names.add(names); return this.names.size() - 1; }
public int sort(DataSetSeismogram[] seismograms, String[] names){ this.names.add(names); return this.names.size() - 1; }
1,118,001
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); String content = null; openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((report...
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((reportType == reportTypeQuer...
1,118,002
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); String content = null; openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((report...
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); String content = null; openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((report...
1,118,003
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); String content = null; openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((report...
private void doNode(WebdavNsNode node) throws WebdavException { PropFindMethod pm = (PropFindMethod)getNsIntf().findMethod( WebdavMethods.propFind); int status = node.getStatus(); String content = null; openTag(WebdavTags.response); if (status == HttpServletResponse.SC_OK) { if ((report...
1,118,004
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
1,118,005
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
1,118,006
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
1,118,007
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
1,118,008
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
private int processDoc(Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); /* Get hold of the PROPFIND method instance - we need it to process possible prop requests. */ PropFindMethod pm = (PropFindMethod)intf.fin...
1,118,009
public void processResp(HttpServletRequest req, HttpServletResponse resp, int depth) throws WebdavException { resp.setStatus(WebdavStatusCode.SC_MULTI_STATUS); resp.setContentType("text/xml; charset=UTF-8"); String resourceUri = getResourceUri(req); Caldav...
public void processResp(HttpServletRequest req, HttpServletResponse resp, int depth) throws WebdavException { resp.setStatus(WebdavStatusCode.SC_MULTI_STATUS); resp.setContentType("text/xml; charset=UTF-8"); String resourceUri = getResourceUri(req); Caldav...
1,118,010
public static Object getParameter(Element base) { String name = XMLUtil.evalString(base, "name"); NodeList typeNode = XMLUtil.evalNodeList(base, "type"); Element type = null; if(typeNode != null && typeNode.getLength() != 0) { type = (Element) typeNode.item(0); } String className = XMLUtil.evalString(type, "name")...
public static Object getParameter(Element base) { String name = XMLUtil.evalString(base, "name"); NodeList typeNode = XMLUtil.evalNodeList(base, "type"); Element type = null; if(typeNode != null && typeNode.getLength() != 0) { type = (Element) typeNode.item(0); } String className = XMLUtil.evalString(type, "name")...
1,118,011
public static Object getParameter(Element base) { String name = XMLUtil.evalString(base, "name"); NodeList typeNode = XMLUtil.evalNodeList(base, "type"); Element type = null; if(typeNode != null && typeNode.getLength() != 0) { type = (Element) typeNode.item(0); } String className = XMLUtil.evalString(type, "name")...
public static Object getParameter(Element base) { String name = XMLUtil.evalString(base, "name"); NodeList typeNode = XMLUtil.evalNodeList(base, "type"); Element type = null; if(typeNode != null && typeNode.getLength() != 0) { type = (Element) typeNode.item(0); } String className = XMLUtil.evalString(type, "name")...
1,118,012
available_data(RequestFilter[] a_filterseq) { return dataCenter.available_data(a_filterseq); }
public RequestFilter[] available_data(RequestFilter[] a_filterseq) { return dataCenter.available_data(a_filterseq); }
1,118,013
cancel_request(String a_request) throws edu.iris.Fissures.FissuresException { }
cancel_request(String a_request) throws edu.iris.Fissures.FissuresException { }
1,118,014
queue_seismograms(RequestFilter[] a_filterseq) throws edu.iris.Fissures.FissuresException { return getNextRequestId(); }
queue_seismograms(RequestFilter[] a_filterseq) throws edu.iris.Fissures.FissuresException { return getNextRequestId(); }
1,118,015
request_seismograms(RequestFilter[] a_filterseq, DataCenterCallBack a_client, boolean long_lived, edu.iris.Fissures.Time expiration_time) throws edu.iris.Fissures.FissuresException { return getNextRequestId(); }
request_seismograms(RequestFilter[] a_filterseq, DataCenterCallBack a_client, boolean long_lived, edu.iris.Fissures.Time expiration_time) throws edu.iris.Fissures.FissuresException { return getNextRequestId(); }
1,118,016
request_status(String a_request) throws edu.iris.Fissures.FissuresException { return new String(); }
request_status(String a_request) throws edu.iris.Fissures.FissuresException { return new String(); }
1,118,017
retrieve_queue(String a_request) throws edu.iris.Fissures.FissuresException { return new LocalSeismogram[0]; }
retrieve_queue(String a_request) throws edu.iris.Fissures.FissuresException { return new LocalSeismogram[0]; }
1,118,018
public HSQLRequestFilterDb (String directoryName, String databaseName, DataCenterOperations router) throws SQLException { super(directoryName, databaseName); this.dataCenterRouter = router; create(); }
public HSQLRequestFilterDb (String directoryName, String databaseName, DataCenterOperations router) throws SQLException { super(directoryName, databaseName); this.dataCenterRouter = router; create(); }
1,118,019
public static void main (String[] args) { if (args.length < 4) { System.err.println("Usage: java edu.sc.seis.fissuresUtil.sac.SacDirToDataSet -base url -dir directoryPath -name datasetname [-exclude file] [-paramRef name file]"); return; } // end of if (args.length != 2) String dirName = null; URL base = nu...
public static void main (String[] args) { if (args.length < 4) { System.err.println("Usage: java edu.sc.seis.fissuresUtil.sac.SacDirToDataSet -base url -dir directoryPath -name datasetname [-exclude file] [-paramRef name file]"); return; } // end of if (args.length != 2) String dirName = null; URL base = nu...
1,118,020
public void end(String ns, String name) throws Exception { BwTimeZone entity = (BwTimeZone)pop(); globals.timezones++; try { if (globals.rintf != null) { globals.rintf.restoreTimezone(entity); } } catch (Throwable t) { throw new Exception(t); } }
public void end(String ns, String name) throws Exception { BwTimeZone entity = (BwTimeZone)pop(); globals.timezones++; try { if (globals.rintf != null) { globals.rintf.restoreTimezone(entity); } } catch (Throwable t) { throw new Exception(t); } }
1,118,021
public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE...
public String doRefund(String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, Object parentDataPK, String captureProperties) throws CreditCardAuthorizationException { IWTimestamp stamp = IWTimestamp.RightNow(); strCCNumber = cardnumber; strCCExpire = yearE...
1,118,022
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn...
public String doSale(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException { try { IWTimestamp stamp = IWTimestamp.RightNow(); strName = nameOnCard; strCCNumber = cardn...
1,118,023
private void init(IWApplicationContext iwc) { logger = null; if (logger == null) { IWBundle bundle = iwc.getIWMainApplication().getBundle(getBundleIdentifier()); logger = Logger.getLogger(this.getClass().getName()); FileUtil.getFileSeparator(); try { //Handler fh = new FileHandler("/Users/kortathjonustan....
private void init(IWApplicationContext iwc) { logger = null; if (logger == null) { IWBundle bundle = iwc.getIWMainApplication().getBundle(getBundleIdentifier()); logger = Logger.getLogger(this.getClass().getName()); FileUtil.getFileSeparator(); try { //Handler fh = new FileHandler("/Users/kortathjonustan....
1,118,024
public Collection getProperties(String ns) throws WebdavIntfException { return new Vector(); }
public Collection getProperties(String ns) throws WebdavIntfException { return new ArrayList(); }
1,118,025
public String getSeismicRegionName(int seisNum) { if (seisNum > 0 && seisNum <= 50) { return feProps.getProperty("SeismicRegion"+seisNum); } // end of if (seisNum > 0 && seisNum <= 50) return "SeisRegion"+seisNum; }
public String getSeismicRegionName(int seisNum) { if (seisNum > 0 && seisNum <= 50) { return feProps.getProperty("SeismicRegion"+seisNum); } // end of if (seisNum > 0 && seisNum <= 50) return "SeisRegion"+seisNum; }
1,118,028
public LongShortTrigger[] calcTriggers(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly float dt = (float)seis.getSampl...
public LongShortTrigger[] calcTriggers(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly double dt = seis.getSampling()....
1,118,029
public LongShortTrigger[] calcTriggers(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly float dt = (float)seis.getSampl...
public LongShortTrigger[] calcTriggers(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly float dt = (float)seis.getSampl...
1,118,030
public LongShortTrigger[] calcTriggersTJO(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly float dt = (float)seis.getSa...
public LongShortTrigger[] calcTriggersTJO(LocalSeismogramImpl seis) throws FissuresException { LinkedList out = new LinkedList(); float[] seisData = seis.get_as_floats(); // establish number of points in LTA and STA windows // as well as in trgdly float dt = (float)seis.getSa...
1,118,031
public void initialise(String userid, CallBack cb, Object val) throws CalFacadeException { curUser = userid; this.cb = cb; if (userid != null) { curUsertype = getUsertype(userid); } userAuthRO = null; debug = getLogger().isDebugEnabled(); }
public void initialise(String userid, CallBack cb, Object val, boolean debug) throws CalFacadeException { curUser = userid; this.cb = cb; if (userid != null) { curUsertype = getUsertype(userid); } userAuthRO = null; debug = getLogger().isDebugEnabled(); }
1,118,032
public void initialise(String userid, CallBack cb, Object val) throws CalFacadeException { curUser = userid; this.cb = cb; if (userid != null) { curUsertype = getUsertype(userid); } userAuthRO = null; debug = getLogger().isDebugEnabled(); }
public void initialise(String userid, CallBack cb, Object val) throws CalFacadeException { curUser = userid; this.cb = cb; if (userid != null) { curUsertype = getUsertype(userid); } userAuthRO = null; this.debug = debug; }
1,118,033
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
1,118,034
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
1,118,035
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
public RootedTree reconstructPhylogeny(int[] sample, List<Taxon> taxa) { SimpleRootedTree tree = new SimpleRootedTree(); Lineage[] lineages = new Lineage[sample.length]; Node[] nodes = new Node[sample.length]; for (int i = 0; i < sample.length; i++) { lineages[i] = extantLineages[sample[i]]; nodes[i] = tree.cr...
1,118,036
get_attributes() { if (attr == null) { attr = net.get_attributes(); } return attr; }
get_attributes() { if (attr == null) { attr = net.get_attributes(); } return attr; }
1,118,038
get_attributes() { if (attr == null) { attr = net.get_attributes(); } return attr; }
get_attributes() { if (attr == null) { attr = net.get_attributes(); } return attr; }
1,118,039
retrieve_for_station(StationId id) { String idStr = StationIdUtil.toString(id); if ( ! channelMap.containsKey(idStr)) { channelMap.put(idStr, net.retrieve_for_station(id)); } return (Channel[])channelMap.get(idStr); }
retrieve_for_station(StationId id) { String idStr = StationIdUtil.toString(id); if ( ! channelMap.containsKey(idStr)) { channelMap.put(idStr, net.retrieve_for_station(id)); } return (Channel[])channelMap.get(idStr); }
1,118,040
retrieve_for_station(StationId id) { String idStr = StationIdUtil.toString(id); if ( ! channelMap.containsKey(idStr)) { channelMap.put(idStr, net.retrieve_for_station(id)); } return (Channel[])channelMap.get(idStr); }
retrieve_for_station(StationId id) { String idStr = StationIdUtil.toString(id); if ( ! channelMap.containsKey(idStr)) { channelMap.put(idStr, net.retrieve_for_station(id)); } return (Channel[])channelMap.get(idStr); }
1,118,041
retrieve_stations() { if (stations == null) { stations = net.retrieve_stations(); } return stations; }
retrieve_stations() { if (stations == null) { stations = net.retrieve_stations(); } return stations; }
1,118,042
retrieve_stations() { if (stations == null) { stations = net.retrieve_stations(); } return stations; }
retrieve_stations() { if (stations == null) { stations = net.retrieve_stations(); } return stations; }
1,118,043
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
1,118,044
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
1,118,045
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
1,118,046
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
1,118,047
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
private void printInternal(Node node, boolean indentEndMarker) { // is there anything to do? if (node == null) { return; } // JBAS-2117 - Don't skip the DOCUMENT_NODE // if (node instanceof Document) node = ((Document)node).getDocumentElement(); if (wroteXMLDeclaration ==...
1,118,048
public JDBCNetwork(Connection conn) throws SQLException{ this(conn, new JDBCTime(conn)); }
public JDBCNetwork(Connection conn) throws SQLException{ this(conn, new JDBCTime(conn)); }
1,118,049
protected double binarySum(int start, int finish) { if (iSeries != null) { return iBinarySum(start, finish); } // end of if (iSeries != null) if (fSeries != null) { return fBinarySum(start, finish); } // end of if (iSeries != null) return 0; }
protected double binarySum(int start, int finish) { if (iSeries != null) { return iBinarySum(start, finish); } if (dSeries != null) { return dBinarySum(start, finish); } // end of if (iSeries != null) if (fSeries != null) { return fBinarySum(start, finish); } if (dSeries != null) { return dBinarySum(start, ...
1,118,050
public static String getDayName(Date val, Locale loc) { Formatters fmt = getFormatters(loc); synchronized (fmt) { return fmt.dayFormatter.format(val); } }
public static String getDayName(Date val, Locale loc) { Formatters fmt = getFormatters(loc); synchronized (fmt) { return fmt.dayFormatter.format(val); } }
1,118,057
public boolean isFurtherThan(DataSetSeismogram seismo){ try{ Location eventLoc = ((XMLDataSet)dataSet).getEvent().get_preferred_origin().my_location; Location seisLoc = ((XMLDataSet)dataSet).getChannel(seis.channel_id).my_site.my_location; Location seismoLoc = ((XMLDataSet)seismo.getDataSet()).getChanne...
public boolean isFurtherThan(DataSetSeismogram seismo){ try{ Location eventLoc = ((XMLDataSet)dataSet).getEvent().get_preferred_origin().my_location; Location seisLoc = ((XMLDataSet)dataSet).getChannel(seis.channel_id).my_site.my_location; Location seismoLoc = ((XMLDataSet)seismo.getDataSet()).getChanne...
1,118,058
public boolean isFurtherThan(DataSetSeismogram seismo){ try{ Location eventLoc = ((XMLDataSet)dataSet).getEvent().get_preferred_origin().my_location; Location seisLoc = ((XMLDataSet)dataSet).getChannel(seis.channel_id).my_site.my_location; Location seismoLoc = ((XMLDataSet)seismo.getDataSet()).getChanne...
public boolean isFurtherThan(DataSetSeismogram seismo){ try{ Location eventLoc = ((XMLDataSet)dataSet).getEvent().get_preferred_origin().my_location; Location seisLoc = ((XMLDataSet)dataSet).getChannel(seis.channel_id).my_site.my_location; Location seismoLoc = ((XMLDataSet)seismo.getDataSet()).getChanne...
1,118,059
public void actionPerformed(ActionEvent e) { Main.getMainFrame().lobby.append(this.getText() + "\n"); doAction(); }
public void actionPerformed(ActionEvent e) { Main.getMainFrame().lobby.append("Menu command: " + this.getText() + "\n"); doAction(); }
1,118,061
public static DataSetSeismogram[] addSuffix(DataSetSeismogram[] dss, String suffix){ DataSetSeismogram[] suffixedDss = new DataSetSeismogram[dss.length]; for(int i = 0; i < dss.length; i++){ suffixedDss[i] = new DataSetSeismogram(dss[i], dss[i].toString() + suffix); } return s...
public static DataSetSeismogram[] addSuffix(DataSetSeismogram[] dss, String suffix){ DataSetSeismogram[] suffixedDss = new DataSetSeismogram[dss.length]; for(int i = 0; i < dss.length; i++){ dss[i].setName(dss[i].getName() + suffix); } return suffixedDss; }
1,118,062
public static DataSetSeismogram[] addSuffix(DataSetSeismogram[] dss, String suffix){ DataSetSeismogram[] suffixedDss = new DataSetSeismogram[dss.length]; for(int i = 0; i < dss.length; i++){ suffixedDss[i] = new DataSetSeismogram(dss[i], dss[i].toString() + suffix); } return s...
public static DataSetSeismogram[] addSuffix(DataSetSeismogram[] dss, String suffix){ DataSetSeismogram[] suffixedDss = new DataSetSeismogram[dss.length]; for(int i = 0; i < dss.length; i++){ suffixedDss[i] = new DataSetSeismogram(dss[i], dss[i].toString() + suffix); } return d...
1,118,063
public void renderToGraphics(Graphics g, Dimension size){ JFrame frame = null; try { if(getRootPane() == null){ frame = new JFrame(); frame.getContentPane().add(this); frame.pack(); } Dimension curSize = getSize(); ...
public void renderToGraphics(Graphics g, Dimension size){ JFrame frame = null; try { if(getRootPane() == null){ frame = new JFrame(); frame.getContentPane().add(this); frame.pack(); } Dimension curSize = getSize(); ...
1,118,064
public MainPanel(final AudioPlayer owner) { super(new BorderLayout()); this.owner = owner; playlist.setPlayAll(Configuration.isPlayAll()); playlist.setShuffle(Configuration.isShuffle()); playlist.addListener(new IPlaylistListener() { public void playbackStarted(Player player) { URL url = player.getResour...
public MainPanel(final AudioPlayer owner) { super(new BorderLayout()); this.owner = owner; playlist.setPlayAll(Configuration.isPlayAll()); playlist.setShuffle(Configuration.isShuffle()); playlist.addListener(new IPlaylistListener() { public void playbackStarted(Player player) { URL url = player.getResour...
1,118,065
public void actionPerformed(ActionEvent e) { final JFileChooser fileChooser = new JFileChooser(); fileChooser.setMultiSelectionEnabled(true); fileChooser.setCurrentDirectory(Configuration.getLastDirectory()); fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); fileChooser.setFileFilter(ne...
public void actionPerformed(ActionEvent e) { final JFileChooser fileChooser = new JFileChooser(); fileChooser.setMultiSelectionEnabled(true); fileChooser.setSelectedFile(Configuration.getLastDirectory()); fileChooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY); fileChooser.setFileFilter(new Fi...
1,118,066
public void addElement(URL url) { int index = getSize(); addElementAt(index, url); }
public void addElement(URL url) { int index = getSize(); addElementAt(index, url); }
1,118,067
public synchronized void play(int index) { int size = getSize(); if (size == 0) { return; } else if (index < 0) { index = 0; } else if (index > size) { index %= size; } playingIndex = index; if (isPlaying()) { player.stop(); } try { final URL url = (URL)getElementAt(index); if (history.size() > HI...
public synchronized void play(int index) { int size = getSize(); if (size == 0) { return; } else if (index < 0) { index = 0; } else if (index > size) { index %= size; } playingIndex = index; if (isPlaying()) { player.stop(); } try { final URL url = (URL)getElementAt(index); if (history.size() > HI...
1,118,068
public synchronized void play(int index) { int size = getSize(); if (size == 0) { return; } else if (index < 0) { index = 0; } else if (index > size) { index %= size; } playingIndex = index; if (isPlaying()) { player.stop(); } try { final URL url = (URL)getElementAt(index); if (history.size() > HI...
public synchronized void play(int index) { int size = getSize(); if (size == 0) { return; } else if (index < 0) { index = 0; } else if (index > size) { index %= size; } playingIndex = index; if (isPlaying()) { player.stop(); } try { final URL url = (URL)getElementAt(index); if (history.size() > HI...
1,118,069
public Component getAppletInstance() { return null;//ctrlPanel; }
public Component getAppletInstance() { return ctrlPanel;//ctrlPanel; }
1,118,071
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
1,118,075
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
1,118,076
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
public void addDataSet(edu.sc.seis.fissuresUtil.xml.DataSet dataset, AuditInfo[] audit) { dataSetIdCache = null; if (dataset instanceof XMLDataSet) { XMLDataSet xds = (XMLDataSet)dataset; Element element = xds.getElement(); if (element.getOwnerDocument().equals(co...
1,118,077
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,118,078
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,118,079
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,118,080
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,118,081
protected String[] cacheSeismogramNames() { String[] names = getAllAsStrings("localSeismogram/seismogramAttr/property[name="+dquote+"Name"+dquote+ "]"+"/value/text()"); //String[] names = getAllAsStrings("SacSeismogram/name/text()"); logger.debug("found "+names.length+" names in xml"); logger.debug("cac...
protected String[] cacheSeismogramNames() { String[] names = getAllAsStrings("localSeismogram/seismogramAttr/property[name="+dquote+"Name"+dquote+ "]"+"/value/text()"); //String[] names = getAllAsStrings("SacSeismogram/name/text()"); logger.debug("found "+names.length+" names in xml"); logger.debug("cac...
1,118,082
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())) { ret...
public DataSet getDataSet(String name) { String[] ids = getDataSetIds(); for (int i=0; i<ids.length; i++) { DataSet ds = getDataSetById(ids[i]); if (name.equals(ds.getName())) { return ds; } } // end of for (int i=0; i<ids.length; i++) ...
1,118,083
public String[] getDataSetIds() { if (dataSetIdCache == null) { String[] internal = getAllAsStrings("*/@datasetid"); String[] external = getDataSetRefIds(); for (int i=0; i<external.length; i++) { logger.debug("External Dataset Id cache :'"+external[i]+"'"); ...
public String[] getDataSetIds() { if (dataSetIdCache == null) { String[] internal = getAllAsStrings("*/@datasetid"); String[] external = getDataSetRefIds(); for (int i=0; i<external.length; i++) { } // end of for (int i=0; i<tmp.length; i++) ...
1,118,085
public String[] getDataSetIds() { if (dataSetIdCache == null) { String[] internal = getAllAsStrings("*/@datasetid"); String[] external = getDataSetRefIds(); for (int i=0; i<external.length; i++) { logger.debug("External Dataset Id cache :'"+external[i]+"'"); ...
public String[] getDataSetIds() { if (dataSetIdCache == null) { String[] internal = getAllAsStrings("*/@datasetid"); String[] external = getDataSetRefIds(); for (int i=0; i<external.length; i++) { logger.debug("External Dataset Id cache :'"+external[i]+"'"); ...
1,118,086
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) Strin...
1,118,087
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
1,118,088
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
1,118,089
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
1,118,090
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
String[] getDataSetRefIds() { String[] xlinktmps = getAllAsStrings("datasetRef"); String xlinkNS= "http://www.w3.org/1999/xlink"; NodeList nodes = evalNodeList(config, "datasetRef"); if (nodes == null) { return new String[0]; } // end of if (nodes == null) System.out.pr...
1,118,091
public String[] getNoNameSeismogramNames() { NodeList nList; nList = evalNodeList(config, "localSeismogram/seismogramAttr/property"); if(nList == null || (nList != null && nList.getLength() == 0)) { nList = evalNodeList(config, "localSeismogram/seismogramAttr"); //System.out.println("ONLY SEIS ATTR EXISTS"...
public String[] getNoNameSeismogramNames() { NodeList nList; nList = evalNodeList(config, "localSeismogram/seismogramAttr/property"); if(nList == null || (nList != null && nList.getLength() == 0)) { nList = evalNodeList(config, "localSeismogram/seismogramAttr"); //System.out.println("ONLY SEIS ATTR EXISTS"...
1,118,092
public Object getParameter(String name) { if (parameterCache.containsKey(name)) { return parameterCache.get(name); } // end of if (parameterCache.containsKey(name)) NodeList nList = evalNodeList(config, "parameter[name/text()="+ ...
public Object getParameter(String name) { if (parameterCache.containsKey(name)) { return parameterCache.get(name); } // end of if (parameterCache.containsKey(name)) NodeList nList = evalNodeList(config, "parameter[name/text()="+ ...
1,118,093
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
1,118,094
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
1,118,095
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) logger.debug("The name of t...
1,118,096
static void testDataSet(DataSet dataset, String indent) { indent = indent+" "; String[] names = dataset.getSeismogramNames(); System.out.println(indent+" has "+names.length+" seismograms."); for (int num=0; num<names.length; num++) { // System.out.println(indent+" Seismogram name="+...
static void testDataSet(DataSet dataset, String indent) { indent = indent+" "; String[] names = dataset.getSeismogramNames(); for (int num=0; num<names.length; num++) { // System.out.println(indent+" Seismogram name="+names[num]); LocalSeismogramImpl seis = dataset.getSe...
1,118,097
protected Logger getLogger() { if (log == null) { log = Logger.getLogger(this.getClass()); } return log; }
protected Logger getLogger() { if (log == null) { log = Logger.getLogger(getClass()); } return log; }
1,118,099
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; t...
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated =...
1,118,100
public void setUser(String val) throws CalFacadeException { refreshEvents(); user = getUser(val); if (this.user == null) { throw new CalFacadeException("User " + val + " does not exist."); } logon(user); if (debug) { log.debug("User " + val + " set in calintf"); } }
public void setUser(String val) throws CalFacadeException { refreshEvents(); user = getUser(val); if (this.user == null) { throw new CalFacadeException(CalFacadeException.noSuchAccount, val); } logon(user); if (debug) { log.debug("User " + val + " set in calintf"); } }
1,118,102
private void updateParameterNameCache(String paramName) { String[] temp = parameterNameCache; if(temp == null) { temp = new String[0]; temp[0] = paramName; } else { temp = new String[parameterNameCache.length + 1]; System.arraycopy(parameterNameCache,0, temp, 0, parameterNameCache.length); temp[...
private void updateParameterNameCache(String paramName) { String[] temp = parameterNameCache; if(temp == null) { temp = new String[1]; temp[0] = paramName; } else { temp = new String[parameterNameCache.length + 1]; System.arraycopy(parameterNameCache,0, temp, 0, parameterNameCache.length); temp[...
1,118,103
private void updateParameterNameCache(String paramName) { String[] temp = parameterNameCache; if(temp == null) { temp = new String[0]; temp[0] = paramName; } else { temp = new String[parameterNameCache.length + 1]; System.arraycopy(parameterNameCache,0, temp, 0, parameterNameCache.length); temp[...
private void updateParameterNameCache(String paramName) { String[] temp = parameterNameCache; if(temp == null) { temp = new String[0]; temp[0] = paramName; } else { temp = new String[parameterNameCache.length + 1]; System.arraycopy(parameterNameCache,0, temp, 0, parameterNameCache.length); temp[...
1,118,104
Calintf getCal() throws CalFacadeException { if (cali != null) { return cali; } try { cali = (Calintf)CalEnv.getGlobalObject("calintfclass", Calintf.class); } catch (Throwable t) { throw new CalFacadeException(t); } try { cali.open(); // Just for the user interactions cali.b...
Calintf getCal() throws CalFacadeException { if (cali != null) { return cali; } try { cali = (Calintf)CalEnv.getGlobalObject("calintfclass", Calintf.class); } catch (Throwable t) { throw new CalFacadeException(t); } try { cali.open(); // Just for the user interactions cali.b...
1,118,105
private void addBrowser(JPanel p) { JPanel row = new JPanel(new GridLayout(0, 2)); row.add(new JLabel("Browser:")); row.add(browser); p.add(row); }
private void addBrowser(JPanel p) { JPanel row = new JPanel(new GridLayout(0, 2)); row.add(new JLabel("Browser:")); row.add(sub); p.add(row); }
1,118,107
private void addLoggingDir(JPanel p) { JPanel row = new JPanel(new GridLayout(0, 2)); row.add(new JLabel("Logging Directory:")); row.add(loggingDir); p.add(row); }
private void addLoggingDir(JPanel p) { JPanel row = new JPanel(new GridLayout(0, 2)); row.add(new JLabel("Logging Directory:")); row.add(sub); p.add(row); }
1,118,108
public Font getFont(String key) { return getFont(key, new Font("SansSerif", 12, Font.PLAIN)); }
public Font getFont(String key) { return getFont(key, new Font("SansSerif", Font.PLAIN, 12)); }
1,118,109