bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void end(String ns, String name) throws Exception { try { BwAdminGroup entity = (BwAdminGroup)pop(); if (entity.getGroupOwner() == null) { error("Missing group owner for admin group " + entity); return; } if (entity.getOwner() == null) { error("Missing owner for admi... | public void end(String ns, String name) throws Exception { try { if (entity.getGroupOwner() == null) { error("Missing group owner for admin group " + entity); return; } if (entity.getOwner() == null) { error("Missing owner for admin group " + entity); return; }... | 1,118,110 |
public EventAccessOperations[] getAllEvents() { ProxyEventAccessOperations[] eaos = new ProxyEventAccessOperations[getRowCount()]; for (int i = 0; i < getRowCount(); i++) { eaos[i] = BulletproofVestFactory.vestEventAccess(getEventForRow(i)); } return eaos; } | public EventAccessOperations[] getAllEvents() { ProxyEventAccessOperations[] eaos = new ProxyEventAccessOperations[getRowCount()]; for (int i = 0; i < getRowCount(); i++) { eaos[i] = BulletproofVestFactory.vestEventAccess(getEventForRow(i)); } return eaos; } | 1,118,113 |
public int getRowCount() { return events.length; } | public int getRowCount() { return getAllEvents().length; } | 1,118,115 |
public int getRowForEvent(EventAccessOperations event) { for (int i = 0; i < getRowCount(); i++) { EventAccessOperations eao = getEventForRow(i); if (eao.equals(event)) { return i; } } return -1; } | public int getRowForEvent(EventAccessOperations event) { for (int i = 0; i < getRowCount(); i++) { EventAccessOperations eao = getEventForRow(i); if (eao.equals(event)) { return i; } } return -1; } | 1,118,116 |
public void updateEvents(EventAccessOperations[] events) { this.events = events; cachedEvents.clear(); rowNumber.clear(); fireEventDataCleared(); fireTableDataChanged(); fireEventDataChanged(events); } | public void updateEvents(EventAccessOperations[] events) { this.events = events; cachedEvents.clear(); rowNumber.clear(); fireEventDataCleared(); fireTableDataChanged(); fireEventDataChanged(events); } | 1,118,118 |
public EventAccessOperations getWrappedEventAccess(Class wrappedClass){ if(getClass().equals(wrappedClass)) { return this; } if(getWrappedEventAccess().getClass().equals(wrappedClass)){ return getWrappedEventAccess(); }else if(getWrappedEventAccess().getClass().equals(ProxyEventAccessOpera... | public EventAccessOperations getWrappedEventAccess(Class wrappedClass){ if(getClass().equals(wrappedClass)) { return this; } if(getWrappedEventAccess().getClass().equals(wrappedClass)){ return getWrappedEventAccess(); }else if(getWrappedEventAccess().getClass().equals(ProxyEventAccessOpera... | 1,118,119 |
private void fireZoomChanged(ZoomEvent ze){ // Guaranteed to return a non-null array Object[] listeners = listenerList.getListenerList(); System.out.println("length of listeners[]: " + listeners.length); // Process the listeners last to first, notifying // those that are interested in this event for (int i = lis... | private void fireZoomChanged(ZoomEvent ze){ // Guaranteed to return a non-null array Object[] listeners = listenerList.getListenerList(); // Process the listeners last to first, notifying // those that are interested in this event for (int i = listeners.length-2; i>=0; i-=2) { System.out.println("fireZoomChan... | 1,118,122 |
private void fireZoomChanged(ZoomEvent ze){ // Guaranteed to return a non-null array Object[] listeners = listenerList.getListenerList(); System.out.println("length of listeners[]: " + listeners.length); // Process the listeners last to first, notifying // those that are interested in this event for (int i = lis... | private void fireZoomChanged(ZoomEvent ze){ // Guaranteed to return a non-null array Object[] listeners = listenerList.getListenerList(); System.out.println("length of listeners[]: " + listeners.length); // Process the listeners last to first, notifying // those that are interested in this event for (int i = lis... | 1,118,123 |
public void mouseClicked(MouseEvent e){ System.out.println("mouseClicked in ZoomEvent"); if (isActive()){ LatLonPoint llp = mapBean.getCoordinates(e); mapBean.center(new CenterEvent(this, llp.getLatitude(), llp.getLongitude())); zoom(); } } | public void mouseClicked(MouseEvent e){ if (isActive()){ LatLonPoint llp = mapBean.getCoordinates(e); mapBean.center(new CenterEvent(this, llp.getLatitude(), llp.getLongitude())); zoom(); } } | 1,118,124 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,125 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,126 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,127 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,128 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,129 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,130 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,131 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... | 1,118,132 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | 1,118,134 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!validateEventSponsor(form, svci, event, err)) { ok = false; } if (!form.validateEventLocation()) { ok = false; ... | 1,118,135 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!validateEventLocation(form, svci, event, err)) { ok = false; ... | 1,118,136 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!vali... | 1,118,137 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | 1,118,138 |
private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | private boolean validateEvent(PEActionForm form) throws Throwable { boolean ok = form.validateEventCategory(); BwEvent ev = form.getEvent(); CalSvcI svci = form.fetchSvci(); if (!form.validateEventSponsor()) { ok = false; } if (!form.validateEventLocation()) { ok = false; } if (!form... | 1,118,139 |
protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... | protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... | 1,118,141 |
protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... | protected boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boo... | 1,118,142 |
protected int getAccess(HttpServletRequest req, MessageResources messages) throws CalFacadeException { int access = 0; /** This form works with broken containers. */ if (req.isUserInRole( getMessages().getMessage("org.bedework.role.admin"))) { access += User... | protected int getAccess(HttpServletRequest req, MessageResources messages) throws CalFacadeException { int access = 0; /** This form works with broken containers. */ if (req.isUserInRole( getMessages().getMessage("org.bedework.role.admin"))) { access += User... | 1,118,143 |
protected int getAccess(HttpServletRequest req, MessageResources messages) throws CalFacadeException { int access = 0; /** This form works with broken containers. */ if (req.isUserInRole( getMessages().getMessage("org.bedework.role.admin"))) { access += User... | protected int getAccess(HttpServletRequest req, MessageResources messages) throws CalFacadeException { int access = 0; /** This form works with broken containers. */ if (req.isUserInRole( getMessages().getMessage("org.bedework.role.admin"))) { access += User... | 1,118,144 |
public synchronized BwSession getState(HttpServletRequest request, BwActionFormBase form, MessageResources messages, String adminUserId, boolean admin) throws... | public synchronized BwSession getState(HttpServletRequest request, BwActionFormBase form, MessageResources messages, String adminUserId, boolean admin) throws... | 1,118,145 |
public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); synchronized(this){ displayInterval = timeConfig.getTimeRange().getInterval();} this.createImage(); return; } long endTime = timeConfig.getTimeRange().get... | public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); this.createImage(); return; } long endTime = timeConfig.getTimeRange().getEndTime().getMicroSecondTime(); long beginTime = timeConfig.getTimeRange().... | 1,118,148 |
public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); synchronized(this){ displayInterval = timeConfig.getTimeRange().getInterval();} this.createImage(); return; } long endTime = timeConfig.getTimeRange().get... | public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); synchronized(this){ displayInterval = timeConfig.getTimeRange().getInterval();} this.createImage(); return; } long endTime = timeConfig.getTimeRange().get... | 1,118,149 |
public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); synchronized(this){ displayInterval = timeConfig.getTimeRange().getInterval();} this.createImage(); return; } long endTime = timeConfig.getTimeRange().get... | public void paint(Graphics g){ if(overSizedImage == null || overSizedImage.get() == null){ logger.debug("the image is null and is being recreated"); synchronized(this){ displayInterval = timeConfig.getTimeRange().getInterval();} this.createImage(); return; } long endTime = timeConfig.getTimeRange().get... | 1,118,150 |
public synchronized void setImage(Image newImage){ overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime(); overBeginTime = overTimeRange.getBeginTime().getMicroSecondTime(); overTimeInterval = overEndTime - overBeginTime; di... | public synchronized void setImage(Image newImage){ overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime(); overBeginTime = overTimeRange.getBeginTime().getMicroSecondTime(); overTimeInterval = overEndTime - overBeginTime; di... | 1,118,151 |
public synchronized void setImage(Image newImage){ overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime(); overBeginTime = overTimeRange.getBeginTime().getMicroSecondTime(); overTimeInterval = overEndTime - overBeginTime; di... | public synchronized void setImage(Image newImage){ overTimeRange = timeConfig.getTimeRange().getOversizedTimeRange(2); overEndTime = overTimeRange.getEndTime().getMicroSecondTime(); overBeginTime = overTimeRange.getBeginTime().getMicroSecondTime(); overTimeInterval = overEndTime - overBeginTime; di... | 1,118,152 |
public AbstractDb (String directoryName, String databaseName){ this.directoryName = directoryName; this.databaseName = databaseName; } | public AbstractDb (String directoryName, String databaseName){ this.directoryName = directoryName; this.databaseName = databaseName; } | 1,118,160 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new OutputPin3CreateCommand(req)); } if (UML... | 1,118,161 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | 1,118,162 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | 1,118,163 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ... | 1,118,164 |
public int sendRequest(String method, String url, String user, String pw, Header[] hdrs, String depth, String contentType, int contentLen, byte[] content) throws Throwable { int sz = 0; if (content != null) { sz = content.length; } ... | public int sendRequest(String method, String url, Header[] hdrs, String depth, String contentType, int contentLen, byte[] content) throws Throwable { int sz = 0; if (content != null) { sz = content.length; } if (debug) { de... | 1,118,165 |
public int sendRequest(String method, String url, String user, String pw, Header[] hdrs, String depth, String contentType, int contentLen, byte[] content) throws Throwable { int sz = 0; if (content != null) { sz = content.length; } ... | public int sendRequest(String method, String url, String user, String pw, Header[] hdrs, String depth, String contentType, int contentLen, byte[] content) throws Throwable { int sz = 0; if (content != null) { sz = content.length; } ... | 1,118,166 |
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramIm... | public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram from the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramImp... | 1,118,167 |
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramIm... | public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramIm... | 1,118,168 |
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramIm... | public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { logger.debug("getting the seismogram fromt the cache"); Object obj = seismogramCache.get(name); if(obj instanceof SoftReference) { SoftReference softReference = (SoftReference)obj; LocalSeismogramIm... | 1,118,169 |
public BasicSeismogramDisplay addDisplay(DataSetSeismogram[] dss){ return addDisplay(dss, DisplayUtils.getSeismogramNames(dss)); } | public BasicSeismogramDisplay addDisplay(DataSetSeismogram[] dss){ return addDisplay(dss, globalRegistrar, new RMeanAmpConfig(dss)); } | 1,118,170 |
public VerticalSeismogramDisplay(MouseForwarder mouseForwarder, MouseMotionForwarder motionForwarder, VerticalSeismogramDisplay parent){ output.setTimeZone(TimeZone.getTimeZone("GMT")); this.mouseForwarder = mouseForwarder; this.motionForwarder = motionForwarder; super.setLayout(new BoxLayout(this, BoxLayo... | public VerticalSeismogramDisplay(MouseForwarder mouseForwarder, MouseMotionForwarder motionForwarder, VerticalSeismogramDisplay parent){ output.setTimeZone(TimeZone.getTimeZone("GMT")); this.mouseForwarder = mouseForwarder; this.motionForwarder = motionForwarder; super.setLayout(new BoxLayout(this, BoxLayo... | 1,118,171 |
private Collection getFreeBusy(Date start, Date end) throws Throwable { ArrayList responses = new ArrayList(); Iterator it = uiList.iterator(); while (it.hasNext()) { UserInfo ui = (UserInfo)it.next(); Req r = makeFreeBusyRequest(start, end, ui); CaldavClientIo cio = getCio(ui.host, ui.port); ... | private Collection getFreeBusy(Date start, Date end) throws Throwable { ArrayList responses = new ArrayList(); Iterator it = uiList.iterator(); while (it.hasNext()) { UserInfo ui = (UserInfo)it.next(); Req r = makeFreeBusyRequest(start, end, ui); CaldavClientIo cio = getCio(ui.host, ui.port); ... | 1,118,172 |
private Collection getFreeBusy(Date start, Date end) throws Throwable { ArrayList responses = new ArrayList(); Iterator it = uiList.iterator(); while (it.hasNext()) { UserInfo ui = (UserInfo)it.next(); Req r = makeFreeBusyRequest(start, end, ui); CaldavClientIo cio = getCio(ui.host, ui.port); ... | private Collection getFreeBusy(Date start, Date end) throws Throwable { ArrayList responses = new ArrayList(); Iterator it = uiList.iterator(); while (it.hasNext()) { UserInfo ui = (UserInfo)it.next(); Req r = makeFreeBusyRequest(start, end, ui); CaldavClientIo cio = getCio(ui.host, ui.port); ... | 1,118,173 |
private void init() throws Throwable { /* addUser(new UserInfo("testuser01", "bedework", "douglm", "localhost", 8080, false, "/ucaldav/user/douglm")); addUser(new UserInfo("testuser01", "bedework", "johnsa", "localhost", 8080, false, ... | private void init() throws Throwable { /* addUser(new UserInfo("testuser01", "bedework", "douglm", "localhost", 8080, false, "/ucaldav/user/douglm")); addUser(new UserInfo("testuser01", "bedework", "johnsa", "localhost", 8080, false, ... | 1,118,175 |
private void init() throws Throwable { /* addUser(new UserInfo("testuser01", "bedework", "douglm", "localhost", 8080, false, "/ucaldav/user/douglm")); addUser(new UserInfo("testuser01", "bedework", "johnsa", "localhost", 8080, false, ... | private void init() throws Throwable { /* addUser(new UserInfo("testuser01", "bedework", "douglm", "localhost", 8080, false, "/ucaldav/user/douglm")); addUser(new UserInfo("testuser01", "bedework", "johnsa", "localhost", 8080, false, ... | 1,118,176 |
private Req makeFreeBusyRequest(Date start, Date end, UserInfo ui) throws Throwable { Req req; if (ui.authUser == null) { req = new Req(); } else { req = new Req(ui.authUser, ui.authPw); } req.setUrl(ui.url); req.setContentType("text/xml"); req.setMethod("REPORT"); req.addHeader("Dep... | private Req makeFreeBusyRequest(Date start, Date end, UserInfo ui) throws Throwable { Req req; if (ui.authUser == null) { req = new Req(); } else { req = new Req(ui.authUser, ui.authPw); } req.setUrl(ui.url); req.setContentType("text/xml"); req.setMethod("REPORT"); req.addHeader("Dep... | 1,118,177 |
private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; double pieceSize = PIXELS / (double)numPieces; for(int i = 0; i < pieces.length; i++) { ... | 1,118,178 |
private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | 1,118,179 |
private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | 1,118,180 |
private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | private static PlottableChunk[] breakIntoPieces(PlottableChunk original, int numPieces) { PlottableChunk[] pieces = new PlottableChunk[numPieces]; int pieceSize = SPD / numPieces; for(int i = 0; i < pieces.length; i++) { int startPoi... | 1,118,181 |
private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPoints) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPixels) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | 1,118,182 |
private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPoints) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPoints) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | 1,118,183 |
private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPoints) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | private static PlottableChunk makeSubPlottable(PlottableChunk orig, int startPoint, int numPoints) { Plottable subPlott = new Plottable(copy(orig.getData().x_coor, ... | 1,118,184 |
public void testPutThenGet() throws SQLException, IOException { plottDb.put(new PlottableChunk[] {data}); PlottableChunk[] out = plottDb.get(data.getTimeRange(), data.getChannel(), data.getPixelsPerDay()); Syste... | public void testPutThenGet() throws SQLException, IOException { plottDb.put(new PlottableChunk[] {data}); PlottableChunk[] out = plottDb.get(data.getTimeRange(), data.getChannel(), data.getPixelsPerDay()); ... | 1,118,185 |
public static LocalSeismogramImpl createSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, ChannelId id) { return createRaggedSpike(time, ... | public static LocalSeismogramImpl createSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, ChannelId id) { return createRaggedSpike(time, ... | 1,118,186 |
public static Plottable makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int pixelsPerDay) throws CodecException { logger.debug("Making plottable for seis starting at " + seis.getBeginT... | public static Plottable makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int pixelsPerDay) throws CodecException { logger.debug("Making plottable for seis starting at " + seis.getBeginT... | 1,118,187 |
public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { BwUser user; CalSvcI svci = form.fetchSvci(); gotoDateView(this, form, form.getDate(), form.getViewTypeI(), debug); String userId = getReqPar(req... | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { BwUser user; CalSvcI svci = form.fetchSvci(); gotoDateView(this, form, form.getDate(), form.getViewTypeI(), debug); String userId = getReqPar(req... | 1,118,189 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { /** Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; }// Ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { /** Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; }// Ca... | 1,118,190 |
public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | 1,118,191 |
public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | 1,118,192 |
public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | 1,118,193 |
public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | 1,118,194 |
public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | public synchronized void drawParticleMotion(ParticleMotion particleMotion, Graphics g) { Graphics2D graphics2D = (Graphics2D) g; if(!recalculateValues) { recalculateValues = false; System.out.println(" DRAWING THE PARTICLE MOTION WITHOUT RECALCULATING THE VALUES"); graphics2D.draw(particleMotion.getShap... | 1,118,195 |
public synchronized Shape getParticleMotionPath(int[] x, int[] y) { int len = x.length; if(y.length < len) { len = y.length;} GeneralPath generalPath = new GeneralPath(GeneralPath.WIND_EVEN_ODD); if(len != 0) { generalPath.moveTo(x[0], y[0]); } for(int counter = 1; counter < len; counter++) { generalPath... | public synchronized Shape getParticleMotionPath(int[] x, int[] y) { int len = x.length; if(y.length < len) { len = y.length;} GeneralPath generalPath = new GeneralPath(GeneralPath.WIND_EVEN_ODD); if(len != 0) { generalPath.moveTo(x[0], y[0]); } for(int counter = 1; counter < len; counter++) { generalPath... | 1,118,196 |
public synchronized void paintComponent(Graphics g) { // if(setSelected == 1) g.setColor(Color.red); //else if(setSelected == 2) g.setColor(getBackground()); if(displayKeys.size() == 0) return; Graphics2D graphics2D = (Graphics2D)g; logger.debug("IN PAINT COMPONENT"); vunitRangeImpl = new UnitRangeImpl(getMinVerti... | public synchronized void paintComponent(Graphics g) { // if(setSelected == 1) g.setColor(Color.red); //else if(setSelected == 2) g.setColor(getBackground()); if(displayKeys.size() == 0) return; Graphics2D graphics2D = (Graphics2D)g; logger.debug("IN PAINT COMPONENT"); vunitRangeImpl = new UnitRangeImpl(getMinVerti... | 1,118,197 |
public synchronized void paintComponent(Graphics g) { // if(setSelected == 1) g.setColor(Color.red); //else if(setSelected == 2) g.setColor(getBackground()); if(displayKeys.size() == 0) return; Graphics2D graphics2D = (Graphics2D)g; logger.debug("IN PAINT COMPONENT"); vunitRangeImpl = new UnitRangeImpl(getMinVerti... | public synchronized void paintComponent(Graphics g) { // if(setSelected == 1) g.setColor(Color.red); //else if(setSelected == 2) g.setColor(getBackground()); if(displayKeys.size() == 0) return; Graphics2D graphics2D = (Graphics2D)g; logger.debug("IN PAINT COMPONENT"); vunitRangeImpl = new UnitRangeImpl(getMinVerti... | 1,118,198 |
private void appendProperty(StringBuffer buffer, String propertyName, String propertyValue) throws UnsupportedEncodingException { if (propertyValue != null) { buffer.append("&").append(propertyName).append("=").append(URLEncoder.encode(propertyValue, "UTF-8")); } } | private void appendProperty(StringBuffer buffer, String propertyName, String propertyValue) throws UnsupportedEncodingException { if (propertyValue != null) { buffer.append("&").append(propertyName).append("=").append(URLEncoder.encode(propertyValue, "ISO-8859-1")); } } | 1,118,199 |
private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper... | private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper... | 1,118,200 |
private String getPostData(Hashtable properties) { StringBuffer strPostData = new StringBuffer(); try { appendProperty(strPostData, PROPERTY_PASSWORD, PASSWORD); addProperties(strPostData, properties); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } System.out.println("[Korta] post_data =... | private String getPostData(Hashtable properties) { StringBuffer strPostData = new StringBuffer(); try { appendProperty(strPostData, PROPERTY_PASSWORD, PASSWORD); addProperties(strPostData, properties); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return strPostData.toString(); } | 1,118,201 |
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, base, "genid"+Math.roun... | void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, dirURL, "genid"+Math.ro... | 1,118,202 |
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, base, "genid"+Math.roun... | void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, base, "genid"+Math.roun... | 1,118,203 |
void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, base, "genid"+Math.roun... | void process() throws ParserConfigurationException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); String userName = System.getProperty("user.name"); dataset = new XMLDataSet(docBuilder, base, "genid"+Math.roun... | 1,118,204 |
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,205 |
public static URL saveAsSac(LocalSeismogramImpl seis, File directory, Channel channel, EventAccessOperations event) throws IOException, NoPreferredOrigin, CodecException { SacTimeSeries sac; Str... | public static URL saveAsSac(LocalSeismogramImpl seis, File directory, Channel channel, EventAccessOperations event) throws IOException, NoPreferredOrigin, CodecException { SacTimeSeries sac; Str... | 1,118,206 |
public static URL saveAsSac(LocalSeismogramImpl seis, File directory, Channel channel, EventAccessOperations event) throws IOException, NoPreferredOrigin, CodecException { SacTimeSeries sac; Str... | public static URL saveAsSac(LocalSeismogramImpl seis, File directory, Channel channel, EventAccessOperations event) throws IOException, NoPreferredOrigin, CodecException { SacTimeSeries sac; Str... | 1,118,207 |
private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | 1,118,208 |
private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | 1,118,209 |
private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | 1,118,210 |
private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | private URL appendParameters(URL url, Map<String, String> additionalParams) throws UnsupportedEncodingException, MalformedURLException { // get the request encoding HttpServletRequest request = (HttpServletRequest) pageContext.getRequest(); String encoding = request.getCharacterEncoding(); // not... | 1,118,211 |
public int doEndTag() throws JspException { try { JspWriter out = pageContext.getOut(); // get locale-specific stuff locale = getDefaultLocale(); if (resourceBundle == null) resourceBundle = getDefaultResourceBundle(); if (timeZone == null) timeZone = getDefaultTimeZone(); ... | public int doEndTag() throws JspException { try { JspWriter out = pageContext.getOut(); // get locale-specific stuff locale = getDefaultLocale(); if (resourceBundle == null) resourceBundle = getDefaultResourceBundle(); if (timeZone == null) timeZone = getDefaultTimeZone(); ... | 1,118,212 |
private URL getCurrentUrl(HttpServletRequest request) throws MalformedURLException { StringBuilder buf = new StringBuilder(); String scheme = request.getScheme(); int port = request.getServerPort(); buf.append(scheme); buf.append("://"); buf.append(request.getServerName()); if ("http... | private URL getCurrentUrl(HttpServletRequest request) throws MalformedURLException { StringBuilder buf = new StringBuilder(); String scheme = request.getScheme(); int port = request.getServerPort(); buf.append(scheme); buf.append("://"); buf.append(request.getServerName()); if ("http... | 1,118,213 |
private URL getCurrentUrl(HttpServletRequest request) throws MalformedURLException { StringBuilder buf = new StringBuilder(); String scheme = request.getScheme(); int port = request.getServerPort(); buf.append(scheme); buf.append("://"); buf.append(request.getServerName()); if ("http... | private URL getCurrentUrl(HttpServletRequest request) throws MalformedURLException { StringBuilder buf = new StringBuilder(); String scheme = request.getScheme(); int port = request.getServerPort(); buf.append(scheme); buf.append("://"); buf.append(request.getServerName()); if ("http... | 1,118,214 |
private String getDefaultNextLink(Calendar current) throws MalformedURLException, UnsupportedEncodingException { logger.debug("next link, month=" + current.get(Calendar.MONTH)); Calendar nextCal = Calendar.getInstance(timeZone, locale); nextCal.setTime(current.getTime()); nextCal.add(Calendar.MONTH, 1... | private String getDefaultNextLink(Calendar current) throws MalformedURLException, UnsupportedEncodingException { Calendar nextCal = Calendar.getInstance(timeZone, locale); nextCal.setTime(current.getTime()); nextCal.add(Calendar.MONTH, 1); return getDefaultNavLink(nextCal); } | 1,118,215 |
private String getDefaultPrevLink(Calendar current) throws MalformedURLException, UnsupportedEncodingException { logger.debug("prev link, month=" + current.get(Calendar.MONTH)); Calendar prevCal = Calendar.getInstance(timeZone, locale); prevCal.setTime(current.getTime()); prevCal.add(Calendar.MONTH, -1); ... | private String getDefaultPrevLink(Calendar current) throws MalformedURLException, UnsupportedEncodingException { Calendar prevCal = Calendar.getInstance(timeZone, locale); prevCal.setTime(current.getTime()); prevCal.add(Calendar.MONTH, -1); return getDefaultNavLink(prevCal); } | 1,118,216 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svci = form.fetc... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svci = form.fetc... | 1,118,217 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svci = form.fetc... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svci = form.fetc... | 1,118,218 |
public TimeRangeConfig getInternalConfig(){ System.out.println(internalTimeConfig.getTimeRange().getBeginTime()); return internalTimeConfig; } | public TimeRangeConfig getInternalConfig(){ System.out.println(internalTimeConfig.getTimeRange().getBeginTime()); return internalTimeConfig; } | 1,118,219 |
public Shape draw(Dimension size){ if(visible){ MicroSecondTimeRange overTimeRange = timeRegistrar.getTimeRange(). getOversizedTimeRange(BasicSeismogramDisplay.OVERSIZED_SCALE); if(flagTime.before(overTimeRange.getBeginTime()) || flagTime.after(overTimeRange.getEndTime())) return null; double offset =... | public Shape draw(Dimension size){ if(visible){ MicroSecondTimeRange overTimeRange = timeRegistrar.getTimeRange(). getOversizedTimeRange(BasicSeismogramDisplay.OVERSIZED_SCALE); if(flagTime.before(overTimeRange.getBeginTime()) || flagTime.after(overTimeRange.getEndTime())) return new GeneralPath(); do... | 1,118,220 |
public void lookupResolved(NamedElement resolution) { if (resolution instanceof Classifier){ mySubject.getClassifiers().add(resolution); } } | public void lookupResolved(NamedElement resolution) { if (resolution instanceof Classifier){ mySubject.getClassifiers().add((Classifier)resolution); } } | 1,118,222 |
public static LocalSeismogram removeMean(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, removeMean(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, removeMean(iSeries)... | public static LocalSeismogram removeMean(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, removeMean(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, removeMean(iSeries)... | 1,118,223 |
public static LocalSeismogram removeMean(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, removeMean(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, removeMean(iSeries)... | public static LocalSeismogram removeMean(LocalSeismogram seis){ if(seismo.can_convert_to_float()){ float[] fSeries = seis.get_as_floats(); return new LocalSeismogramImpl(seis, removeMean(fSeries)); }else{ int[] iSeries = seismo.get_as_longs(); return new LocalSeismogramImpl(seis, removeMean(iSeries)... | 1,118,224 |
protected static int[][] compressYvalues(LocalSeismogram seismogram, MicroSecondTimeRange tr, UnitRangeImpl ampRange, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, tr, ampRange, size); // enough points to take the extra time to compress the lin... | protected static int[][] compressYvalues(LocalSeismogram seismogram, MicroSecondTimeRange tr, UnitRangeImpl ampRange, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, tr, ampRange, size); // enough points to take the extra time to compress the lin... | 1,118,225 |
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,227 |
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,228 |
public void setBegin(MicroSecondDate newBegin){ if ( latestTime.getTime().getEndTime().equals(newBegin)) { throw new IllegalArgumentException("Selection must not have zero width, newBegin and end are the same."); } // end of if () logger.debug("setBegin "+newBegin); MicroSecondDate currentBegin = latestTime.ge... | public void setBegin(MicroSecondDate newBegin){ if ( latestTime.getTime().getEndTime().equals(newBegin)) { throw new IllegalArgumentException("Selection must not have zero width, newBegin and end are the same."); } // end of if () MicroSecondDate currentBegin = latestTime.getTime().getBeginTime(); TimeInterva... | 1,118,230 |
public void setEnd(MicroSecondDate newEnd){ if ( latestTime.getTime().getBeginTime().equals(newEnd)) { throw new IllegalArgumentException("Selection must not have zero width, begin and newEnd are the same."); } // end of if () logger.debug("setEnd "+newEnd); MicroSecondDate currentEnd = latestTime.getTime().get... | public void setEnd(MicroSecondDate newEnd){ if ( latestTime.getTime().getBeginTime().equals(newEnd)) { throw new IllegalArgumentException("Selection must not have zero width, begin and newEnd are the same."); } // end of if () MicroSecondDate currentEnd = latestTime.getTime().getEndTime(); TimeInterval timeInt... | 1,118,231 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.