bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private void dateChanged(){ updateToday(); int todaysYear = todayCalendar.get(Calendar.YEAR); int calJulianDay = calendar.get(Calendar.DAY_OF_YEAR); int todaysJulianDay = todayCalendar.get(Calendar.DAY_OF_YEAR); int calYear = calendar.get(Calendar.YEAR); otherButton.setSe...
private void dateChanged(){ updateToday(); int todaysYear = todayCalendar.get(Calendar.YEAR); int calJulianDay = calendar.get(Calendar.DAY_OF_YEAR); int todaysJulianDay = todayCalendar.get(Calendar.DAY_OF_YEAR); int calYear = calendar.get(Calendar.YEAR); otherButton.setSe...
1,118,232
public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end) throws CalFacadeException { if (!(who instanceof BwUser)) { throw new CalFacadeException("Unsupported: non user principal for free-busy"); } if (isGuest() || (!current...
public BwFreeBusy getFreeBusy(BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end) throws CalFacadeException { if (!(who instanceof BwUser)) { throw new CalFacadeException("Unsupported: non user principal for free-busy"); } if (isGuest() || (!current...
1,118,233
public Shaker3D(int waveFlag, float baz, float angI) { this.backAzimuth = baz; this.angleOfIncidence = angI; this.setWaveType(waveFlag); }
public Shaker3D(int waveFlag, float baz, float angI) { this.backAzimuth = baz; this.angleOfIncidence = angI; this.setWaveType(waveFlag); }
1,118,234
private JPanel createButtonPanel(final JFrame displayFrame){ JButton closeButton = new JButton("Close"); closeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { displayFrame.dispose(); displayPan...
private JPanel createButtonPanel(){ JButton closeButton = new JButton("Close"); closeButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { displayFrame.dispose(); displayPanel = null; ...
1,118,235
public void actionPerformed(ActionEvent ex) { try{ writeFile(); }catch(IOException e){ int result = JOptionPane.showConfirmDialog(displayPanel, ...
public void actionPerformed(ActionEvent ex) { try{ writeFile(); }catch(IOException e){ int result = JOptionPane.showConfirmDialog(displayPanel, ...
1,118,236
private void createFrame() { JFrame displayFrame = new JFrame(); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; } }); displayPanel = new JPanel(new Bo...
private void createFrame() { displayFrame = new JFrame(); displayFrame.setDefaultCloseOperation (WindowConstants.DISPOSE_ON_CLOSE); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; ...
1,118,237
private void createFrame() { JFrame displayFrame = new JFrame(); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; } }); displayPanel = new JPanel(new Bo...
private void createFrame() { JFrame displayFrame = new JFrame(); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; } }); displayPanel = new JPanel(new Bo...
1,118,238
private void createFrame() { JFrame displayFrame = new JFrame(); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; } }); displayPanel = new JPanel(new Bo...
private void createFrame() { JFrame displayFrame = new JFrame(); displayFrame.addWindowListener(new WindowAdapter(){ public void windowClosing(WindowEvent e) { displayPanel = null; } }); displayPanel = new JPanel(new Bo...
1,118,239
public void report(String message, Throwable e, List sections) { this.message = message; this.e = e; this.sections = sections; if(displayPanel == null){ createFrame(); } displayPanel.add(createGUI(e, message, sections), BorderLayout.CENTER...
public void report(String message, Throwable e, List sections) { this.message = message; this.e = e; this.sections = sections; if(displayPanel == null){ createFrame(); } displayPanel.add(createGUI(e, message, sections), BorderLayout.CENTER...
1,118,240
public synchronized MicroSecondDate calculate(Origin origin, Location station) throws TauModelException { QuantityImpl depth = (QuantityImpl)origin.my_location.depth; depth = depth.convertTo(UnitImpl.KILOMETER); taup.setSourceDepth(depth.getValue()); DistAz distAz = new DistAz(station.la...
public synchronized MicroSecondDate calculate(Origin origin, Location station) throws TauModelException { QuantityImpl depth = (QuantityImpl)origin.my_location.depth; depth = depth.convertTo(UnitImpl.KILOMETER); taup.setSourceDepth(depth.getValue()); double degrees = SphericalCoords.dist...
1,118,243
public synchronized MicroSecondDate calculate(Origin origin, Location station) throws TauModelException { QuantityImpl depth = (QuantityImpl)origin.my_location.depth; depth = depth.convertTo(UnitImpl.KILOMETER); taup.setSourceDepth(depth.getValue()); DistAz distAz = new DistAz(station.la...
public synchronized MicroSecondDate calculate(Origin origin, Location station) throws TauModelException { QuantityImpl depth = (QuantityImpl)origin.my_location.depth; depth = depth.convertTo(UnitImpl.KILOMETER); taup.setSourceDepth(depth.getValue()); DistAz distAz = new DistAz(station.la...
1,118,244
public CalEnv getEnv(ActionForm frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } env = new CalEnv(envPrefix, debug); frm.assignEnv(env); return env; }
public CalEnv getEnv(ActionForm frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } env = new CalEnv(envPrefix, debug); frm.assignEnv(env); return env; }
1,118,245
public CalEnv getEnv(ActionForm frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } env = new CalEnv(envPrefix, debug); frm.assignEnv(env); return env; }
public CalEnv getEnv(ActionForm frm) throws Throwable { CalEnv env = frm.getEnv(); if (env != null) { return env; } env = CalEnvFactory.getEnv(envPrefix, debug); frm.assignEnv(env); return env; }
1,118,246
public void setup(HttpServletRequest request, ActionForm form, MessageResources messages) throws Throwable { BwSession s = BwWebUtil.getState(request); if (s != null) { } else { CalEnv env = getEnv(form); String appName = env.getAppProperty("name"); String...
public void setup(HttpServletRequest request, ActionForm form, MessageResources messages) throws Throwable { BwSession s = BwWebUtil.getState(request); if (s != null) { } else { CalEnvI env = getEnv(form); String appName = env.getAppProperty("name"); Strin...
1,118,247
public CalEnv getEnv() { return env; }
public CalEnvI getEnv() { return env; }
1,118,248
public void assignEnv(CalEnv val) { env = val; }
public void assignEnv(CalEnvI val) { env = val; }
1,118,249
public Properties getProperties() { if (properties == null) { try { properties = (Properties)CalEnv.getProperties().clone(); } catch (Throwable t) { getErr().emit(t); } } return properties; }
public Properties getProperties() { if (properties == null) { try { if (env == null) { throw new Exception("No env set"); } properties = (Properties)env.getProperties().clone(); } catch (Throwable t) { getErr().emit(t); } } return properties; }
1,118,250
public void setEditEvent(BwEvent val) { try { editEvent = val; if (val == null) { getEventDates().setNewEvent(val, fetchSvci().getTimezones()); } else { getEventDates().setFromEvent(val, fetchSvci().getTimezones()); } } catch (Throwable t) { err.emit(t); } }
public void setEditEvent(BwEvent val) { try { if (val == null) { getEventDates().setNewEvent(val, fetchSvci().getTimezones()); } else { getEventDates().setFromEvent(val, fetchSvci().getTimezones()); } } catch (Throwable t) { err.emit(t); } }
1,118,251
public void removeListener(PlayerListener listener);
public void removeListener(PlayerListener listener) { listeners.remove(listener); }
1,118,253
public Collection fromIcal(BwCalendar cal, String val) throws CalFacadeException { try { CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); return fromIcal(cal, bldr.build(new UnfoldingReader(new StringReader(val)))); } catch (ParserException pe) { if (debug) { error(pe)...
public Collection fromIcal(BwCalendar cal, String val) throws CalFacadeException { try { CalendarBuilder bldr = new CalendarBuilder(new CalendarParserImpl()); return fromIcal(cal, bldr.build(new StringReader(val), true)); } catch (ParserException pe) { if (debug) { error(pe); } t...
1,118,254
private String doDir(Vector v, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(v, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.iterator(...
private String doDir(ArrayList al, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(v, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.itera...
1,118,255
private String doDir(Vector v, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(v, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.iterator(...
private String doDir(Vector v, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(al, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.iterator...
1,118,256
private String doDir(Vector v, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(v, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.iterator(...
private String doDir(Vector v, DirClass dir, String indent) throws CalFacadeException { if (debug) { trace(indent + "Dir: " + dir.cal.getName()); } Iterator dit = dir.dirs.iterator(); while (dit.hasNext()) { doDir(v, (DirClass)dit.next(), indent + " "); } Iterator tzit = dir.tzs.iterator(...
1,118,257
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
1,118,258
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
1,118,259
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
public Collection getTimeZones() throws CalFacadeException { /* The input file should look something like: <dir> <name>A-name</name> <dir>...</dir> <file> <name>file1.ics</name> <data>...</data> </file> </dir> We ignore the first name - it represents the root. Each <di...
1,118,260
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; if (copy != null) { try { ...
1,118,261
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; if (copy != null) { try { ...
1,118,262
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; if (copy != null) { try { ...
1,118,263
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; if (copy != null) { try { ...
1,118,264
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; if (copy != null) { try { ...
1,118,265
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; if (copy != null) { try { ...
1,118,266
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; if (copy != null) { try { ...
1,118,267
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; if (copy != null) { try { ...
1,118,268
public static void rotate(float[] x, float[] y, double radians) { rotate(x, y, AffineTransform.getRotateInstance(radians)); }
public static void rotate(float[] x, float[] y, double radians) { rotate(x, y, AffineTransform.getRotateInstance(radians)); }
1,118,269
private void save(Idea idea) throws IOException { out.write("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"); out.write("<opml version=\"1.0\">\n"); out.write(" <head>\n"); out.write(" <title/>\n"); out.write(" </head>\n"); out.write(" ...
private void save(Idea idea) throws IOException { out.write("<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n"); out.write("<opml version=\"1.0\">\n"); out.write(" <head>\n"); out.write(" <title/>\n"); out.write(" </head>\n"); out.write(" ...
1,118,270
public void addSelection(Selection newSelection){ selections.add(newSelection); }
public void addSelection(Selection newSelection){ if(!selections.contains(newSelection)) selections.add(newSelection); }
1,118,272
public StationId[] getAllStationIds() throws SQLException { return extractAll(getAll); }
public StationId[] getAllStationIds() throws SQLException { return extractAll(getAllQuery); }
1,118,274
public NSNetworkAccess(NetworkAccess na, NetworkId id, ProxyNetworkDC netDC){ super(na); this.id = id; this.netDC = netDC; }
public NSNetworkAccess(NetworkAccess na, NetworkId id, ProxyNetworkDC netDC){ super(na); this.id = id; this.netDC = netDC; }
1,118,275
public void field(String name) throws java.lang.Exception{ BwUser u = (BwUser)top(); if (principalTags(u, name)) { return; } if (name.equals("instanceOwner")) { u.setInstanceOwner(booleanFld()); } else if (name.equals("quota")) { u.setQuota(longFld()); } else if (name.equals("subscr...
public void field(String name) throws java.lang.Exception{ BwUser u = (BwUser)top(); if (principalTags(u, name)) { return; } if (name.equals("instanceOwner")) { u.setInstanceOwner(booleanFld()); } else if (name.equals("quota")) { u.setQuota(longFld()); } else if (name.equals("subscr...
1,118,276
public void end(String ns, String name) throws Exception { BwTimeZone entity = (BwTimeZone)pop(); globals.timezones++; Calendar ical = IcalTranslator.getCalendar(entity.getVtimezone()); ComponentList cl = ical.getComponents(); if (cl.size() != 1) { error("Exception restoring " + entity); thro...
public void end(String ns, String name) throws Exception { BwTimeZone entity = (BwTimeZone)pop(); globals.timezones++; Calendar ical = IcalTranslator.getCalendar(entity.getVtimezone()); ComponentList cl = ical.getComponents(); if (cl.size() != 1) { error("Exception restoring " + entity); thro...
1,118,277
private void plotAll(Dimension size) throws UnsupportedDataEncoding{ for(int i = 0; i < seisEnd - seisStart; i++){ points[i][0] = (int)(i/samplesPerPixel); points[i][1] = (int)((seis.getValueAt(i + seisStart).getValue() - minAmp)/range * size.height); } if(points.length < 2){ points = new int[2][2]; ...
private void plotAll(Dimension size) throws UnsupportedDataEncoding{ for(int i = 0; i < seisEnd - seisStart; i++){ points[i][0] = (int)(i/samplesPerPixel); points[i][1] = (int)((seis.getValueAt(i + seisStart).getValue() - minAmp)/range * size.height); } if(points.length < 2){ points = new int[2][2]; ...
1,118,279
private void plotAll(Dimension size) throws UnsupportedDataEncoding{ for(int i = 0; i < seisEnd - seisStart; i++){ points[i][0] = (int)(i/samplesPerPixel); points[i][1] = (int)((seis.getValueAt(i + seisStart).getValue() - minAmp)/range * size.height); } if(points.length < 2){ points = new int[2][2]; ...
private void plotAll(Dimension size) throws UnsupportedDataEncoding{ for(int i = 0; i < seisEnd - seisStart; i++){ points[i][0] = (int)(i/samplesPerPixel); points[i][1] = (int)((seis.getValueAt(i + seisStart).getValue() - minAmp)/range * size.height); } if(points.length < 2){ points = new int[2][2]; ...
1,118,280
public static ChannelNameAndOrientation[] parse(String chanDipAzi) { if(chanDipAzi.equals("default")) { ChannelNameAndOrientation[] array = new ChannelNameAndOrientation[3]; array[0] = new ChannelNameAndOrientation('Z', 0, -90); array[1] = new ChannelNameAndOrientation('N', 0...
public static ChannelNameAndOrientation[] parse(String chanDipAzi) { if(chanDipAzi.equals("default")) { ChannelNameAndOrientation[] array = new ChannelNameAndOrientation[3]; array[0] = new ChannelNameAndOrientation('Z', 0, -90); array[1] = new ChannelNameAndOrientation('N', 0...
1,118,281
public void testClosureLiteral() throws NATException { ATClosure clo = evalAndReturn("{| x, y | 3 }").asClosure(); ATSymbol nam = clo.base_getMethod().base_getName(); ATTable arg = clo.base_getMethod().base_getArguments(); ATAbstractGrammar bdy = clo.base_getMethod().base_getBodyExpression(); ATContext ctx =...
public void testClosureLiteral() throws NATException { ATClosure clo = evalAndReturn("{| x, y | 3 }").asClosure(); ATSymbol nam = clo.base_getMethod().base_getName(); ATTable arg = clo.base_getMethod().base_getArguments(); ATAbstractGrammar bdy = clo.base_getMethod().base_getBodyExpression(); ATContext ctx =...
1,118,282
public void testFirstClassMessages() throws NATException { ATMessage methInv = evalAndReturn(".m(3)").asMessage(); ATMessage asyncMsg = evalAndReturn("<-m(3)").asMessage(); assertEquals(atM_, methInv.base_getSelector()); assertEquals(atThree_, methInv.base_getArguments().base_at(NATNumber.ONE)); assertTrue(methIn...
public void testFirstClassMessages() throws NATException { ATMessage methInv = evalAndReturn(".m(3)").asMessage(); ATMessage asyncMsg = evalAndReturn("<-m(3)").asMessage(); assertEquals(atM_, methInv.base_getSelector()); assertEquals(atThree_, methInv.base_getArguments().base_at(NATNumber.ONE)); assertTrue(methIn...
1,118,283
public NATMethod(ATSymbol name, ATTable parameters, ATAbstractGrammar body) { name_ = name; parameters_ = parameters; body_ = body; }
public NATMethod(ATSymbol name, ATTable parameters, ATBegin body) { name_ = name; parameters_ = parameters; body_ = body; }
1,118,284
public synchronized void removeAll(){ layout = null; tc = null; ac = null; drawables.clear(); displayRemover = null; setBorder(BorderFactory.createEmptyBorder()); painter = null; super.removeAll(); }
public void removeAll(){ layout = null; tc = null; ac = null; drawables.clear(); displayRemover = null; setBorder(BorderFactory.createEmptyBorder()); painter = null; super.removeAll(); }
1,118,285
public void setMethodName(String name, String uri) throws CalFacadeException { if ("REPORT".equals(name)) { setMethod(new ReportMethod(uri)); } else if ("PROPFIND".equals(name)) { setMethod(new PropFindMethod(uri)); } else { super.setMethodName(name, uri); } }
public void setMethodName(String name, String uri) throws CalFacadeException { if ("REPORT".equals(name)) { setMethod(new ReportMethod(uri)); } else if ("PROPFIND".equals(name)) { setMethod(new PropFindMethod(uri)); } else { super.setMethodName(name, uri); } }
1,118,286
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access and set request parameters */ if (!form.getUserAuth().isAlertUser()) { return "noAccess"; } /** Set the objects to null so we g...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access and set request parameters */ if (!form.getUserAuth().isAlertUser()) { return "noAccess"; } /** Set the objects to null so we g...
1,118,288
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access and set request parameters */ if (!form.getUserAuth().isAlertUser()) { return "noAccess"; } /** Set the objects to null so we g...
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access and set request parameters */ if (!form.getUserAuth().isAlertUser()) { return "noAccess"; } /** Set the objects to null so we g...
1,118,289
public void resetEvent() { getEvent(); // Make sure we have one /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); setCategory(k); } /* A is the All box, B is the user preferred values. */ keyId = new I...
public void resetEvent() { getEvent(); // Make sure we have one /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); setCategory(k); } /* A is the All box, B is the user preferred values. */ categoryId = ...
1,118,290
public PartMo(float baz, float ang) { setLayout(new BorderLayout()); // Create Canvas3D GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration(); // if(config == null) System.out.println("The configuration is NULL"); //else System.out.p...
public PartMo(float baz, float ang) { setLayout(new BorderLayout()); // Create Canvas3D GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration(); // if(config == null) System.out.println("The configuration is NULL"); //else System.out.p...
1,118,291
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
1,118,292
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
1,118,293
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
1,118,294
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
public BranchGroup createSceneGraph(float baz, float ang) { BranchGroup objRoot = new BranchGroup(); BranchGroup Axes = new Axis().getAxisBG(); BranchGroup Surface = new Axis().getSurfaceBG(); BranchGroup Motion = new MotionVector(baz,ang).getMotionBG(); BranchGrou...
1,118,295
public Locale calculateLocale(FacesContext ctx) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ return realHandler.calculateLocale(ctx); } else{ throw new RuntimeException ("No ViewHandler Found to calculate Locale"); } }
public Locale calculateLocale(FacesContext ctx) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ return realHandler.calculateLocale(ctx); } else{ throw new RuntimeException ("No ViewHandler Found to calculate Locale"); } }
1,118,296
public UIViewRoot createView(FacesContext ctx, String viewId) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ return realHandler.createView(ctx,viewId); } else{ throw new RuntimeException ("No ViewHandler Found to create View"); } }
public UIViewRoot createView(FacesContext ctx, String viewId) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ UIViewRoot root = realHandler.createView(ctx,viewId); root.setLocale(IWContext.getIWContext(ctx).getCurrentLocale()); return root; } else{ throw new RuntimeException (...
1,118,297
public UIViewRoot restoreView(FacesContext ctx, String viewId) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ return realHandler.restoreView(ctx,viewId); } else{ throw new RuntimeException ("No ViewHandler Found for restoreView"); } }
public UIViewRoot restoreView(FacesContext ctx, String viewId) { ViewHandler realHandler = getViewHandlerForContext(ctx); if(realHandler!=null){ UIViewRoot root = realHandler.restoreView(ctx,viewId); if(root != null){ root.setLocale(IWContext.getIWContext(ctx).getCurrentLocale()); } return root; } else{ throw ...
1,118,298
public KortathjonustanAuthorisationEntries findByAuthorizationCode(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((KortathjonustanAuthorisationEntriesBMPBean)entity).ejbFindByAuthorizationCode(p0); this.idoCheckInPooledEntity(entity);...
public KortathjonustanAuthorisationEntries findByAuthorizationCode(java.lang.String p0, IWTimestamp stamp)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((KortathjonustanAuthorisationEntriesBMPBean)entity).ejbFindByAuthorizationCode(p0); this.idoCheckInPo...
1,118,299
public KortathjonustanAuthorisationEntries findByAuthorizationCode(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((KortathjonustanAuthorisationEntriesBMPBean)entity).ejbFindByAuthorizationCode(p0); this.idoCheckInPooledEntity(entity);...
public KortathjonustanAuthorisationEntries findByAuthorizationCode(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((KortathjonustanAuthorisationEntriesBMPBean)entity).ejbFindByAuthorizationCode(p0, stamp); this.idoCheckInPooledEntity(e...
1,118,300
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, TauP...
1,118,301
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
1,118,302
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
1,118,303
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
public SimplePhaseStoN(String phase, TimeInterval shortOffsetBegin, TimeInterval shortOffsetEnd, TimeInterval longOffsetBegin, TimeInterval longOffsetEnd, String modelName, ...
1,118,304
public double var() { if ( ! varianceCalculated) { variance = binarySumDevSqr(0, getLength(), mean()) / (getLength()-1); } return variance; }
public double var() { if ( ! varianceCalculated) { variance = binarySumDevSqr(0, getLength(), mean()) / (getLength()-1); } return variance; }
1,118,305
public double var() { if ( ! varianceCalculated) { variance = binarySumDevSqr(0, getLength(), mean()) / (getLength()-1); } return variance; }
public double var() { if ( ! varianceCalculated) { variance = binarySumDevSqr(0, getLength(), mean()) / (getLength()-1); } return variance; }
1,118,306
protected ATObject createChild(ATClosure code, boolean parentPointerType) throws InterpreterException { NATIntercessiveMirror extension = new NATIntercessiveMirror( /* dynamic parent */ this, /* lexical parent */ code.base_getContext().base_getLexicalScope(), /* parent porinter type */ parentPointer...
protected ATObject createChild(ATClosure code, boolean parentPointerType) throws InterpreterException { NATIntercessiveMirror extension = new NATIntercessiveMirror( /* dynamic parent */ this, /* lexical parent */ code.base_getContext().base_getLexicalScope(), /* parent porinter type */ parentPointer...
1,118,307
public NATText meta_print() throws InterpreterException { return Reflection.downObject(mirror_.meta_invoke( mirror_, AGSymbol.alloc("print"), NATTable.EMPTY )).asNativeText(); }
public NATText meta_print() throws InterpreterException { return Reflection.downObject(mirror_.meta_invoke( mirror_, AGSymbol.jAlloc("print"), NATTable.EMPTY )).asNativeText(); }
1,118,308
public AvailableDataStationRenderer(boolean useNames, boolean useCodes, boolean codeIsFirst, DataCenterRouter dc, ChannelChooser channelChooser){ super(u...
public AvailableDataStationRenderer(boolean useNames, boolean useCodes, boolean codeIsFirst, DataCenterRouter dc, ChannelChooser channelChooser){ super(u...
1,118,310
public void field(String name) throws java.lang.Exception{ BwUser u = (BwUser)top(); if (principalTags(u, name)) { return; } if (name.equals("instanceOwner")) { u.setInstanceOwner(booleanFld()); } else if (name.equals("quota")) { u.setQuota(longFld()); } else if (name.equals("calend...
public void field(String name) throws java.lang.Exception{ BwUser u = (BwUser)top(); if (principalTags(u, name)) { return; } if (name.equals("instanceOwner")) { u.setInstanceOwner(booleanFld()); } else if (name.equals("quota")) { u.setQuota(longFld()); } else if (name.equals("subscr...
1,118,311
private void getEdgeValues(MicroSecondTimeRange time, Dimension size){ if(seis.getEndTime().before(time.getBeginTime()) || seis.getBeginTime().after(time.getEndTime())) { startPixel = 0; endPixel = 0; return; } int[] points = DisplayUtils.getSeisPoints(seis, time); System.out.println("calculation points...
private void getEdgeValues(MicroSecondTimeRange time, Dimension size){ if(seis.getEndTime().before(time.getBeginTime()) || seis.getBeginTime().after(time.getEndTime())) { startPixel = 0; endPixel = 0; return; } int[] points = DisplayUtils.getSeisPoints(seis, time); seisStart = points[0]; seisEnd = poin...
1,118,312
private void getEdgeValues(MicroSecondTimeRange time, Dimension size){ if(seis.getEndTime().before(time.getBeginTime()) || seis.getBeginTime().after(time.getEndTime())) { startPixel = 0; endPixel = 0; return; } int[] points = DisplayUtils.getSeisPoints(seis, time); System.out.println("calculation points...
private void getEdgeValues(MicroSecondTimeRange time, Dimension size){ if(seis.getEndTime().before(time.getBeginTime()) || seis.getBeginTime().after(time.getEndTime())) { startPixel = 0; endPixel = 0; return; } int[] points = DisplayUtils.getSeisPoints(seis, time); System.out.println("calculation points...
1,118,313
public String[] known_contributors() { try { return jdbcCatalog.getAllContributors(); } catch(SQLException sqle) { logger.error("sql problem", sqle); throw new org.omg.CORBA.UNKNOWN(sqle.toString()); // send exception back to client } }
public String[] known_contributors() { try { return jdbcContributor.getAll(); } catch(SQLException sqle) { logger.error("sql problem", sqle); throw new org.omg.CORBA.UNKNOWN(sqle.toString()); // send exception back to client } }
1,118,314
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
1,118,315
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
1,118,316
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
1,118,317
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
public EventAccess[] query_events(edu.iris.Fissures.Area the_area, edu.iris.Fissures.Quantity min_depth, edu.iris.Fissures.Quantity max_depth, edu.iris.Fissures.TimeRange time_range, ...
1,118,318
public void selectRegion(MouseEvent one, MouseEvent two){ Insets insets = this.getInsets(); Dimension dim = getSize(); double x1percent, x2percent; if(one.getX() < two.getX()){ x1percent = (one.getX() - insets.left)/(double)(dim.getWidth() - insets.left - insets.right); x2percent = (two.getX() - insets.left...
public void selectRegion(MouseEvent one, MouseEvent two){ Insets insets = this.getInsets(); Dimension dim = getSize(); double x1percent, x2percent; if(one.getX() < two.getX()){ x1percent = (one.getX() - insets.left)/(double)(dim.getWidth() - insets.left - insets.right); x2percent = (two.getX() - insets.left...
1,118,319
public void selectRegion(MouseEvent one, MouseEvent two){ Insets insets = this.getInsets(); Dimension dim = getSize(); double x1percent, x2percent; if(one.getX() < two.getX()){ x1percent = (one.getX() - insets.left)/(double)(dim.getWidth() - insets.left - insets.right); x2percent = (two.getX() - insets.left...
public void selectRegion(MouseEvent one, MouseEvent two){ Insets insets = this.getInsets(); Dimension dim = getSize(); double x1percent, x2percent; if(one.getX() < two.getX()){ x1percent = (one.getX() - insets.left)/(double)(dim.getWidth() - insets.left - insets.right); x2percent = (two.getX() - insets.left...
1,118,320
private void drag(int dragAmount, int dragFrom, SeismogramShapeIterator iterator){ iterator.setTotalShift(currentIterator.getTotalShift() + dragAmount); double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * p...
private void drag(int dragAmount, int dragFrom, SeismogramShapeIterator iterator){ iterator.setTotalShift(currentIterator.getTotalShift() + dragAmount); double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * p...
1,118,321
public void dragPlot(SeismogramShapeIterator iterator){ iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixels = currentIterator.getSize().width * shiftPercentage + currentIterator.getLeftoverPixels(); //...
public void dragPlot(SeismogramShapeIterator iterator){ iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixels = currentIterator.getSize().width * shiftPercentage + currentIterator.getLeftoverPixels(); //...
1,118,322
public int[] getPixels(SeismogramShapeIterator iterator){ int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisPoints[0]; if(seisPoints[1] < ...
public int[] getPixels(SeismogramShapeIterator iterator){ int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisPoints[0]; if(seisPoints[1] < ...
1,118,323
public void plot(SeismogramShapeIterator iterator){ // System.out.println("Plotting all points"); iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); iterator.setPoints(new int[2][iterator.getSize...
public void plot(SeismogramShapeIterator iterator){ // System.out.println("Plotting all points"); iterator.setSeisPoints(DisplayUtils.getSeisPoints(dss.getSeismogram(), iterator.getTime())); iterator.setBaseSeisPoint(); iterator.setPointsPerPixel(); iterator.setPoints(new int[2][iterator.getSize...
1,118,324
public void update(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ SeismogramShapeIterator newIterator = new SeismogramShapeIterator(time, amp, size); if(lessThanOnePointPerPixel(newIterator)){ //compressPlot(newIterator); }else if(newIterator....
public void update(MicroSecondTimeRange time, UnitRangeImpl amp, Dimension size){ SeismogramShapeIterator newIterator = new SeismogramShapeIterator(time, amp, size); if(lessThanOnePointPerPixel(newIterator)){ //compressPlot(newIterator); }else if(newIterator....
1,118,325
public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { return dbi.getCalSuite(name); }
public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { return dbi.getCalSuite(name); }
1,118,327
public void init(CalSvcIPars parsParam) throws CalFacadeException { pars = (CalSvcIPars)parsParam.clone(); debug = pars.getDebug(); //if (userAuth != null) { // userAuth.reinitialise(getUserAuthCallBack()); //} if (userGroups != null) { userGroups.init(getGroupsCallBack()); } if (adminGr...
public void init(CalSvcIPars parsParam) throws CalFacadeException { pars = (CalSvcIPars)parsParam.clone(); debug = pars.getDebug(); //if (userAuth != null) { // userAuth.reinitialise(getUserAuthCallBack()); //} if (userGroups != null) { userGroups.init(getGroupsCallBack()); } if (adminGr...
1,118,328
protected void setUp() throws Exception { super.setUp(); evalAndReturn( "def at := object: { \n" + " def mirrors := object: { \n" + " def Factory := jlobby.edu.vub.at.objects.mirrors.NATMirrorFactory.INSTANCE; \n" + " }; \n" + " def unit := object: { \n" + " def XUnitFailed := object: { ...
protected void setUp() throws Exception { super.setUp(); evalAndReturn( "def at := object: { \n" + " def mirrors := object: { \n" + " def Factory := object: {" + " def createMirror(o) { reflect: o }" + " }" + " }; \n" + " def unit := object: { \n" + " def XUnitFailed := object: ...
1,118,329
public void testJavaMirrorBaseRelation() { try { ATObject[] objects = new ATObject[] { NATNil._INSTANCE_, NATBoolean._TRUE_, NATNumber.ZERO, new NATObject(), new NATSuperObject(new NATObject(), Evaluator.getGlobalLexicalScope()), NATTable.EMPTY, new NATIntrospectiveMirror(NATNil._INSTANCE_), new...
public void testJavaMirrorBaseRelation() { try { ATObject[] objects = new ATObject[] { NATNil._INSTANCE_, NATBoolean._TRUE_, NATNumber.ZERO, new NATObject(), new NATSuperObject(new NATObject(), Evaluator.getGlobalLexicalScope()), NATTable.EMPTY, NATIntrospectiveMirror.atValue(NATNil._INSTANCE_), ...
1,118,330
public void testJavaMirrorBaseRelation() { try { ATObject[] objects = new ATObject[] { NATNil._INSTANCE_, NATBoolean._TRUE_, NATNumber.ZERO, new NATObject(), new NATSuperObject(new NATObject(), Evaluator.getGlobalLexicalScope()), NATTable.EMPTY, new NATIntrospectiveMirror(NATNil._INSTANCE_), new...
public void testJavaMirrorBaseRelation() { try { ATObject[] objects = new ATObject[] { NATNil._INSTANCE_, NATBoolean._TRUE_, NATNumber.ZERO, new NATObject(), new NATSuperObject(new NATObject(), Evaluator.getGlobalLexicalScope()), NATTable.EMPTY, new NATIntrospectiveMirror(NATNil._INSTANCE_), new...
1,118,331
public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATMirrorFactory._INSTANCE_.createMirror(NATBoolean._TRUE_); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.jAlloc("respondsTo"), NATTable.atValue(new ATObject[] { AGSymbol.jAlloc("ifTrue:") })); respond...
public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATIntrospectiveMirror.atValue(NATBoolean._TRUE_); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.jAlloc("respondsTo"), NATTable.atValue(new ATObject[] { AGSymbol.jAlloc("ifTrue:") })); responds.base_get...
1,118,332
public boolean validateCategory() throws Throwable { boolean ok = true; BwCategory k = getCategory(); k.setWord(Util.checkNull(k.getWord())); k.setDescription(Util.checkNull(k.getDescription())); if (k.getWord() == null) { err.emit("org.bedework.pubevents.error.missingfield", "Catego...
public boolean validateCategory() throws Throwable { boolean ok = true; BwCategory k = getCategory(); k.setWord(Util.checkNull(k.getWord())); k.setDescription(Util.checkNull(k.getDescription())); if (k.getWord() == null) { err.emit("org.bedework.pubevents.error.missingfield", "Catego...
1,118,333
public boolean validateEventCalendar() { boolean ok = true; if (!calendarId.getChanged()) { if (event.getCalendar() == null) { err.emit("org.bedework.pubevents.error.missingfield", "Calendar"); return false; } return ok; } // The user selected one from the list...
public boolean validateEventCalendar() { boolean ok = true; if (!calendarId.getChanged()) { if (event.getCalendar() == null) { err.emit("org.bedework.pubevents.error.missingfield", "Calendar"); return false; } return ok; } // The user selected one from the list...
1,118,334
public boolean validateEventCategory() throws Throwable { int id = keyId.getVal(); if (id <= 0) { if (getEnv().getAppBoolProperty("app.categoryOptional")) { return true; } err.emit("org.bedework.pubevents.error.missingfield", "Category"); return false; } try { ...
public boolean validateEventCategory() throws Throwable { int id = keyId.getVal(); if (id <= 0) { if (getEnv().getAppBoolProperty("app.categoryOptional")) { return true; } err.emit("org.bedework.pubevents.error.missingfield", "Category"); return false; } try { ...
1,118,335
public boolean validateEventCategory() throws Throwable { int id = keyId.getVal(); if (id <= 0) { if (getEnv().getAppBoolProperty("app.categoryOptional")) { return true; } err.emit("org.bedework.pubevents.error.missingfield", "Category"); return false; } try { ...
public boolean validateEventCategory() throws Throwable { int id = keyId.getVal(); if (id <= 0) { if (getEnv().getAppBoolProperty("app.categoryOptional")) { return true; } err.emit("org.bedework.pubevents.error.missingfield", "Category"); return false; } try { ...
1,118,336
public boolean validateEventLocation() throws Throwable { boolean ok = true; if (!locId.getChanged()) { if (getAutoCreateLocations()) { BwLocation l = getLocation(); if (!BwWebUtil.validateLocation(l, err)) { return false; } getCalSvcI().ensureLocationExists(l); ...
public boolean validateEventLocation() throws Throwable { boolean ok = true; if (!locId.getChanged()) { if (getAutoCreateLocations()) { BwLocation l = getLocation(); if (!BwWebUtil.validateLocation(l, err)) { return false; } getCalSvcI().ensureLocationExists(l); ...
1,118,337
public boolean validateEventSponsor() throws Throwable { boolean ok = true; if (!spId.getChanged()) { if (getAutoCreateSponsors()) { BwSponsor s = getSponsor(); if (!BwWebUtil.validateSponsor(s, err)) { return false; } getCalSvcI().ensureSponsorExists(s); setSpon...
public boolean validateEventSponsor() throws Throwable { boolean ok = true; if (!spId.getChanged()) { if (getAutoCreateSponsors()) { BwSponsor s = getSponsor(); if (!BwWebUtil.validateSponsor(s, err)) { return false; } getCalSvcI().ensureSponsorExists(s); setSpon...
1,118,338
public IntSelectId(int originalValue, int preferred) { reset(originalValue, preferred); }
public IntSelectId(int originalValue, int preferred) { reset(originalValue, preferred); }
1,118,339
public void addSeismogram(DataSetSeismogram dss){ HashMap values = new HashMap(); Document doc = getDocument(); try{ appendLine(doc, ""); LocalSeismogramImpl seis = dss.getSeismogram(); appendHeader(doc, seis.getName()); values.put("Number of Points", twoDecimal.format(seis.getNumPoints())); val...
public void addSeismogram(DataSetSeismogram dss){ HashMap values = new HashMap(); Document doc = getDocument(); try{ appendLine(doc, ""); LocalSeismogramImpl seis = dss.getSeismogram(); appendHeader(doc, dss.getName()); values.put("Number of Points", twoDecimal.format(seis.getNumPoints())); valu...
1,118,340