bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void add(DataSetSeismogram[] seismos){ for(int i = 0; i < seismos.length; i++){ ampData.put(seismos[i], new AmpConfigData(seismos[i], new UnitRangeImpl(-1, 1, edu.iris.Fissures.model.UnitImpl.COUNT), null, shift, scale)); seismos[i].addSeisDataChangeListener(this); seismos[i].retrieve... | public void add(DataSetSeismogram[] seismos){ for(int i = 0; i < seismos.length; i++){ ampData.put(seismos[i], new AmpConfigData(seismos[i], new UnitRangeImpl(-1, 1, edu.iris.Fissures.model.UnitImpl.COUNT), null, shift, scale)); seismos[i].addSeisDataChangeListener(this); seismos[i].retrieve... | 1,118,576 |
private boolean setAmpRange(DataSetSeismogram seismo){ AmpConfigData data = (AmpConfigData)ampData.get(seismo); if ( data.getSeismograms().length == 0) { return data.setCleanRange(DisplayUtils.ZERO_RANGE); } // end of if () LocalSeismogramImpl seismogram = (LocalSeismogramImpl)data.getSeismograms()[0]; int[] s... | private boolean setAmpRange(DataSetSeismogram seismo){ AmpConfigData data = (AmpConfigData)ampData.get(seismo); if ( data.getSeismograms().length == 0) { return data.setCleanRange(DisplayUtils.ZERO_RANGE); } // end of if () LocalSeismogramImpl seismogram = (LocalSeismogramImpl)data.getSeismograms()[0]; int[] s... | 1,118,577 |
public Set entrySet() { Set result = new HashSet(); Set keys = internal_.keySet(); for (Iterator iter = keys.iterator(); iter.hasNext();) { Object key = iter.next(); Set values = (Set)get(key); for (Iterator iterator = values.iterator(); iterator.hasNext();) { Object value = iterator.next(); result.add(... | public Set entrySet() { Set result = new HashSet(); Set keys = internal_.keySet(); for (Iterator iter = keys.iterator(); iter.hasNext();) { Object key = iter.next(); Set values = (Set)get(key); for (Iterator iterator = values.iterator(); iterator.hasNext();) { Object value = iterator.next(); result.add(... | 1,118,578 |
public Chronology getChronology(Object object, Chronology chrono) { if (chrono == null) { return ISOChronology.getInstance(); } return chrono; } | public Chronology getChronology(Object object, Chronology chrono) { if (chrono == null) { return ISOChronology.getInstance(); } return chrono; } | 1,118,579 |
public void addDisplay(LocalSeismogram seis){ if(basicDisplays.size() > 0) this.addDisplay((LocalSeismogramImpl)seis,((SeismogramDisplay)basicDisplays.getFirst()).getTimeConfig(), ((SeismogramDisplay)basicDisplays.getFirst()).getAmpConfig()); else this.addDisplay((LocalSeismogramImpl)seis, new B... | public void addDisplay(LocalSeismogram seis){ if(basicDisplays.size() > 0) this.addDisplay((LocalSeismogramImpl)seis,((SeismogramDisplay)basicDisplays.getFirst()).getTimeConfig(), ((SeismogramDisplay)basicDisplays.getFirst()).getAmpConfig()); else this.addDisplay((LocalSeismogramImpl)seis, new B... | 1,118,580 |
public void removeSeismogram(MouseEvent me){ if(basicDisplays.size() == 1){ this.removeAll(); return; } BasicSeismogramDisplay clicked = ((BasicSeismogramDisplay)me.getComponent()); seismograms.remove(clicked); basicDisplays.remove(clicked); ((SeismogramDisplay)basicDisplays.getFirst()).addTopTimeBorder(); ... | public void removeSeismogram(MouseEvent me){ if(basicDisplays.size() == 1){ this.removeAll(); return; } BasicSeismogramDisplay clicked = ((BasicSeismogramDisplay)me.getComponent()); seismograms.remove(clicked); basicDisplays.remove(clicked); ((SeismogramDisplay)basicDisplays.getFirst()).addTopTimeBorder(); ... | 1,118,582 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwCalendar cal = form.ge... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwCalendar cal = form.ge... | 1,118,584 |
protected static int[][] scaleXvalues(LocalSeismogram seismogram, MicroSecondTimeRange timeRange, UnitRangeImpl ampRange, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIn... | protected static int[][] scaleXvalues(LocalSeismogram seismogram, MicroSecondTimeRange timeRange, UnitRangeImpl ampRange, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIn... | 1,118,585 |
public static Cmplx evalPoleZeroInverse(SacPoleZero pz, double freq) { Cmplx s = new Cmplx(0, 2 * Math.PI * freq); Cmplx zeroOut = new Cmplx(1, 0); Cmplx poleOut = new Cmplx(1, 0); for(int i = 0; i < pz.getPoles().length; i++) { poleOut = Cmplx.mul(poleOut, Cmplx.sub(s, pz.get... | public static Cmplx evalPoleZeroInverse(SacPoleZero pz, double freq) { Cmplx s = new Cmplx(0, 2 * Math.PI * freq); Cmplx zeroOut = new Cmplx(1, 0); Cmplx poleOut = new Cmplx(1, 0); for(int i = 0; i < pz.getPoles().length; i++) { poleOut = Cmplx.mul(poleOut, Cmplx.sub(s, pz.get... | 1,118,587 |
public ATNil meta_addField(ATField field) throws NATException { return this.meta_defineField(field.base_getName(), field.base_getFieldValue()); } | public ATNil meta_addField(ATField field) throws NATException { return this.meta_defineField(field.base_getName(), field.base_getValue()); } | 1,118,589 |
public ATNil meta_addMethod(ATMethod method) throws NATException { throw new XIllegalOperation("Cannot add method "+ method.base_getName().getText().asNativeText().javaValue + " to a call frame. Add it as a closure field instead."); } | public ATNil meta_addMethod(ATMethod method) throws NATException { throw new XIllegalOperation("Cannot add method "+ method.base_getName().base_getText().asNativeText().javaValue + " to a call frame. Add it as a closure field instead."); } | 1,118,590 |
public ATNil meta_defineField(ATSymbol name, ATObject value) throws NATException { boolean fieldAdded = variableMap_.put(name); if (!fieldAdded) { // field already exists... throw new XDuplicateSlot("field ", name.getText().asNativeText().javaValue); } else { // field now defined, add its value to the state v... | public ATNil meta_defineField(ATSymbol name, ATObject value) throws NATException { boolean fieldAdded = variableMap_.put(name); if (!fieldAdded) { // field already exists... throw new XDuplicateSlot("field ", name.base_getText().asNativeText().javaValue); } else { // field now defined, add its value to the st... | 1,118,591 |
private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); link.setTo(linkTo); ... | 1,118,595 |
private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); link.setTo(linkTo); Sy... | 1,118,596 |
private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | 1,118,597 |
private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | private void addLinks() { for (int i = 0; i < links.size(); i++) { IdeaLink link = links.get(i); System.out.println("0 link = " + link); int linkIndex = linkTos.get(i); Idea linkTo = ideaIndex.get(linkIndex); System.out.println("linkTo = " + linkTo); ... | 1,118,598 |
public void startElement(String namespaceURI, String sName, // simple name (localName) String qName, // qualified name Attributes attrs) throws SAXException { if ("outline".equals(qName)) { if (attrs != null) { String type = attrs.getValue... | public void startElement(String namespaceURI, String sName, // simple name (localName) String qName, // qualified name Attributes attrs) throws SAXException { if ("outline".equals(qName)) { if (attrs != null) { String type = attrs.getValue... | 1,118,599 |
public void startElement(String namespaceURI, String sName, // simple name (localName) String qName, // qualified name Attributes attrs) throws SAXException { if ("outline".equals(qName)) { if (attrs != null) { String type = attrs.getValue... | public void startElement(String namespaceURI, String sName, // simple name (localName) String qName, // qualified name Attributes attrs) throws SAXException { if ("outline".equals(qName)) { if (attrs != null) { String type = attrs.getValue... | 1,118,600 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,601 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,602 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,603 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,604 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,605 |
public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | public LocalSeismogramImpl apply(LocalSeismogramImpl seis) { if ( begin.after(seis.getEndTime()) || end.before(seis.getBeginTime())) { return null; } // end of if () TimeInterval sampPeriod = seis.getSampling().getPeriod(); QuantityImpl beginShift = begin.subtract(seis.getBeginTime()); beginShift = beginShift.... | 1,118,606 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** Set the objects to null so we get new ones. */ form.initFie... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** Set the objects to null so we get new ones. */ initFields(f... | 1,118,607 |
public void addParameter(Element param) { config.appendChild(param); } | public void addParameter(Element param) { config.appendChild(param); } | 1,118,608 |
public Element getParamter(String name) { NodeList nList = evalNodeList(config, "dataset/parameter[name/text()="+ dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { Node n = nList.item(0); if (n instanceof Element) { return (Element)n; } } // not a parameter, tr... | public Object getParamter(String name) { if (parameterCache.containsKey(name)) { return parameterCache.get(name); } NodeList nList = evalNodeList(config, "dataset/parameter[name/text()="+ dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { Node n = nList.item(0); if (... | 1,118,609 |
public Element getParamter(String name) { NodeList nList = evalNodeList(config, "dataset/parameter[name/text()="+ dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { Node n = nList.item(0); if (n instanceof Element) { return (Element)n; } } // not a parameter, tr... | public Element getParamter(String name) { NodeList nList = evalNodeList(config, "dataset/parameter[name/text()="+ dquote+name+dquote+"]"); if (nList != null && nList.getLength() != 0) { Node n = nList.item(0); if (n instanceof Element) { return (Element)n; } } // not a parameter, tr... | 1,118,610 |
void loadSacFile(File sacFile) throws IOException, FissuresException { if (excludes.contains(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) if (paramRefs.containsValue(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) ... | void loadSacFile(File sacFile) throws IOException, FissuresException { if (excludes.contains(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) if (paramRefs.containsValue(sacFile.getName())) { return; } // end of if (excludes.contains(sacFile.getName())) ... | 1,118,611 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.getCalSvcI(); String name = request.getParameter("name"); if (name == null) { ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.getCalSvcI(); String name = request.getParameter("name"); if (name == null) { ... | 1,118,615 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.getCalSvcI(); String name = request.getParameter("name"); if (name == null) { ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.getCalSvcI(); String name = request.getParameter("name"); if (name == null) { ... | 1,118,616 |
protected String isoDateTimeFld() throws Exception { if (fldval == null) { throw new Exception("No value for " + tagName); } /** Value should be of form yyyy-MM-dd hh:mm:ss.0 or yyyy-MM-dd hh:mm:ss, convert to yyyyMMddThhmmss */ if ((fldval.length() < 21) || (fldval.charAt(4) != '-'... | protected String isoDateTimeFld() throws Exception { if (fldval == null) { throw new Exception("No value for " + tagName); } /** Value should be of form yyyy-MM-dd hh:mm:ss.0 or yyyy-MM-dd hh:mm:ss, convert to yyyyMMddThhmmss */ if ((fldval.length() < 21) || (fldval.charAt(4) != '-'... | 1,118,617 |
public ParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar, boolean advancedOption) { this.registrar = registrar; particleDisplayPanel = new JLayeredPane(); OverlayLayout overlayLayout = new OverlayLayout... | public ParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar, boolean advancedOption) { particleDisplayPanel = new JLayeredPane(); OverlayLayout overlayLayout = new OverlayLayout(particleDisplayPanel); ... | 1,118,618 |
public ParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar, boolean advancedOption) { this.registrar = registrar; particleDisplayPanel = new JLayeredPane(); OverlayLayout overlayLayout = new OverlayLayout... | public ParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar, boolean advancedOption) { this.registrar = registrar; particleDisplayPanel = new JLayeredPane(); OverlayLayout overlayLayout = new OverlayLayout... | 1,118,619 |
public synchronized void addParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar) { this.registrar = registrar; boolean buttonPanel = this.displayButtonPanel; displayButtonPanel = false; ParticleMotionDisplayT... | public synchronized void addParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar) { this.registrar = registrar; boolean buttonPanel = this.displayButtonPanel; displayButtonPanel = false; ParticleMotionDisplayT... | 1,118,621 |
public synchronized void addParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar) { this.registrar = registrar; boolean buttonPanel = this.displayButtonPanel; displayButtonPanel = false; ParticleMotionDisplayT... | public synchronized void addParticleMotionDisplay(DataSetSeismogram datasetSeismogram, Registrar registrar) { this.registrar = registrar; boolean buttonPanel = this.displayButtonPanel; displayButtonPanel = false; ParticleMotionDisplayT... | 1,118,622 |
protected AbstractDefaultQueryPersonAttributeDao getAbstractDefaultQueryPersonAttributeDao() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); ... | protected AbstractDefaultQueryPersonAttributeDao getAbstractDefaultQueryPersonAttributeDao() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); ... | 1,118,623 |
protected void setUp() throws Exception { super.setUp(); Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://mrfrumble.its.yale.edu:389/o=yale.edu"); this.ldapContext = new InitialLdap... | protected void setUp() throws Exception { super.setUp(); Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://mrfrumble.its.yale.edu:389/o=yale.edu"); this.ldapContext = new InitialLdap... | 1,118,624 |
protected void tearDown() throws Exception { super.tearDown(); this.ldapContext = null; } | protected void tearDown() throws Exception { super.tearDown(); this.contextSource = null; } | 1,118,625 |
public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | public void testDefaultAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | 1,118,626 |
public void testInsufficientAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonA... | public void testInsufficientAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonA... | 1,118,627 |
public void testInvalidAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | public void testInvalidAttrMap() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | 1,118,628 |
public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttribut... | public void testMultiAttrQuery() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttribut... | 1,118,629 |
public void testNotFoundQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); l... | public void testNotFoundQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); l... | 1,118,630 |
public void testNullContext() { LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); impl.setLdapContext(ldapContext); try { impl.getUserAttributes(Collections.singletonMap("dummy", "seed")); fail("IllegalStateException should have been thrown with n... | public void testNullContext() { LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); impl.setContextSource(this.contextSource); try { impl.getUserAttributes(Collections.singletonMap("dummy", "seed")); fail("IllegalStateException should have been thro... | 1,118,631 |
public void testProperties() { LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); assertEquals("", impl.getBaseDN()); impl.setBaseDN("BaseDN"); assertEquals("BaseDN", impl.getBaseDN()); impl.setBaseDN(null); assertEquals("", impl.getBaseDN()); ... | public void testProperties() { LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); assertEquals("", impl.getBaseDN()); impl.setBaseDN("BaseDN"); assertEquals("BaseDN", impl.getBaseDN()); impl.setBaseDN(null); assertEquals("", impl.getBaseDN()); ... | 1,118,632 |
public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | public void testSingleAttrQuery() { final String queryAttr = "uid"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoImpl(); Map ldapAttribsToPortalAttribs = new HashMap(); ... | 1,118,633 |
public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | 1,118,634 |
public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | 1,118,635 |
public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | public void testToString() { final String queryAttr1 = "uid"; final String queryAttr2 = "alias"; final List queryAttrList = new LinkedList(); queryAttrList.add(queryAttr1); queryAttrList.add(queryAttr2); LdapPersonAttributeDaoImpl impl = new LdapPersonAttributeDaoIm... | 1,118,636 |
public void removeParent(BasicSeismogramDisplay disowner){ parents.remove(disowner); if(parents.isEmpty()){ Iterator e = displays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).remove(); } } } | public void removeParent(BasicSeismogramDisplay disowner){ parents.remove(disowner); if(parents.isEmpty()){ Iterator e = displays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).remove(); } } } | 1,118,637 |
private void setInterval(TimeInterval newInterval){ double currentInterval = latestTime.getTime().getInterval().getValue(); System.out.println(newInterval); double scale = newInterval.getValue()/currentInterval; internalRegistrar.shaleTime(0, scale); } | private void setInterval(TimeInterval newInterval){ double currentInterval = latestTime.getTime().getInterval().getValue(); double scale = newInterval.getValue()/currentInterval; internalRegistrar.shaleTime(0, scale); } | 1,118,638 |
public void setIsUnderline(boolean value){ this.setAttribute(ATTRIBUTE_IS_UNDERLINE, Boolean.toString(value)); } | public void setIsUnderline(boolean value){ this.setAttribute(ATTRIBUTE_IS_UNDERLINE, String.valueOf(value)); } | 1,118,639 |
public int getMaxDescriptionLength() { return BwEvent.maxDescriptionLength; } | public int getMaxDescriptionLength() { try { return fetchSvci().getSyspars().getMaxPublicDescriptionLength(); } catch (Throwable t) { err.emit(t); return 0; } } | 1,118,640 |
public JavaClosure(ATObject scope, JavaMethod meth) { super(meth, null); scope_ = scope; } | public JavaClosure(ATObject scope, JavaMethod meth) { super(meth, null); scope_ = scope; } | 1,118,641 |
public String getDefaultPersonalAccess() { return defaultPersonalAccess; } | public static String getDefaultPersonalAccess() { return defaultPersonalAccess; } | 1,118,642 |
public String getDefaultPublicAccess() { return defaultPublicAccess; } | public static String getDefaultPublicAccess() { return defaultPublicAccess; } | 1,118,643 |
public CurrentAccess evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl, PrivilegeSet filter) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; Curr... | public CurrentAccess evaluateAccess(AccessPrincipal who, String owner, Privilege[] how, char[] acl, PrivilegeSet filter) throws AccessException { boolean authenticated = !who.getUnauthenticated(); boolean isOwner = false; Curr... | 1,118,644 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; } CalSvcI svci = form.getCalSvcI(); /** We are just updating ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; } CalSvcI svci = form.getCalSvcI(); /** We are just updating ... | 1,118,647 |
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<prop-filter name=\""); sb.append(name); sb.append("\">\n"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>\n"); } else if (timeRange != null) { time... | public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<prop-filter name=\""); sb.append(name); sb.append("\">\n"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>\n"); } else if (timeRange != null) { time... | 1,118,652 |
public boolean filter(Component c) throws WebdavException { try { PropertyList pl = c.getProperties(); if (pl == null) { return false; } Property prop = pl.getProperty(getName()); if (prop == null) { return false; } if (getIsDefined()) { return true; } ... | public boolean filter(Component c) throws WebdavException { try { PropertyList pl = c.getProperties(); if (pl == null) { return false; } Property prop = pl.getProperty(getName()); if (prop == null) { return false; } if (getIsDefined()) { return true; } ... | 1,118,653 |
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<param-filter name=\""); sb.append(name); sb.append(">\n"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>\n"); } else { match.dump(log, indent + " ... | public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<param-filter name=\""); sb.append(name); sb.append(">\n"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>\n"); } else { match.dump(log, indent + " ... | 1,118,654 |
public static void createSequence(String tableName, Connection conn, Object tableObj, SQLLoader statements) throws SQLException { try { Field field = tableObj.getClass().getField(tableName+"S... | public static void createSequence(String tableName, Connection conn, Object tableObj, SQLLoader statements) throws SQLException { try { Field field = tableObj.getClass().getDeclaredField(tabl... | 1,118,655 |
public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | 1,118,657 |
public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | 1,118,658 |
public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | public org.omg.CORBA.Object resolve(String dns, String interfacename, String objectname) throws NotFound,CannotProceed, InvalidName, org.omg.CORBA.ORBPackage.InvalidName { dns = appendKindNames(dns); if(interfacename != null && interfacename.length() != 0) dns = dns + "/" + interfacename + ".interface"... | 1,118,659 |
public List getAllObjects(String interfaceName, FissBranch startingBranch) { List leaves = new ArrayList(); NamingContext namingContext = startingBranch.namingContext; BindingListHolder bindings = new BindingListHolder(); BindingIteratorHolder bindingIteratorHolder = new BindingIteratorH... | public List getAllObjects(String interfaceName, FissBranch startingBranch) { List leaves = new ArrayList(); NamingContext namingContext = startingBranch.namingContext; BindingListHolder bindings = new BindingListHolder(); BindingIteratorHolder bindingIteratorHolder = new BindingIteratorH... | 1,118,660 |
public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | 1,118,661 |
public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | 1,118,662 |
public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | 1,118,663 |
public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | public void readNextPacket(DataInput in, boolean processData, TimeRange fileTimeWindow) throws IOException, RT130FormatException, RT130BadPacketException { Calendar beginTime = Calendar.getInstance(); MicroSecondDate beginDate = ne... | 1,118,664 |
public RT130BadPacketException(String s) { super(s); } | public RT130BadPacketException(String s) { super(s); } | 1,118,665 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwSponsor sp = form.getSponsor(); int delResult = form.getCalSvcI()... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } BwSponsor sp = form.getSponsor(); int delResult = form.getCalSvcI()... | 1,118,666 |
public OMEvent(EventAccessOperations eao) throws NoPreferredOrigin{ super(2); Origin prefOrigin = eao.get_preferred_origin(); float lat = prefOrigin.my_location.latitude; float lon = prefOrigin.my_location.longitude; float mag = prefOrigin.magnitudes[0].value; double scale = 2.2; int lilDiameter = (int)... | public OMEvent(EventAccessOperations eao) throws NoPreferredOrigin{ super(2); Origin prefOrigin = eao.get_preferred_origin(); float lat = prefOrigin.my_location.latitude; float lon = prefOrigin.my_location.longitude; float mag = prefOrigin.magnitudes[0].value; double scale = 1.8; int lilDiameter = (int)... | 1,118,667 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.fetchSvci(); BwPreferences prefs; /* Refetch the prefs */ if (getReqPar(requ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svc = form.fetchSvci(); BwPreferences prefs; /* Refetch the prefs */ if (getPublicAdmin... | 1,118,670 |
public void addParent(BasicSeismogramDisplay newParent){ parents.add(newParent); } | public void addParent(BasicSeismogramDisplay newParent){ if(!parents.contains(newParent)) parents.add(newParent); } | 1,118,671 |
public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces.co... | public void merge(char[] val) throws AccessException { EncodedAcl ea = new EncodedAcl(); ea.setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); ac... | 1,118,672 |
public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces.co... | public void merge(char[] val) throws AccessException { setEncoded(val); if (ea.empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces... | 1,118,673 |
public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces.co... | public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (ea.hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces... | 1,118,674 |
public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(this, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces.co... | public void merge(char[] val) throws AccessException { setEncoded(val); if (empty()) { return; } while (hasMore()) { Ace ace = new Ace(); ace.decode(ea, true); ace.setInherited(true); if (aces == null) { aces = new TreeSet(); aces.add(ace); } else if (!aces.cont... | 1,118,675 |
public ActionForward execute(ActionMapping mapping, ActionForm frm, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ErrorEmitSvlt err = null; M... | public ActionForward execute(ActionMapping mapping, ActionForm frm, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ErrorEmitSvlt err = null; M... | 1,118,676 |
public ActionForward execute(ActionMapping mapping, ActionForm frm, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ErrorEmitSvlt err = null; M... | public ActionForward execute(ActionMapping mapping, ActionForm frm, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ErrorEmitSvlt err = null; M... | 1,118,677 |
public static BwLog getLogger() { BwLog logger = null; try { logger = (BwLog)CalEnv.getGlobalObject("loggerclass", BwLog.class); } catch (Throwable t) { logger = new BwLogImpl(); } return logger; } | public static BwLog getLogger() { BwLog logger = null; try { logger = (BwLog)CalEnvFactory.getEnv(null, false).getGlobalObject("loggerclass", BwLog.class); } catch (Throwable t) { logger = new BwLogImpl(); } return logger; } | 1,118,678 |
public void addSeismogram(LocalSeismogram seis){ if(beginTime == null) this.beginTime = ((LocalSeismogramImpl)seis).getBeginTime(); if(displayInterval == null) this.displayInterval = new TimeInterval(((LocalSeismogramImpl)seis).getBeginTime(), ((LocalSeismogramImpl)seis).getEndTime()); seismos.put... | public void addSeismogram(LocalSeismogram seis){ if(beginTime == null){ this.beginTime = ((LocalSeismogramImpl)seis).getBeginTime(); if(displayInterval == null) this.displayInterval = new TimeInterval(((LocalSeismogramImpl)seis).getBeginTime(), ((LocalSeismogramImpl)seis).getEndTime()); seismos.pu... | 1,118,679 |
public void addSeismogram(LocalSeismogram seis){ if(beginTime == null) this.beginTime = ((LocalSeismogramImpl)seis).getBeginTime(); if(displayInterval == null) this.displayInterval = new TimeInterval(((LocalSeismogramImpl)seis).getBeginTime(), ((LocalSeismogramImpl)seis).getEndTime()); seismos.put... | public void addSeismogram(LocalSeismogram seis){ if(beginTime == null) this.beginTime = ((LocalSeismogramImpl)seis).getBeginTime(); if(displayInterval == null) this.displayInterval = new TimeInterval(((LocalSeismogramImpl)seis).getBeginTime(), ((LocalSeismogramImpl)seis).getEndTime()); this.updat... | 1,118,680 |
public abstract MicroSecondTimeRange getTimeRange(); | public abstract MicroSecondTimeRange getTimeRange(DataSetSeismogram seis); | 1,118,681 |
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized(circles){ Iterator it = circles.iterator(); while (it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if (current.getEvent().get_preferred_origin().equ... | public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized(circles){ Iterator it = circles.iterator(); while (it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if (DisplayUtils.originIsEqual(current.getEvent()... | 1,118,682 |
public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized(circles){ Iterator it = circles.iterator(); while (it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if (current.getEvent().get_preferred_origin().equ... | public void eqSelectionChanged(EQSelectionEvent eqSelectionEvent) { OMEvent selected = null; List deselected = new ArrayList(); synchronized(circles){ Iterator it = circles.iterator(); while (it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if (current.getEvent().get_preferred_origin().equ... | 1,118,683 |
public boolean mouseMoved(MouseEvent e){ synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if(current.getBigCircle().contains(e.getX(), e.getY())){ EventAccessOperations event = current.getEvent(); StringBuffer buf = new St... | public boolean mouseMoved(MouseEvent e){ synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); try{ if(current.getBigCircle().contains(e.getX(), e.getY())){ EventAccessOperations event = current.getEvent(); StringBuffer buf = new St... | 1,118,684 |
public CalSvcTestWrapper(String user, int access, boolean publicEvents, boolean debug) throws Throwable { super(); //this.debug = debug; isPublic = publicEvents; this.user = user; String envPrefix; if (publicEvents) { ... | public CalSvcTestWrapper(String user, int access, boolean publicEvents, boolean debug) throws Throwable { super(); //this.debug = debug; isPublic = publicEvents; this.user = user; String envPrefix; if (publicEvents) { ... | 1,118,685 |
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | 1,118,686 |
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | 1,118,687 |
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { if (form.getGuest()) { return "doNothing"; } int id = form.getLocationId(); if (id < 0) { // Do nothing return "doNothing"; } CalSvcI svci = form.getCalSvcI(); BwLocatio... | 1,118,688 |
public void testGetCurrentUrlMalformedQueryString() throws Exception { request.setScheme("http"); request.setServerName("www.example.com"); request.setServerPort(80); request.setContextPath(""); request.setServletPath("/index.jsp"); request.setQueryString("param1=test1"); URL result = RequestHelper.getCurrent... | public void testGetCurrentUrlMalformedQueryString() throws Exception { request.setScheme("http"); request.setServerName("www.example.com"); request.setServerPort(80); request.setContextPath(""); request.setServletPath("/index.jsp"); URL result = RequestHelper.getCurrentUrl(request); String ext = result.toEx... | 1,118,689 |
public static PrivilegeSet fromEncoding(EncodedAcl acl) throws AccessException { char[] privStates = { unspecified, // privAll unspecified, // privRead unspecified, // privReadAcl unspecified, // privReadCurrentUserPrivilegeSet unspecified, // privReadFreeBusy unspecified, ... | public static PrivilegeSet fromEncoding(EncodedAcl acl) throws AccessException { char[] privStates = { unspecified, // privAll unspecified, // privRead unspecified, // privReadAcl unspecified, // privReadCurrentUserPrivilegeSet unspecified, // privReadFreeBusy unspecified, ... | 1,118,691 |
public static PrivilegeSet fromEncoding(EncodedAcl acl) throws AccessException { char[] privStates = { unspecified, // privAll unspecified, // privRead unspecified, // privReadAcl unspecified, // privReadCurrentUserPrivilegeSet unspecified, // privReadFreeBusy unspecified, ... | public static PrivilegeSet fromEncoding(EncodedAcl acl) throws AccessException { char[] privStates = { unspecified, // privAll unspecified, // privRead unspecified, // privReadAcl unspecified, // privReadCurrentUserPrivilegeSet unspecified, // privReadFreeBusy unspecified, ... | 1,118,692 |
public static Collection getPrivs(EncodedAcl acl) throws AccessException { ArrayList al = new ArrayList(); while (acl.hasMore()) { char c = acl.getChar(); if ((c == ' ') || (c == inheritedFlag)) { break; } acl.back(); Privilege p = findPriv(privs[privAll], acl); if (p == nul... | public static Collection getPrivs(EncodedAcl acl) throws AccessException { ArrayList al = new ArrayList(); while (acl.hasMore()) { char c = acl.getChar(); if ((c == ' ') || (c == inheritedFlag)) { break; } acl.back(); Privilege p = Privilege.findPriv(privs[privAll], privs[privNon... | 1,118,694 |
int getMaxMonth() { return 12; } | int getMaxMonth() { return 12; } | 1,118,695 |
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ... | public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ... | 1,118,696 |
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ... | public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ... | 1,118,697 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.