bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; } } ... | public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; } } ... | 1,119,940 |
public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; } } ... | public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; } } ... | 1,119,941 |
public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; } } ... | public void createPDF() { if (display != null) { if (display instanceof VerticalSeismogramDisplay) { verticleDisplays = ((VerticalSeismogramDisplay)display).getDisplays(); if (verticleDisplays == null) return; if (verticleDisplays.size() == 0) { return; ... | 1,119,942 |
public void actionPerformed(ActionEvent e){ int currentNumber = ((Integer)options.getSelectedItem()).intValue(); if(currentNumber < 0){ JOptionPane.showMessageDialog(null, "The number of sei... | public void actionPerformed(ActionEvent e){ int currentNumber = ((Integer)options.getSelectedItem()).intValue(); if(currentNumber < 0){ JOptionPane.showMessageDialog(null, "The number of sei... | 1,119,943 |
public void actionPerformed(ActionEvent e){ int currentNumber = ((Integer)options.getSelectedItem()).intValue(); if(currentNumber < 0){ JOptionPane.showMessageDialog(null, "The number of sei... | public void actionPerformed(ActionEvent e){ int currentNumber = ((Integer)options.getSelectedItem()).intValue(); if(currentNumber < 0){ JOptionPane.showMessageDialog(null, "The number of sei... | 1,119,944 |
public void actionPerformed(ActionEvent e){ setSeisPerPage(-1); dialog.dispose(); } | public void actionPerformed(ActionEvent e){ setSeisPerPage(-1); dialog.dispose(); } | 1,119,945 |
private void setSeisPerPage(int num) { imagesPerPage = num; } | private void setSeisPerPage(int num) { seisPerPageSet = true; imagesPerPage = num; } | 1,119,946 |
public String toString() { StringBuffer sb = new StringBuffer("BwCalendar{"); toStringSegment(sb); sb.append("name="); sb.append(String.valueOf(getName())); sb.append(", path="); sb.append(String.valueOf(getPath())); sb.append(", summary="); sb.append(String.valueOf(getSummary())); sb.appen... | public String toString() { StringBuffer sb = new StringBuffer("BwCalendar{"); toStringSegment(sb); sb.append(", name="); sb.append(String.valueOf(getName())); sb.append(", path="); sb.append(String.valueOf(getPath())); sb.append(", summary="); sb.append(String.valueOf(getSummary())); sb.app... | 1,119,947 |
private void init() throws Throwable { svci = new CalSvc(); CalSvcIPars pars = new CalSvcIPars(account, UserAuth.superUser, account, null, // XXX needs envPrefix true, // public ... | private void init() throws Throwable { svci = new CalSvc(); CalSvcIPars pars = new CalSvcIPars(account, account, null, // XXX needs envPrefix true, // public ... | 1,119,949 |
public void testNullSeed() { IPersonAttributeDao dao = getPersonAttributeDaoInstance(); Map nullMap = null; try { dao.getUserAttributes(nullMap); } catch (IllegalArgumentException iae) { // good, as expected return; } fail("Expected IllegalA... | public void testNullSeed() { IPersonAttributeDao dao = getPersonAttributeDaoInstance(); Map nullMap = null; try { dao.getUserAttributes(nullMap); } catch (IllegalArgumentException iae) { // good, as expected return; } fail("Expected IllegalA... | 1,119,950 |
public void testNullUid() { IPersonAttributeDao dao = getPersonAttributeDaoInstance(); String nullString = null; try { dao.getUserAttributes(nullString); } catch (IllegalArgumentException iae) { // good, as expected return; } fail("Expected ... | public void testNullUid() { IPersonAttributeDao dao = getPersonAttributeDaoInstance(); String nullString = null; try { dao.getUserAttributes(nullString); } catch (IllegalArgumentException iae) { // good, as expected return; } fail("Expected ... | 1,119,951 |
public Vector getParamFilters() { if (paramFilters == null) { paramFilters = new Vector(); } return paramFilters; } | public Collection getParamFilters() { if (paramFilters == null) { paramFilters = new Vector(); } return paramFilters; } | 1,119,952 |
public Vector getParamFilters() { if (paramFilters == null) { paramFilters = new Vector(); } return paramFilters; } | public Vector getParamFilters() { if (paramFilters == null) { paramFilters = new ArrayList(); } return paramFilters; } | 1,119,953 |
private boolean validateEvent(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { boolean ok = validateEventCategory(form, svci, event, err); if (!validateEventSponsor(form, svci, event, err)) { ok = false; } if (!validateEventLo... | private boolean validateEvent(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { boolean ok = validateEventCategory(form, svci, event, err); if (!validateEventSponsor(form, svci, event, err)) { ok = false; } if (!validateEventLo... | 1,119,954 |
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("app.name"); St... | 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("app.name"); St... | 1,119,955 |
public static final ATSymbol downBaseLevelSelector(String jSelector) throws NATException { return AGSymbol.alloc(javaToAmbientTalkSelector(jSelector).replaceFirst(JavaInterfaceAdaptor._BASE_PREFIX_, "")); } | public static final ATSymbol downBaseLevelSelector(String jSelector) throws NATException { if (jSelector.startsWith(JavaInterfaceAdaptor._BGET_PREFIX_)) { return downFieldName(stripPrefix(jSelector, JavaInterfaceAdaptor._BGET_PREFIX_)); } else if (jSelector.startsWith(JavaInterfaceAdaptor._BSET_PREFIX_)) { return dow... | 1,119,956 |
public static final ATSymbol downMetaLevelSelector(String jSelector) throws NATException { return AGSymbol.alloc(javaToAmbientTalkSelector(jSelector).replaceFirst(JavaInterfaceAdaptor._META_PREFIX_, "")); } | public static final ATSymbol downMetaLevelSelector(String jSelector) throws NATException { if (jSelector.startsWith(JavaInterfaceAdaptor._BGET_PREFIX_)) { return downFieldName(stripPrefix(jSelector, JavaInterfaceAdaptor._BGET_PREFIX_)); } else if (jSelector.startsWith(JavaInterfaceAdaptor._BSET_PREFIX_)) { return dow... | 1,119,957 |
public static final String upSelector(ATSymbol atSelector) throws NATException { // : -> _ String nam = atSelector.getText().asNativeText().javaValue; nam = nam.replaceAll(":", "_"); // operator symbol -> _op{code}_ Matcher m = symbol.matcher(nam); StringBuffer sb = new StringBuffer(); while (m.find()) { //... | public static final String upSelector(ATSymbol atSelector) throws NATException { // : -> _ String nam = atSelector.base_getText().asNativeText().javaValue; nam = nam.replaceAll(":", "_"); // operator symbol -> _op{code}_ Matcher m = symbol.matcher(nam); StringBuffer sb = new StringBuffer(); while (m.find()) {... | 1,119,958 |
public void doAction() { if (Main.getMain().getMode() >= Main.MODE_IN_GAME) { Main.getNetworkConnection().writeMessage("LV;"); } Main.getNetworkConnection().writeMessage("SG;" + SerializedData.getSerializedData().getMaxPlayerCount()); } | public void doAction() { if (Main.getMain().getMode() >= Main.MODE_IN_GAME) { Main.getNetworkConnection().writeMessage("LV;"); } Main.getNetworkConnection().writeMessage("SG;" + SerializedData.getSerializedData().getMaxPlayerCount()); } | 1,119,959 |
public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { sess.namedQuery("getSystemPars"); sess.setString("name", getSystemName()); syspars = (BwSystem)sess.getUnique(); if (syspars == null) { throw new CalFacadeException("No system parameters with name " + ... | public BwSystem getSyspars() throws CalFacadeException { if (syspars == null) { sess.namedQuery("getSystemPars"); sess.setString("name", getSystemName()); syspars = (BwSystem)sess.getUnique(); if (syspars == null) { throw new CalFacadeException("No system parameters with name " + ... | 1,119,960 |
public LoadPanel() { super(new GridLayout(1, 0)); setBorder(new TitledBorder(Messages.getString("ModuleAutoStartConfigurationPanel.START_AUTOMATICALLY") +":")); //$NON-NLS-1$ //$NON-NLS-2$ final JTable table = new JTable(model); DefaultCellEditor dce = new DefaultCellEditor(new JTextField()); dce.addCell... | public LoadPanel() { super(new GridLayout(1, 0)); setBorder(new TitledBorder(Messages.getString("ModuleAutoStartConfigurationPanel.START_AUTOMATICALLY") +":")); //$NON-NLS-1$ //$NON-NLS-2$ final JTable table = new JTable(model); DefaultCellEditor dce = new DefaultCellEditor(new JTextField()); dce.addCell... | 1,119,961 |
public void editingStopped(ChangeEvent arg0) { int i = table.getSelectedRow(); int j = table.getSelectedColumn(); String arg = (String)table.getCellEditor(i, j).getCellEditorValue(); model.args.set(i, arg); model.fireTableCellUpdated(i, j); } | public void editingStopped(ChangeEvent arg0) { int i = table.getSelectedRow(); int j = table.getSelectedColumn(); String arg = (String)table.getCellEditor(i, j).getCellEditorValue(); model.args.set(i, arg); model.fireTableCellUpdated(i, j); } | 1,119,962 |
TimeScaleCalc (int totalPixels, MicroSecondDate beginTime, MicroSecondDate endTime, TimeConfigRegistrar tr){ if (endTime.before(beginTime)) { throw new IllegalArgumentException("endTime must be after beginTime, "+beginTime.toString()+" "+endTime.toString()); } this.totalPixels = totalPixels; setTimes(); calcu... | TimeScaleCalc (int totalPixels, MicroSecondDate beginTime, MicroSecondDate endTime, TimeConfigRegistrar tr){ if (endTime.before(beginTime)) { throw new IllegalArgumentException("endTime must be after beginTime, "+beginTime.toString()+" "+endTime.toString()); } this.totalPixels = totalPixels; setTimes(); calcu... | 1,119,964 |
TimeScaleCalc (int totalPixels, MicroSecondDate beginTime, MicroSecondDate endTime, TimeConfigRegistrar tr){ if (endTime.before(beginTime)) { throw new IllegalArgumentException("endTime must be after beginTime, "+beginTime.toString()+" "+endTime.toString()); } this.totalPixels = totalPixels; setTimes(); calcu... | TimeScaleCalc (int totalPixels, MicroSecondDate beginTime, MicroSecondDate endTime, TimeConfigRegistrar tr){ if (endTime.before(beginTime)) { throw new IllegalArgumentException("endTime must be after beginTime, "+beginTime.toString()+" "+endTime.toString()); } this.totalPixels = totalPixels; setTimes(); } | 1,119,965 |
protected void fireNewDataEvent(SeisDataChangeEvent event) { // use temp array to avoid concurrentModificationException LinkedList tmp = new LinkedList(dssDataListeners); Iterator iterator = tmp.iterator(); while(iterator.hasNext()) { SeisDataChangeListener dssDataListener = (... | protected void fireNewDataEvent(SeisDataChangeEvent event) { // use temp array to avoid concurrentModificationException LinkedList tmp; synchronized(dssDataListeners){ tmp = new LinkedList(dssDataListeners); } Iterator iterator = tmp.iterator(); while(iterator.hasNext()) { Sei... | 1,119,966 |
public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | 1,119,967 |
public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | 1,119,968 |
public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | 1,119,969 |
public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | public ParticleMotionDisplay(DataSetSeismogram hseis, TimeConfigRegistrar timeConfigRegistrar, AmpConfigRegistrar hAmpConfigRegistrar, AmpConfigRegistrar vAmpConfigRegistrar, Color color, boolean advancedOption) { this.hAmpConfigRegistrar = hAmpConfigRegistrar; this.vAmpConfigRegistrar = vAmpCo... | 1,119,970 |
public void changeAccess(Object o, Collection aces) throws CalFacadeException { getCal().changeAccess(o, aces); } | public void changeAccess(Object o, Collection aces) throws CalFacadeException { getCal().changeAccess(o, aces); } | 1,119,972 |
public Collection getAces(Object o) throws CalFacadeException { return getCal().getAces(o); } | public Collection getAces(Object o) throws CalFacadeException { return getCal().getAces(o); } | 1,119,973 |
public void generatePropValue(WebdavNsNode node, WebdavProperty pr) throws WebdavIntfException { QName tag = pr.getTag(); String ns = tag.getNamespaceURI(); boolean isCalendar = node instanceof CaldavCalNode; CaldavCalNode calNode = null; BwCalendar cal = null; if (isC... | public void generatePropValue(WebdavNsNode node, WebdavProperty pr) throws WebdavIntfException { QName tag = pr.getTag(); String ns = tag.getNamespaceURI(); boolean isCalendar = node instanceof CaldavCalNode; CaldavCalNode calNode = null; BwCalendar cal = null; if (isC... | 1,119,975 |
public void generatePropValue(WebdavNsNode node, WebdavProperty pr) throws WebdavIntfException { QName tag = pr.getTag(); String ns = tag.getNamespaceURI(); boolean isCalendar = node instanceof CaldavCalNode; CaldavCalNode calNode = null; BwCalendar cal = null; if (isC... | public void generatePropValue(WebdavNsNode node, WebdavProperty pr) throws WebdavIntfException { QName tag = pr.getTag(); String ns = tag.getNamespaceURI(); boolean isCalendar = node instanceof CaldavCalNode; CaldavCalNode calNode = null; BwCalendar cal = null; if (isC... | 1,119,976 |
protected Object getObject(String name, String scope, String property, boolean required) throws JspTagException { try { Object o = RequestUtils.lookup(pageContext, name, property, scope); if (o == null) { if (required) { throw new JspTagException("Unable t... | protected Object getObject(String name, String scope, String property, boolean required) throws JspTagException { try { Object o = TagUtils.getInstance().lookup(pageContext, name, property, scope); if (o == null) { if (required) { throw new JspTagException... | 1,119,977 |
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g.create(); if (copy != null) { t... | 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,119,978 |
public void changeAccess(BwShareableDbentity ent, Collection aces) throws CalFacadeException { try { Acl acl = getAces(ent, privWriteAcl); Iterator it = aces.iterator(); while (it.hasNext()) { Ace ace = (Ace)it.next(); acl.removeAccess(ace); acl.addAce... | public void changeAccess(BwShareableDbentity ent, Collection aces) throws CalFacadeException { try { Acl acl = checkAccess(ent, privWriteAcl, false).acl; Iterator it = aces.iterator(); while (it.hasNext()) { Ace ace = (Ace)it.next(); acl.removeAccess(ace); ... | 1,119,979 |
public Collection checkAccess(Collection ents, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { TreeSet out = new TreeSet(); Iterator it = ents.iterator(); while (it.hasNext()) { BwShareableDbentity sdbe = (BwShareableDbentity)it.next(); ... | public Collection checkAccess(Collection ents, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { TreeSet out = new TreeSet(); Iterator it = ents.iterator(); while (it.hasNext()) { BwShareableDbentity sdbe = (BwShareableDbentity)it.next(); ... | 1,119,980 |
private synchronized BwSession getState(HttpServletRequest request, BwActionFormBase form, MessageResources messages, String adminUserId, boolean admin) t... | private synchronized BwSession getState(HttpServletRequest request, BwActionFormBase form, MessageResources messages, String adminUserId, boolean admin) t... | 1,119,981 |
public void evalAndTestException(String input, Class interpreterExceptionClass) { try { ATAbstractGrammar ptree = NATParser._INSTANCE_.base_parse(NATText.atValue(input)); ptree.meta_eval(ctx_); fail("Expected an exception of type " + interpreterExceptionClass.getSimpleName()); // test should throw an ... | public void evalAndTestException(String input, Class interpreterExceptionClass) { try { ATAbstractGrammar ptree = NATParser._INSTANCE_.base_parse(NATText.atValue(input)); ptree.meta_eval(ctx_); fail("Expected an exception of type " + Evaluator.getSimpleName(interpreterExceptionClass)); // test should ... | 1,119,982 |
public static final ATObject evalSnippet(Class forTestClass, String name, ATContext inContext) throws InterpreterException { try { File inFile = new File(forTestClass.getResource(forTestClass.getSimpleName() + "-" + name).toURI()); // load the code from the file String code = Evaluator.loadContentOfFil... | public static final ATObject evalSnippet(Class forTestClass, String name, ATContext inContext) throws InterpreterException { try { File inFile = new File(new URI(forTestClass.getResource(Evaluator.getSimpleName(forTestClass) + "-" + name).toString())); // load the code from the file String code = Evalu... | 1,119,983 |
public static final ATObject evalSnippet(Class forTestClass, String name, ATContext inContext) throws InterpreterException { try { File inFile = new File(forTestClass.getResource(forTestClass.getSimpleName() + "-" + name).toURI()); // load the code from the file String code = Evaluator.loadContentOfFil... | public static final ATObject evalSnippet(Class forTestClass, String name, ATContext inContext) throws InterpreterException { try { File inFile = new File(forTestClass.getResource(forTestClass.getSimpleName() + "-" + name).toURI()); // load the code from the file String code = Evaluator.loadContentOfFil... | 1,119,984 |
public ATTable base_getParameters() throws InterpreterException { Class[] paramTypes = javaMethod_.getParameterTypes(); AGSymbol[] paramNames = new AGSymbol[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) { paramNames[i] = AGSymbol.alloc(Evaluator.valueNameOf(paramTypes[i])); } return new NATTab... | public ATTable base_getParameters() throws InterpreterException { Class[] paramTypes = javaMethod_.getParameterTypes(); AGSymbol[] paramNames = new AGSymbol[paramTypes.length]; for (int i = 0; i < paramTypes.length; i++) { paramNames[i] = AGSymbol.jAlloc(Evaluator.valueNameOf(paramTypes[i])); } return new NATTa... | 1,119,985 |
public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { checkOpen(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal",... | public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { checkOpen(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal",... | 1,119,987 |
public void addUser(BwUser user) throws CalFacadeException { checkOpen(); user.setCategoryAccess(access.getDefaultPersonalAccess()); user.setLocationAccess(access.getDefaultPersonalAccess()); user.setSponsorAccess(access.getDefaultPersonalAccess()); user.setQuota(getSyspars().getDefaultUserQuota()); ... | public void addUser(BwUser user) throws CalFacadeException { checkOpen(); user.setCategoryAccess(access.getDefaultPersonalAccess()); user.setLocationAccess(access.getDefaultPersonalAccess()); user.setSponsorAccess(access.getDefaultPersonalAccess()); user.setQuota(getSyspars().getDefaultUserQuota()); ... | 1,119,988 |
public boolean checkCalendarRefs(BwCalendar val) throws CalFacadeException { checkOpen(); sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal", val); Integer res = (Integer)sess.getUnique(); if (debug) { trace(" ----------- count = " + res); } if (res == null) { return false;... | public boolean checkCalendarRefs(BwCalendar val) throws CalFacadeException { checkOpen(); sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal", val); Integer res = (Integer)sess.getUnique(); if (debug) { trace(" ----------- count = " + res); } if (res == null) { return false;... | 1,119,989 |
public boolean deleteCalendar(BwCalendar val) throws CalFacadeException { checkOpen(); BwCalendar parent = val.getCalendar(); if (parent == null) { throw new CalFacadeException(CalFacadeException.cannotDeleteCalendarRoot); } //sess.delete(val); parent.removeChild(val); sess.update(parent); ... | public boolean deleteCalendar(BwCalendar val) throws CalFacadeException { checkOpen(); BwCalendar parent = val.getCalendar(); if (parent == null) { throw new CalFacadeException(CalFacadeException.cannotDeleteCalendarRoot); } //sess.delete(val); parent.removeChild(val); sess.update(parent); ... | 1,119,990 |
public Collection getAddContentCalendarCollections() throws CalFacadeException { if (currentMode == CalintfUtil.guestMode) { return new TreeSet(); } checkOpen(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkA... | public Collection getAddContentCalendarCollections() throws CalFacadeException { if (currentMode == CalintfUtil.guestMode) { return new TreeSet(); } checkOpen(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkA... | 1,119,991 |
public Collection getAddContentPublicCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getPublicCalendarCollections"); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, true); } | public Collection getAddContentPublicCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getPublicCalendarCollections"); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, true); } | 1,119,992 |
public BwCalendar getCalendar(int val) throws CalFacadeException { checkOpen(); sess.namedQuery("getCalendarById"); sess.setInt("id", val); sess.cacheableQuery(); return (BwCalendar)sess.getUnique(); } | public BwCalendar getCalendar(int val) throws CalFacadeException { checkOpen(); sess.namedQuery("getCalendarById"); sess.setInt("id", val); sess.cacheableQuery(); return (BwCalendar)sess.getUnique(); } | 1,119,993 |
public Collection getCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, true); } | public Collection getCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, true); } | 1,119,994 |
public BwCalendar getCalendars() throws CalFacadeException { if (currentMode == CalintfUtil.guestMode) { return getPublicCalendars(); } checkOpen(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + user.getAccount()); sess.cacheableQuery(); return (Bw... | public BwCalendar getCalendars() throws CalFacadeException { if (currentMode == CalintfUtil.guestMode) { return getPublicCalendars(); } checkOpen(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + user.getAccount()); sess.cacheableQuery(); return (Bw... | 1,119,995 |
public BwCalendar getDefaultCalendar() throws CalFacadeException { StringBuffer sb = new StringBuffer(); sb.append("/"); sb.append(getSyspars().getUserCalendarRoot()); sb.append("/"); sb.append(user.getAccount()); sb.append("/"); sb.append(getSyspars().getUserDefaultCalendar()); return getCale... | public BwCalendar getDefaultCalendar() throws CalFacadeException { StringBuffer sb = new StringBuffer(); sb.append("/"); sb.append(getSyspars().getUserCalendarRoot()); sb.append("/"); sb.append(user.getAccount()); sb.append("/"); sb.append(getSyspars().getUserDefaultCalendar()); return getCale... | 1,119,996 |
public Collection getPublicCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getPublicCalendarCollections"); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, true); } | public Collection getPublicCalendarCollections() throws CalFacadeException { checkOpen(); sess.namedQuery("getPublicCalendarCollections"); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, true); } | 1,119,997 |
public BwCalendar getPublicCalendars() throws CalFacadeException { checkOpen(); sess.namedQuery("getCalendarByPath"); sess.setString("path", publicCalendarRootPath); sess.cacheableQuery(); /* XXX access checks */ return (BwCalendar)sess.getUnique(); } | public BwCalendar getPublicCalendars() throws CalFacadeException { checkOpen(); sess.namedQuery("getCalendarByPath"); sess.setString("path", publicCalendarRootPath); sess.cacheableQuery(); /* XXX access checks */ return (BwCalendar)sess.getUnique(); } | 1,119,998 |
public BwCalendar getTrashCalendar() throws CalFacadeException { StringBuffer sb = new StringBuffer(); sb.append("/"); sb.append(getSyspars().getUserCalendarRoot()); sb.append("/"); sb.append(user.getAccount()); sb.append("/"); sb.append(getSyspars().getDefaultTrashCalendar()); return getCalen... | public BwCalendar getTrashCalendar() throws CalFacadeException { StringBuffer sb = new StringBuffer(); sb.append("/"); sb.append(getSyspars().getUserCalendarRoot()); sb.append("/"); sb.append(user.getAccount()); sb.append("/"); sb.append(getSyspars().getDefaultTrashCalendar()); return getCalen... | 1,119,999 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,000 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,001 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,002 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,003 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,004 |
public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | public boolean init(String authenticatedUser, String user, boolean publicAdmin, boolean superUser, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = deb... | 1,120,005 |
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); if (e... | public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); if (e... | 1,120,007 |
public void updateCalendar(BwCalendar val) throws CalFacadeException { checkOpen(); sess.update(val); } | public void updateCalendar(BwCalendar val) throws CalFacadeException { checkOpen(); calendars.updateCalendar(val); } | 1,120,008 |
public void show(JComponent invoker, int x, int y) { menuItemCut.setEnabled(text.isEditable()); menuItemPaste.setEnabled(text.isEditable()); super.show(invoker, x, y); } | public void show(Component invoker, int x, int y) { menuItemCut.setEnabled(text.isEditable()); menuItemPaste.setEnabled(text.isEditable()); super.show(invoker, x, y); } | 1,120,009 |
public Map getParameterMap() { return (parameterMap == null) ? new HashMap(0) : parameterMap; } | public Map getParameterMap() { if (parameterMap == null) { parameterMap = new HashMap(0); } return parameterMap; } | 1,120,010 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); for(int i = 0; i < componentSorted.length; i++){ ((T... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); for(int i = 0; i < componentSorted.length; i++){ ((T... | 1,120,011 |
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); for(int i = 0; i < componentSorted.length; i++){ ((T... | private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); for(int i = 0; i < componentSorted.length; i++){ ((T... | 1,120,012 |
public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } | public void windowClosing(WindowEvent e) { removeSelectionDisplay(); } | 1,120,013 |
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | 1,120,014 |
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(particleTagWindowName); threeSelectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent ... | 1,120,015 |
public void windowClosing(WindowEvent e) { threeSelectionDisplay.removeAll(); } | public void windowClosing(WindowEvent e) { threeSelectionDisplay.removeAll(); } | 1,120,016 |
public ATObject meta_doesNotUnderstand(ATSymbol selector) throws NATException { // first, convert the AmbientTalk name to a Java selector. Java selectors are always valid filenames because // they do not contain special operator characters String javaSelector = Reflection.upSelector(selector); // first, try to s... | public ATObject meta_doesNotUnderstand(ATSymbol selector) throws NATException { // first, convert the AmbientTalk name to a Java selector. Java selectors are always valid filenames because // they do not contain special operator characters String javaSelector = Reflection.upSelector(selector); // first, try to s... | 1,120,017 |
public AGApplication(ATSymbol sel, ATTable arg) { selector_ = sel; arguments_ = arg; } | public AGApplication(ATSymbol sel, ATTable arg) { selector_ = sel; arguments_ = arg; } | 1,120,018 |
public ATObject meta_eval(ATContext ctx) throws NATException { return ctx.getLexicalScope().meta_call(selector_, NATTable.evaluateArguments(arguments_.asNativeTable(), ctx)); } | public ATObject meta_eval(ATContext ctx) throws NATException { ATClosure clo = funExp_.meta_eval(ctx).asClosure(); return clo.meta_apply(NATTable.evaluateArguments(arguments_.asNativeTable(), ctx)); } | 1,120,019 |
public NATText meta_print() throws XTypeMismatch { return NATText.atValue(selector_.meta_print().javaValue + NATTable.printAsList(arguments_).javaValue); } | public NATText meta_print() throws XTypeMismatch { return NATText.atValue(funExp_.meta_print().javaValue + NATTable.printAsList(arguments_).javaValue); } | 1,120,020 |
public ATObject meta_quote(ATContext ctx) throws NATException { return new AGApplication(selector_.meta_quote(ctx).asSymbol(), arguments_.meta_quote(ctx).asTable()); } | public ATObject meta_quote(ATContext ctx) throws NATException { return new AGApplication(funExp_.meta_quote(ctx).asExpression(), arguments_.meta_quote(ctx).asTable()); } | 1,120,021 |
public void run() { JTextComponent copyright = createCopyrightPanel(); HTMLBrowser license = new HTMLBrowser(LICENSE_HTML); remove(label); JSplitPane splitPane = new JSplitPane( JSplitPane.VERTICAL_SPLIT); splitPane.add(new JScrollPane(copyright)); splitPane.add(new JScrollPane(license)); ... | public void run() { JTextComponent copyright = createCopyrightPanel(); HTMLBrowser license = new HTMLBrowser(LICENSE_HTML); remove(label); JSplitPane splitPane = new JSplitPane( JSplitPane.VERTICAL_SPLIT); splitPane.add(new JScrollPane(copyright)); splitPane.add(license); int location =... | 1,120,022 |
private boolean executeQueries(QuerySQL query, QueryToSQLBridge bridge) throws RemoteException { QueryResult queryResult = bridge.executeQueries(query); // check if everything is fine if (queryResult == null || queryResult.isEmpty()) { // nothing to do return false; } // get the design of the report Jas... | private boolean executeQueries(QuerySQL query, QueryToSQLBridge bridge) throws RemoteException { QueryResult queryResult = bridge.executeQueries(query); // check if everything is fine if (queryResult == null || queryResult.isEmpty()) { // nothing to do return false; } // get the design of the report Jas... | 1,120,023 |
private void getSingleQueryView(IWBundle bundle, IWResourceBundle resourceBundle, String action, IWContext iwc) throws RemoteException { String errorMessage = null; QueryService queryService = getQueryService(); int currentQueryId = ((Integer) parameterMap.get(CURRENT_QUERY_ID)).intValue(); QueryHelper queryHelp... | private void getSingleQueryView(IWBundle bundle, IWResourceBundle resourceBundle, String action, IWContext iwc) throws RemoteException { String errorMessage = null; QueryService queryService = getQueryService(); int currentQueryId = ((Integer) parameterMap.get(CURRENT_QUERY_ID)).intValue(); QueryHelper queryHelp... | 1,120,024 |
private void getSingleQueryView(IWBundle bundle, IWResourceBundle resourceBundle, String action, IWContext iwc) throws RemoteException { String errorMessage = null; QueryService queryService = getQueryService(); int currentQueryId = ((Integer) parameterMap.get(CURRENT_QUERY_ID)).intValue(); QueryHelper queryHelp... | private void getSingleQueryView(IWBundle bundle, IWResourceBundle resourceBundle, String action, IWContext iwc) throws RemoteException { String errorMessage = null; QueryService queryService = getQueryService(); int currentQueryId = ((Integer) parameterMap.get(CURRENT_QUERY_ID)).intValue(); QueryHelper queryHelp... | 1,120,025 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHint = getLaneOrientation()== HORIZONTAL ? container.getClientArea... | 1,120,026 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,027 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,028 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,029 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,030 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,031 |
public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | public void layout(IFigure container) { Rectangle clientArea = transposer.t(container.getClientArea()); List children = container.getChildren(); int numChildren = children.size(); Dimension prefSizes [] = new Dimension[numChildren]; Dimension minSizes [] = new Dimension[numChildren]; int wHin... | 1,120,032 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** ================================================================= * Selecting a group - any access if no group set * ==============... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** ================================================================= * Selecting a group - any access if no group set * ==============... | 1,120,033 |
public CalintfHelper(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) { this.cal = cal; this.access = access; this.currentMode = currentMode; this.ignoreCreator = ignoreCreator; this.debug = debug; } | public CalintfHelper(Calintf cal, AccessUtil access, int currentMode, boolean debug) { this.cal = cal; this.access = access; this.currentMode = currentMode; this.ignoreCreator = ignoreCreator; this.debug = debug; } | 1,120,035 |
public CalintfHelper(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) { this.cal = cal; this.access = access; this.currentMode = currentMode; this.ignoreCreator = ignoreCreator; this.debug = debug; } | public CalintfHelper(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) { this.cal = cal; this.access = access; this.currentMode = currentMode; this.debug = debug; } | 1,120,036 |
public MainPanel(final AudioPlayer owner) { super(new BorderLayout()); final JList list = new JList(playlist.getListModel()); list.setCellRenderer(new ListCellRenderer() { public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { File ... | public MainPanel(final AudioPlayer owner) { super(new BorderLayout()); final JList list = new JList(playlist.getListModel()); list.setCellRenderer(new ListCellRenderer() { public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { File ... | 1,120,037 |
public void actionPerformed(ActionEvent e) { final JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileFilter() { public boolean accept(File f) { return f.isDirectory() || f.toString().toLowerCase().endsWith(Messages.getString("MainPanel.DOT_MP3")); //$NON-NLS-1$ ... | public void actionPerformed(ActionEvent e) { final JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileFilter() { public boolean accept(File f) { return f.isDirectory() || f.toString().toLowerCase().endsWith(Messages.getString("MainPanel.DOT_MP3")); //$NON-NLS-1$ ... | 1,120,039 |
public boolean accept(File f) { return f.isDirectory() || f.toString().toLowerCase().endsWith(Messages.getString("MainPanel.DOT_MP3")); //$NON-NLS-1$ } | public boolean accept(File f) { return f.isDirectory() || f.toString().toLowerCase().endsWith(Messages.getString("MainPanel.DOT_MP3")); //$NON-NLS-1$ } | 1,120,040 |
public void actionPerformed(ActionEvent e) { int[] arr = list.getSelectedIndices(); if (arr != null) { for (int i = arr.length - 1; i >= 0; i--) { playlist.remove(arr[i]); } } } | public void actionPerformed(ActionEvent e) { int[] arr = list.getSelectedIndices(); if (arr != null) { for (int i = arr.length - 1; i >= 0; i--) { playlist.remove(arr[i]); } } } | 1,120,041 |
public String getXmlAccess() { try { if (xmlAccess == null) { Acl acl = svci.getAcl(getEvent()); xmlAccess = AccessAppUtil.getXmlAclString(acl); } } catch (Throwable t) { error(t); } return xmlAccess; } | public String getXmlAccess() { try { if (xmlAccess == null) { Acl acl = eventInfo.getCurrentAccess().acl; xmlAccess = AccessAppUtil.getXmlAclString(acl); } } catch (Throwable t) { error(t); } return xmlAccess; } | 1,120,044 |
private void createLinkTo(final Point2D p) { if (this.ideaMap != null) { IdeaView hit = this.ideaMap.getViewAt(p); if (hit != null) { Idea selectedIdea = this.ideaMap.getSelected(); if (selectedIdea != null) { Idea hitIdea = hit.getIdea()... | private void createLinkTo(final Point2D p) { if (this.ideaMap != null) { IdeaView hit = this.ideaMap.getViewAt(p); if ((hit != null) && (hit instanceof BranchView)) { Idea selectedIdea = this.ideaMap.getSelected(); if (selectedIdea != null) { ... | 1,120,047 |
public ATFraction base_abs() { return NATFraction.atValue(Math.abs(javaValue)); } | public ATNumeric base_abs() { return NATFraction.atValue(Math.abs(javaValue)); } | 1,120,048 |
public ATFraction base_dec() { return NATFraction.atValue(javaValue-1); } | public ATNumeric base_dec() { return NATFraction.atValue(javaValue-1); } | 1,120,049 |
public ATFraction base_inc() { return NATFraction.atValue(javaValue+1); } | public ATNumeric base_inc() { return NATFraction.atValue(javaValue+1); } | 1,120,050 |
public CalTimezones getTzcache() throws Throwable { if (tzcache != null) { return tzcache; } if (syspars.getTzid() == null) { throw new Exception("syspars.tzid not initialised"); } tzcache = new TimezonesImpl(config.getDebug(), getPublicUser(), rintf); tzcache.setDefaultTimeZoneId(syspars.... | public SATimezonesImpl getTzcache() throws Throwable { if (tzcache != null) { return tzcache; } if (syspars.getTzid() == null) { throw new Exception("syspars.tzid not initialised"); } tzcache = new TimezonesImpl(config.getDebug(), getPublicUser(), rintf); tzcache.setDefaultTimeZoneId(syspa... | 1,120,051 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.