bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
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().ge...
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().ge...
1,118,455
public static void handleException(Exception exception) { JTabbedPane tabbedPane = new JTabbedPane(); JFrame displayFrame = new JFrame("Exception Handler"); JPanel messagePanel = new JPanel(); JLabel exceptionMessageLabel = new JLabel(); JTextArea messageArea = new JTextArea(); messageArea.setLineWrap(true); mess...
public static void handleException(Exception exception) { JTabbedPane tabbedPane = new JTabbedPane(); JFrame displayFrame = new JFrame("Exception Handler"); JPanel messagePanel = new JPanel(); JLabel exceptionMessageLabel = new JLabel(); JTextArea messageArea = new JTextArea(); messageArea.setLineWrap(true); mess...
1,118,458
public Object getValueAt(int row, int col) { if ( ! isRowCached(row)) { return "..."; } CacheEvent cache = getEventForRow(row); try { switch (col) { case NAME: if (cache.get_attributes() == null) { return ""; } return cache.get_attributes().name; case FEREGION: if (cache.get_attributes() ==...
public Object getValueAt(int row, int col) { if ( ! isRowCached(row)) { return "..."; } CacheEvent cache = getEventForRow(row); try { switch (col) { case NAME: if (cache.get_attributes() == null) { return ""; } return cache.get_attributes().name; case FEREGION: if (cache.get_attributes() ==...
1,118,459
public Object getValueAt(int row, int col) { if ( ! isRowCached(row)) { return "..."; } CacheEvent cache = getEventForRow(row); try { switch (col) { case NAME: if (cache.get_attributes() == null) { return ""; } return cache.get_attributes().name; case FEREGION: if (cache.get_attributes() ==...
public Object getValueAt(int row, int col) { if ( ! isRowCached(row)) { return "..."; } CacheEvent cache = getEventForRow(row); try { switch (col) { case NAME: if (cache.get_attributes() == null) { return ""; } return cache.get_attributes().name; case FEREGION: if (cache.get_attributes() ==...
1,118,460
public static JLabel getAmpLabel(){ return amp; }
public static JLabel getAmpLabel(){ return ampLabel; }
1,118,461
public static String getLabelText(){ return time.getText() + amp.getText(); }
public static String getLabelText(){ return timeLabel.getText() + ampLabel.getText(); }
1,118,462
public static JLabel getTimeLabel(){ return time; }
public static JLabel getTimeLabel(){ return timeLabel; }
1,118,463
public void removeAll(){ logger.debug("removing all displays"); super.removeAll(); basicDisplays.clear(); sorter = new SeismogramSorter(); globalRegistrar = null; time.setText(" Time: "); amp.setText(" Amp: "); repaint(); }
public void removeAll(){ logger.debug("removing all displays"); super.removeAll(); basicDisplays.clear(); sorter = new SeismogramSorter(); globalRegistrar = null; time.setText(" Time: "); amp.setText(" Amp: "); repaint(); }
1,118,464
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
1,118,465
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
1,118,466
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
public void setLabels(MicroSecondDate newTime, QuantityImpl newAmp){ calendar.setTime(newTime); if(output.format(calendar.getTime()).length() == 21) time.setText("Time: " + output.format(calendar.getTime()) + "00"); else if(output.format(calendar.getTime()).length() == 22) ...
1,118,467
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
1,118,469
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
1,118,470
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
1,118,471
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
public Shape draw(Dimension size){ GeneralPath currentShape = new GeneralPath(); int scale = 5; int w = size.width, h = size.height; Dimension mySize = new Dimension(w, h); int[] xPixels = null; int[] yPixels = null; int[][] pixels; MicroSecondTimeRange overTimeRange = timeConfig.getTimeRange(seismogram).getOversiz...
1,118,472
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** User requested a location from the list. Retrieve it, embed it in ...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } /** User requested a location from the list. Retrieve it, embed it in ...
1,118,473
public void dispose() { playlist.stop(); playlist.save(); }
public void dispose() { playlist.setPlayAll(false); playlist.save(); }
1,118,474
public void calculateTicks(){ timeIntv = (endTime.getMicroSecondTime() - beginTime.getMicroSecondTime())/ 1000; if(timeIntv <= 100) this.divCalculateTicks(10); else if(timeIntv <= 500) this.divCalculateTicks(50); else if(timeIntv <= 100) this.divCalculateTicks(100); else if(timeIntv <= 5000) this.d...
public void calculateTicks(){ timeIntv = (endTime.getMicroSecondTime() - beginTime.getMicroSecondTime())/ 1000; if(timeIntv <= 100) this.divCalculateTicks(10); else if(timeIntv <= 500) this.divCalculateTicks(50); else if(timeIntv <= 1000) this.divCalculateTicks(100); else if(timeIntv <= 5000) this....
1,118,475
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
1,118,476
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
1,118,477
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
1,118,478
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
1,118,479
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } BwSubscription sub = for...
1,118,480
public void testDefExternalField() throws InterpreterException { ATObject rcvr = new NATObject(); AGSymbol rcvnam = AGSymbol.alloc("o2"); ctx_.base_getLexicalScope().meta_defineField(rcvnam, rcvr); evalAndCompareTo("def o2.x := 3", NATNil._INSTANCE_); try { assertEquals(atThree_, rcvr.meta_s...
public void testDefExternalField() throws InterpreterException { ATObject rcvr = new NATObject(); AGSymbol rcvnam = AGSymbol.jAlloc("o2"); ctx_.base_getLexicalScope().meta_defineField(rcvnam, rcvr); evalAndCompareTo("def o2.x := 3", NATNil._INSTANCE_); try { assertEquals(atThree_, rcvr.meta_...
1,118,482
public void testDefExternalMethod() throws InterpreterException { ATObject rcvr = new NATObject(); AGSymbol rcvnam = AGSymbol.alloc("o"); ctx_.base_getLexicalScope().meta_defineField(rcvnam, rcvr); evalAndCompareTo("def o.x() { self }", NATNil._INSTANCE_); try { ATClosure clo = rcvr.meta_loo...
public void testDefExternalMethod() throws InterpreterException { ATObject rcvr = new NATObject(); AGSymbol rcvnam = AGSymbol.jAlloc("o"); ctx_.base_getLexicalScope().meta_defineField(rcvnam, rcvr); evalAndCompareTo("def o.x() { self }", NATNil._INSTANCE_); try { ATClosure clo = rcvr.meta_lo...
1,118,483
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ /* Don't use lookup - we might be called from lookup on init */ TimezoneInfo tzinfo = (TimezoneI...
public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ /* Don't use lookup - we might be called from lookup on init */ TimezoneInfo tzinfo = (TimezoneI...
1,118,484
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000)...
1,118,485
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
1,118,486
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
1,118,487
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
1,118,488
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
1,118,489
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("mm:ss"); timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); if(majTickTime <= 100000){ timeFormat...
1,118,490
public Collection fromIcal(BwCalendar cal, Reader rdr) throws CalFacadeException { try { //System.setProperty("ical4j.unfolding.relaxed", "true"); CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); //return fromIcal(cal, bldr.build(new UnfoldingReader(rdr))); return fromIcal(...
public Collection fromIcal(BwCalendar cal, String val) throws CalFacadeException { try { //System.setProperty("ical4j.unfolding.relaxed", "true"); CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); //return fromIcal(cal, bldr.build(new UnfoldingReader(rdr))); return fromIcal(...
1,118,492
public Collection fromIcal(BwCalendar cal, Reader rdr) throws CalFacadeException { try { //System.setProperty("ical4j.unfolding.relaxed", "true"); CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); //return fromIcal(cal, bldr.build(new UnfoldingReader(rdr))); return fromIcal(...
public Collection fromIcal(BwCalendar cal, Reader rdr) throws CalFacadeException { try { //System.setProperty("ical4j.unfolding.relaxed", "true"); CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); //return fromIcal(cal, bldr.build(new UnfoldingReader(rdr))); UnfoldingReader ...
1,118,493
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
1,118,494
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
1,118,495
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
1,118,496
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
private void generateDataSource(IWContext iwc) throws XMLException, Exception { Locale currentLocale = iwc.getCurrentLocale(); if(_queryPK != null) { QueryService service = (QueryService)(IBOLookup.getServiceInstance(iwc,QueryService.class)); _dataSource = service.generateQueryResult(_queryPK, iwc); } else if ...
1,118,497
public void helpManual() { if (Main.isMac()) { try { Class HelpBook = Class.forName("dg.hipster.HelpBook"); Method launchHelpViewer = HelpBook.getMethod( "launchHelpViewer"); launchHelpViewer.invoke(new Integer(10)); } ...
public void helpManual() { if (Main.isMac()) { try { Class HelpBook = Class.forName("dg.hipster.HelpBook"); Method launchHelpViewer = HelpBook.getMethod( "launchHelpViewer"); launchHelpViewer.invoke(new Integer(10)); } ...
1,118,498
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().ge...
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().ge...
1,118,499
public Main() { if (isMac()) { try { Class.forName("dg.hipster.controller.MacAppListener"); } catch(ClassNotFoundException cnfe) { cnfe.printStackTrace(); } } }
public Main() { if (isMac()) { try { Class.forName("dg.hipster.controller.MacAppListener"); } catch(ClassNotFoundException cnfe) { cnfe.printStackTrace(); } } }
1,118,502
public void castTo(Class type) throws XJavaException { if (type.isInstance(wrappedObject_)) { staticType_ = type; } else { throw new XJavaException(new ClassCastException("Failed to cast a Java object of type " + staticType_.getSimpleName() + " into a " + type.getSimpleName())); } }
public void castTo(Class type) throws XJavaException { if (type.isInstance(wrappedObject_)) { staticType_ = type; } else { throw new XJavaException(new ClassCastException("Failed to cast a Java object of type " + staticType_.getName() + " into a " + type.getName())); } }
1,118,504
public static Method[] getMethods(Class fromClass, String selector, boolean isStatic) throws XSelectorNotFound { Method[] methods = fromClass.getMethods(); Method m; Vector properMethods = new Vector(methods.length); for (int i = 0; i < methods.length; i++) { m = methods[i]; if ((Modifier.isStatic(m.getModifie...
public static Method[] getMethods(Class fromClass, String selector, boolean isStatic) { Method[] methods = fromClass.getMethods(); Method m; Vector properMethods = new Vector(methods.length); for (int i = 0; i < methods.length; i++) { m = methods[i]; if ((Modifier.isStatic(m.getModifiers())) == isStatic && m.g...
1,118,505
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
1,118,507
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
1,118,508
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
1,118,509
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
public static DataSetSeismogram[] getComponents(DataSetSeismogram seismogram){ List componentSeismograms = new ArrayList(); RequestFilter rf = seismogram.getRequestFilter(); MicroSecondDate startDate = new MicroSecondDate(rf.start_time); MicroSecondDate endDate = new MicroSecondDate(rf.e...
1,118,510
public void removeSeismogram(LocalSeismogram aSeis){ if(seismos.contains(aSeis)){ MicroSecondTimeRange calcIntv; if(this.timeConfig == null) calcIntv = new MicroSecondTimeRange(((LocalSeismogramImpl)aSeis).getBeginTime(), ((LocalSeismogramImpl)aSeis).getEndTime()); else calcIntv = timeConfig.getTimeR...
public void removeSeismogram(LocalSeismogram aSeis){ if(seismos.contains(aSeis)){ MicroSecondTimeRange calcIntv; if(this.timeConfig == null) calcIntv = new MicroSecondTimeRange(((LocalSeismogramImpl)aSeis).getBeginTime(), ((LocalSeismogramImpl)aSeis).getEndTime()); else calcIntv = timeConfig.getTimeR...
1,118,511
public boolean validateGroup(BwGroup updgrp, MessageEmit err) throws Throwable { boolean ok = true; if (updgrp == null) { // bogus call. return false; } updgrp.setAccount(Util.checkNull(updgrp.getAccount())); if (updgrp.getAccount() == null) { err.emit("org.bedework.pubevents.error.missi...
public boolean validateGroup(BwGroup updgrp, MessageEmit err) throws Throwable { boolean ok = true; if (updgrp == null) { // bogus call. return false; } updgrp.setAccount(Util.checkNull(updgrp.getAccount())); if (updgrp.getAccount() == null) { err.emit("org.bedework.pubevents.error.missi...
1,118,514
public void draw(Graphics2D canvas, Dimension size, TimeEvent timeEvent, AmpEvent ampEvent){ setFlagTime(new MicroSecondDate().add(RTTimeRangeConfig.serverTimeOffset)); super.draw(canvas, size, timeEvent, ampEvent); }
public void draw(Graphics2D canvas, Dimension size, TimeEvent timeEvent, AmpEvent ampEvent){ setFlagTime(ClockUtil.now()); super.draw(canvas, size, timeEvent, ampEvent); }
1,118,515
public boolean remove(){ if(internalTimeConfig.getTimeRange().getInterval().getValue()/externalTimeConfig.getTimeRange().getInterval().getValue() < .01) return true; return false; }
public boolean remove(){ if(internalTimeConfig.getTimeRange().getInterval().getValue()/externalTimeConfig.getTimeRange().getInterval().getValue() < .01) return true; return false; }
1,118,516
public Channel[] getSelectedChannels(){ Channel[] inChannels = getChannels(); return getSelectedChannels(inChannels, new MicroSecondDate()); }
public Channel[] getSelectedChannels(MicroSecondDate when){ Channel[] inChannels = getChannels(); return getSelectedChannels(inChannels, new MicroSecondDate()); }
1,118,517
public Channel[] getSelectedChannels(){ Channel[] inChannels = getChannels(); return getSelectedChannels(inChannels, new MicroSecondDate()); }
public Channel[] getSelectedChannels(){ Channel[] inChannels = getChannels(); logger.debug("before prune channels, length="+inChannels.length); inChannels = BestChannelUtil.pruneChannels(inChannels, when); logger.debug("after prune channels, length="+inChannels.length); return getSelectedChannels(inChannels...
1,118,518
public Properties getProperties(Properties props){ super.getProperties(props); props.put("overviewLineWidth", "" + overviewLineWidth); props.put("lineWidthThreshold", "" + lineWidthThreshold); return props; }
public Properties getProperties(Properties props){ props = super.getProperties(props); props.put("overviewLineWidth", "" + overviewLineWidth); props.put("lineWidthThreshold", "" + lineWidthThreshold); return props; }
1,118,519
public DataSetSeismogram getDataSetSeismogram(String name) { LocalSeismogramImpl seis = getSeismogram(name); if(seis != null) { System.out.println("The seismogram is no null"); } else { System.out.println("The seismogram is not null"); } RequestFilter rf = new RequestFilter(seis.getChannelID(), se...
public DataSetSeismogram getDataSetSeismogram(String name) { LocalSeismogramImpl seis = getSeismogram(name); if(seis != null) { System.out.println("The seismogram is no null"); } else { System.out.println("The seismogram is not null"); } RequestFilter rf = new RequestFilter(seis.getChannelID(), se...
1,118,520
public DataSetSeismogram getDataSetSeismogram(String name) { LocalSeismogramImpl seis = getSeismogram(name); if(seis != null) { System.out.println("The seismogram is no null"); } else { System.out.println("The seismogram is not null"); } RequestFilter rf = new RequestFilter(seis.getChannelID(), se...
public DataSetSeismogram getDataSetSeismogram(String name) { LocalSeismogramImpl seis = getSeismogram(name); if(seis != null) { System.out.println("The seismogram is no null"); } else { System.out.println("The seismogram is not null"); } RequestFilter rf = new RequestFilter(seis.getChannelID(), se...
1,118,521
protected List getSemanticChildrenList() { List result = new LinkedList(); EObject modelObject = ((View) getHost().getModel()).getElement(); View viewObject = (View) getHost().getModel(); EObject nextValue; int nodeVID; for (Iterator values = ((org.eclipse.uml2.uml.Package) modelObject).getPackagedElements().ite...
protected List getSemanticChildrenList() { List result = new LinkedList(); EObject modelObject = ((View) getHost().getModel()).getElement(); View viewObject = (View) getHost().getModel(); EObject nextValue; int nodeVID; for (Iterator values = ((Package) modelObject).getPackagedElements().iterator(); values.hasNe...
1,118,522
public boolean removeDisplay(BasicSeismogramDisplay display){ if(basicDisplays.contains(display)){ if(basicDisplays.size() == 1){ this.removeAll(); return true; } super.remove(display); basicDisplays.remove(display); remove(...
public boolean removeDisplay(BasicSeismogramDisplay display){ if(basicDisplays.contains(display)){ if(basicDisplays.size() == 1){ this.removeAll(); return true; } super.remove(display); basicDisplays.remove(display); ...
1,118,523
public LogEntry getLogEntry(HttpServletRequest request, String logname) { StringBuffer sb = new StringBuffer(logname); sb.append(":"); sb.append(getSessionId(request)); sb.append(":"); sb.append(getLogPrefix()); return new LogEntryImpl(sb, this); }
public LogEntry getLogEntry(HttpServletRequest request, String logname) { StringBuffer sb = new StringBuffer(logname); sb.append(":"); sb.append(getSessionId(request)); sb.append(":"); sb.append(getLogPrefix(request)); return new LogEntryImpl(sb, this); }
1,118,524
private String getLogPrefix() { try { if (logPrefix == null) { logPrefix = JspUtil.getProperty(getMessages(), "edu.rpi.sss.util.action.logprefix", "unknown"); } return logPrefix; } catch (Throwable t) { erro...
protected String getLogPrefix(HttpServletRequest request) { try { if (logPrefix == null) { logPrefix = JspUtil.getProperty(getMessages(), "edu.rpi.sss.util.action.logprefix", "unknown"); } return logPrefix; } cat...
1,118,525
public static final ATSymbol downSelector(String jSelector) { return AGSymbol.alloc(javaToAmbientTalkSelector(jSelector)); }
public static final ATSymbol downSelector(String jSelector) { return AGSymbol.jAlloc(javaToAmbientTalkSelector(jSelector)); }
1,118,526
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public Channel[] retrieve_grouping( Channel[] channels, Channel channel) { ChannelId channelId = channel.get_id(); String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.len...
1,118,528
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,529
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,530
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,531
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,532
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,533
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,534
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,535
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,536
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,537
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
public ChannelId[] retrieve_grouping( ChannelId[] channelIds, ChannelId channelId) { String givenChannelStr = channelId.channel_code; String givenPrefixStr = givenChannelStr.substring(0, givenChannelStr.length() - 1); char givenOrientation = givenChannelStr.charAt(givenChannelStr.length() - 1); String searchStrin...
1,118,538
public static ControlHeader read(DataInput in) throws IOException, SeedFormatException { byte[] seqBytes = new byte[6]; in.readFully(seqBytes); String seqNumString = new String(seqBytes); int sequenceNum =0; try { sequenceNum = Integer.valueOf(seqNumString).intValue(); } catch (NumberFormatException e) { ...
public static ControlHeader read(DataInput in) throws IOException, SeedFormatException { byte[] seqBytes = new byte[6]; in.readFully(seqBytes); String seqNumString = new String(seqBytes); int sequenceNum =0; try { sequenceNum = Integer.valueOf(seqNumString).intValue(); } catch (NumberFormatException e) { ...
1,118,539
public void stationDataChanged(StationDataEvent s) { Station[] stations = s.getStations(); for (int i = 0; i < stations.length; i++){ if (!stationMap.containsKey(stations[i].name)){ stationNames.add(stations[i].name); omgraphics.add(new OMStation(stations[i]));...
public void stationDataChanged(StationDataEvent s) { Station[] stations = s.getStations(); for (int i = 0; i < stations.length; i++){ if (!stationMap.containsKey(stations[i].name)){ stationNames.add(stations[i].name); synchronized(omgraphics){ omgraphics.add(ne...
1,118,541
public ATObject base_apply(ATTable arguments, ATContext ctx) throws NATException { NATCallframe scope = new NATCallframe(ctx.base_getLexicalScope()); Evaluator.defineParamsForArgs(name_.getText().asNativeText().javaValue, scope, parameters_, arguments); return body_.meta_eval(ctx.base_withLexicalEnvironment(scope))...
public ATObject base_apply(ATTable arguments, ATContext ctx) throws NATException { NATCallframe scope = new NATCallframe(ctx.base_getLexicalScope()); Evaluator.defineParamsForArgs(name_.base_getText().asNativeText().javaValue, scope, parameters_, arguments); return body_.meta_eval(ctx.base_withLexicalEnvironment(sc...
1,118,542
public Object clone() { return new BwRecurrence((Collection)((TreeSet)getRrules()).clone(), (Collection)((TreeSet)getExrules()).clone(), (Collection)((TreeSet)getRdates()).clone(), (Collection)((TreeSet)getExdates()).clone(), ...
public Object clone() { return new BwRecurrence((Collection)((TreeSet)getRrules()).clone(), (Collection)((TreeSet)getExrules()).clone(), (Collection)((TreeSet)getRdates()).clone(), (Collection)((TreeSet)getExdates()).clone(), ...
1,118,543
public DateTimeFormatter getEnd() { try { if (end == null) { end = new DateTimeFormatter(getCalInfo(), getEvent().getDtend(), ctz); } } catch (Throwable t) { error(t); } return end; }
public DateTimeFormatter getEnd() { try { if (end == null) { end = new DateTimeFormatter(getCalInfo(), dt, ctz); } } catch (Throwable t) { error(t); } return end; }
1,118,544
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,545
public void processResp(HttpServletRequest req, HttpServletResponse resp, int depth) throws WebdavException { resp.setStatus(WebdavStatusCode.SC_MULTI_STATUS); resp.setContentType("text/xml; charset=UTF-8"); String resourceUri = getResourceUri(req); Caldav...
public void processResp(HttpServletRequest req, HttpServletResponse resp, int depth) throws WebdavException { resp.setStatus(WebdavStatusCode.SC_MULTI_STATUS); resp.setContentType("text/xml; charset=UTF-8"); String resourceUri = getResourceUri(req); Caldav...
1,118,546
private Class getDescriptorClassNameForViewId(String viewId) throws ClassNotFoundException{ String encryptedClassName = null; //if(viewId.startsWith("/window")){ // encryptedClassName = viewId.substring(11,viewId.length()); //} //else{ String[] urlArray= StringHandler.breakDownURL(viewId); if(urlArray.length<...
private Class getDescriptorClassNameForViewId(String viewId) throws ClassNotFoundException{ String encryptedClassName = null; //if(viewId.startsWith("/window")){ // encryptedClassName = viewId.substring(11,viewId.length()); //} //else{ String[] urlArray= StringHandler.breakDownURL(viewId); if(urlArray.length<...
1,118,547
private Class getDescriptorClassNameForViewId(String viewId) throws ClassNotFoundException{ String encryptedClassName = null; //if(viewId.startsWith("/window")){ // encryptedClassName = viewId.substring(11,viewId.length()); //} //else{ String[] urlArray= StringHandler.breakDownURL(viewId); if(urlArray.length<...
private Class getDescriptorClassNameForViewId(String viewId) throws ClassNotFoundException{ String encryptedClassName = null; //if(viewId.startsWith("/window")){ // encryptedClassName = viewId.substring(11,viewId.length()); //} //else if(urlArray.length==1){ String[] urlArray= StringHandler.breakDownURL(viewId)...
1,118,548
public PageWrapper(UIComponent child){ if(child instanceof com.idega.presentation.Page){ this.child=child; } else{ this.child = new com.idega.presentation.Page(); child.getChildren().add(child); } }
public PageWrapper(UIComponent child){ if(child instanceof com.idega.presentation.Page){ this.child=child; } else{ this.child = new com.idega.presentation.Page(); this.child.getChildren().add(child); } }
1,118,550
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g; if (copy != null) { try { ...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g.create(); if (copy != null) { t...
1,118,551
public ATNil meta_addField(ATField field) throws NATException { return this.meta_defineField(field.getName(), field.getValue()); }
public ATNil meta_addField(ATField field) throws NATException { return this.meta_defineField(field.getName(), field.getFieldValue()); }
1,118,552
public boolean mouseClicked(MouseEvent e){ System.out.println("mouseClicked"); synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); if(current.getBigCircle().contains(e.getX(), e.getY())){ System.out.println("Selection of event " + curre...
public boolean mouseClicked(MouseEvent e){ synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); if(current.getBigCircle().contains(e.getX(), e.getY())){ System.out.println("Selection of event " + current.getEvent()); int rowToSelect...
1,118,553
public boolean mouseClicked(MouseEvent e){ System.out.println("mouseClicked"); synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); if(current.getBigCircle().contains(e.getX(), e.getY())){ System.out.println("Selection of event " + curre...
public boolean mouseClicked(MouseEvent e){ System.out.println("mouseClicked"); synchronized(circles){ Iterator it = circles.iterator(); while(it.hasNext()){ OMEvent current = (OMEvent)it.next(); if(current.getBigCircle().contains(e.getX(), e.getY())){ int rowToSelect = tableModel.getRowForEvent...
1,118,554
private void addModule(final ModuleContainer module) { if (!module.isPanel() && !module.isConfigurable()) { return; } String name = module.getName(); if (name == null || name.length() == 0) { name = "Untitled"; } JMenu m = new JMenu(name); m.setMnemonic(name.charAt(0)); if (module.isPanel()) { JMenuI...
private void addModule(final ModuleContainer module) { if (!module.isPanel() && !module.isConfigurable()) { return; } String name = module.getName(); if (name == null || name.length() == 0) { name = "Untitled"; } JMenu m = new JMenu(name); m.setMnemonic(name.charAt(0)); if (module.isPanel()) { JMenuI...
1,118,555
private void addModule(final ModuleContainer module) { if (!module.isPanel() && !module.isConfigurable()) { return; } String name = module.getName(); if (name == null || name.length() == 0) { name = "Untitled"; } JMenu m = new JMenu(name); m.setMnemonic(name.charAt(0)); if (module.isPanel()) { JMenuI...
private void addModule(final ModuleContainer module) { if (!module.isPanel() && !module.isConfigurable()) { return; } String name = module.getName(); if (name == null || name.length() == 0) { name = "Untitled"; } JMenu m = new JMenu(name); m.setMnemonic(name.charAt(0)); if (module.isPanel()) { JMenuI...
1,118,556
public void actionPerformed(ActionEvent arg0) { try { URL url = module.getInformationResource(); HTMLBrowser browser = new HTMLBrowser(url) { public String getTitle() { return module.getName() +" Info"; } }; addTab(browser); } catch (Exception exc) { ExceptionDial...
public void actionPerformed(ActionEvent arg0) { try { URL url = module.getInfoURL(); HTMLBrowser browser = new HTMLBrowser(url) { public String getTitle() { return module.getName() +" Info"; } }; addTab(browser); } catch (Exception exc) { ExceptionDialog.show("Mod...
1,118,558
private LicensePanel() { super(new GridLayout(1, 1)); final JLabel label = new JLabel(Messages.getString("LicensePanel.LOADING")); //$NON-NLS-1$ add(label); new Thread() { public void run() { JTextComponent copyright = createCopyrightPanel(); HTMLBrowser license = new HTMLBrowser(LICENSE_HTML); remove(l...
private LicensePanel() { super(new GridLayout(1, 1)); final JLabel label = new JLabel(Messages.getString("LicensePanel.LOADING")); //$NON-NLS-1$ add(label); new Thread() { public void run() { JTextComponent copyright = createCopyrightPanel(); HTMLBrowser license = new HTMLBrowser(LICENSE_HTML); remove(l...
1,118,560
public Object clone() { return new BwCalendar((BwUser)getOwner().clone(), getPublick(), (BwUser)getCreator().clone(), getAccess(), getName(), getPath(), getSummary()...
public Object clone() { BwCalendar cal = new BwCalendar((BwUser)getOwner().clone(), getPublick(), (BwUser)getCreator().clone(), getAccess(), getName(), getPath(), ge...
1,118,561
public BwCalendar shallowClone() { return new BwCalendar((BwUser)getOwner().clone(), getPublick(), (BwUser)getCreator().clone(), getAccess(), getName(), getPath(), g...
public BwCalendar shallowClone() { BwCalendar cal = new BwCalendar((BwUser)getOwner().clone(), getPublick(), (BwUser)getCreator().clone(), getAccess(), getName(), getPath(), ...
1,118,563
public static int insertAll(Station sta, PreparedStatement stmt, int index, JDBCNetwork netTable, JDBCLocation locTable, JDBCTime time) throws SQLException { index = insertId(sta.get_id(), stmt, index, netTable, time); index = insertOnlyStation(sta, stmt, index, locTable, time); ...
public static int insertAll(Station sta, PreparedStatement stmt, int index, JDBCNetwork netTable, JDBCLocation locTable, JDBCTime time) throws SQLException { index = insertId(sta.get_id(), stmt, index, netTable, time); index = insertOnlyStation(sta, stmt, index, netTable, locTabl...
1,118,565
public static int insertOnlyStation(Station sta, PreparedStatement stmt, int index, JDBCLocation locTable, JDBCTime time) throws SQLException { stmt.setInt(index++, time.put(sta.effective_time.end_time)); stmt.setString(index++, sta.name); stmt.setString(index++, sta.opera...
public static int insertOnlyStation(Station sta, PreparedStatement stmt, int index, JDBCNetwork netTable, JDBCLocation locTable, JDBCTime time) throws SQLException { stmt.setInt(index++, time.put(sta.effective_time.end_time)); stmt.setString(index++, sta.name); stmt.setStr...
1,118,566
public int put(Station sta) throws SQLException { int dbid; try { dbid = getDBId(sta.get_id()); // No NotFound exception, so already added the id // now check if the attrs are added getIfNameExists.setInt(1, dbid); ResultSet rs = getIfNameExists.e...
public int put(Station sta) throws SQLException { int dbid; try { dbid = getDBId(sta.get_id()); // No NotFound exception, so already added the id // now check if the attrs are added getIfNameExists.setInt(1, dbid); ResultSet rs = getIfNameExists.e...
1,118,568
protected synchronized Runnable getFromQueue() throws InterruptedException { while (queue.isEmpty()) { wait(); } return (Runnable)queue.removeLast(); }
private synchronized Runnable getFromQueue() throws InterruptedException { while (queue.isEmpty()) { wait(); } return (Runnable)queue.removeLast(); }
1,118,570
private CalEnv getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInitP...
private CalEnvI getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInit...
1,118,572
private CalEnv getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInitP...
private CalEnv getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnvI env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInit...
1,118,573
private CalEnv getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInitP...
private CalEnv getEnv(HttpServletRequest request, BwActionFormBase frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } HttpSession session = request.getSession(); ServletContext sc = session.getServletContext(); String appName = sc.getInitP...
1,118,574
public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm...
public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm...
1,118,575