bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
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 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(), this); tzcache.setDefaultTimeZoneId(syspars.g... | 1,120,052 |
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 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.... | 1,120,053 |
public void openDocument() throws IOException, ReaderException { FileDialog chooser = new FileDialog(mainframe, "Open OPML file", FileDialog.LOAD); chooser.setVisible(true); String filename = chooser.getFile(); if (filename != null) { Str... | public void openDocument() throws IOException, ReaderException { FileDialog chooser = new FileDialog(mainframe, "Open OPML file", FileDialog.LOAD); chooser.setVisible(true); String filename = chooser.getFile(); if (filename != null) { Str... | 1,120,054 |
public void openDocument() throws IOException, ReaderException { FileDialog chooser = new FileDialog(mainframe, "Open OPML file", FileDialog.LOAD); chooser.setVisible(true); String filename = chooser.getFile(); if (filename != null) { Str... | public void openDocument() throws IOException, ReaderException { FileDialog chooser = new FileDialog(mainframe, "Open OPML file", FileDialog.LOAD); chooser.setVisible(true); String filename = chooser.getFile(); if (filename != null) { Str... | 1,120,055 |
void addChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( ! channelMap.containsKey(chanKey)) { channelMap.put(chanKey, chans[j]); if ( ! sites.contains(chans[j].my_site.get_code())) { sites.addElement(chans[j].my_site.get... | void addChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( ! channelMap.containsKey(chanKey)) { channelMap.put(chanKey, chans[j]); if ( ! sites.contains(chans[j].my_site.get_code())) { sites.addElement(chans[j].my_site.get... | 1,120,056 |
void addChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( ! channelMap.containsKey(chanKey)) { channelMap.put(chanKey, chans[j]); if ( ! sites.contains(chans[j].my_site.get_code())) { sites.addElement(chans[j].my_site.get... | void addChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( ! channelMap.containsKey(chanKey)) { channelMap.put(chanKey, chans[j]); if ( ! sites.contains(chans[j].my_site.get_code())) { sites.addElement(chans[j].my_site.get... | 1,120,057 |
void removeChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( channelMap.containsKey(chanKey)) { channelMap.remove(chanKey); } } } | void removeChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( channelMap.containsKey(chanKey)) { channelMap.remove(chanKey); } } } | 1,120,058 |
void removeChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( channelMap.containsKey(chanKey)) { channelMap.remove(chanKey); } } } | void removeChannels(Channel[] chans) { for (int j=0; j<chans.length; j++) { String chanKey = ChannelIdUtil.toString(chans[j].get_id()); if ( channelMap.containsKey(chanKey)) { channelMap.remove(chanKey); } } } | 1,120,059 |
public void run() { setProgressOwner(this); ListSelectionModel selModel = stationList.getSelectionModel(); // assume only one selected network at at time... NetworkAccess[] nets = getSelectedNetworks(); setProgressMax(this, e.getLastIndex()-e.getFirstIndex()+1); for (int i=e.getFirstIndex(); i<... | public void run() { setProgressOwner(this); ListSelectionModel selModel = stationList.getSelectionModel(); // assume only one selected network at at time... NetworkAccess[] nets = getSelectedNetworks(); setProgressMax(this, e.getLastIndex()-e.getFirstIndex()+1); for (int i=e.getFirstIndex(); i<... | 1,120,060 |
public void run() { setProgressOwner(this); ListSelectionModel selModel = stationList.getSelectionModel(); // assume only one selected network at at time... NetworkAccess[] nets = getSelectedNetworks(); setProgressMax(this, e.getLastIndex()-e.getFirstIndex()+1); for (int i=e.getFirstIndex(); i<... | public void run() { setProgressOwner(this); ListSelectionModel selModel = stationList.getSelectionModel(); // assume only one selected network at at time... NetworkAccess[] nets = getSelectedNetworks(); setProgressMax(this, e.getLastIndex()-e.getFirstIndex()+1); for (int i=e.getFirstIndex(); i<... | 1,120,061 |
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);... | public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);... | 1,120,062 |
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);... | public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);... | 1,120,063 |
public void run() { setProgressOwner(this); setProgressMax(this, 100); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); } } int netProgressInc = 50 / nets.length; in... | public void run() { setProgressOwner(this); setProgressMax(this, 100); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); } } int netProgressInc = 50 / nets.length; in... | 1,120,064 |
public void run() { setProgressOwner(this); setProgressMax(this, 100); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); } } int netProgressInc = 50 / nets.length; in... | public void run() { setProgressOwner(this); setProgressMax(this, 100); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); } } int netProgressInc = 50 / nets.length; in... | 1,120,065 |
protected boolean validatePage() { if (!super.validatePage()) { return false; } String extension = getExtension(); if (extension != null && !extension.equals(getFilePath().getFileExtension())) { setErrorMessage(NLS.bind("File name should have ''{0}'' extension.", extension)); return false; } return true; } | protected boolean validatePage() { if (!super.validatePage()) { return false; } String extension = getExtension(); if (extension != null && !getFilePath().toString().endsWith("." + extension)) { setErrorMessage(NLS.bind("File name should have ''{0}'' extension.", extension)); return false; } return true; } | 1,120,066 |
public BwFreeBusy getFreeBusy(Collection subs, BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { ... | public BwFreeBusy getFreeBusy(Collection subs, BwCalendar cal, BwPrincipal who, BwDateTime start, BwDateTime end, BwDuration granularity, boolean returnAll) throws CalFacadeException { ... | 1,120,067 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,073 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,074 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,075 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,076 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,077 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "notFound"; } CalSvcI svci = form.fetchSvci(); BwCalendar ca... | 1,120,078 |
private void dumpCalendar(BwCalendar val) throws Throwable { tagStart(objectCalendar); shareableContainedEntityTags(val); taggedVal("name", val.getName()); taggedVal("path", val.getPath()); taggedVal("summary", val.getSummary()); taggedVal("description", val.getDescription()); taggedVal("mailList... | private void dumpCalendar(BwCalendar val) throws Throwable { tagStart(objectCalendar); shareableContainedEntityTags(val); taggedVal("name", val.getName()); taggedVal("path", val.getPath()); taggedVal("summary", val.getSummary()); taggedVal("description", val.getDescription()); taggedVal("mailList... | 1,120,079 |
protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.ElementImportEditPart.VISUAL_ID); view.setType(semanticHint... | protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(ElementImportEditPart.VISUAL_ID); view.setType(semanticHint); } super.decorateView(containerView, vie... | 1,120,080 |
public void testUpSelector() throws NATException { assertEquals("foo_", Reflection.upSelector(AGSymbol.alloc("foo:"))); assertEquals("foo_bar_", Reflection.upSelector(AGSymbol.alloc("foo:bar:"))); assertEquals("_oppls_", Reflection.upSelector(AGSymbol.alloc("+"))); assertEquals("set_opnot_", Reflection.upSelector(... | public void testUpSelector() throws NATException { assertEquals("foo_", Reflection.upSelector(AGSymbol.alloc("foo:"))); assertEquals("foo_bar_", Reflection.upSelector(AGSymbol.alloc("foo:bar:"))); assertEquals("_oppls_", Reflection.upSelector(AGSymbol.alloc("+"))); assertEquals("set_opnot_", Reflection.upSelector(... | 1,120,081 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | 1,120,082 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | 1,120,083 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | 1,120,084 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.getCa... | 1,120,085 |
public boolean init(String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException; | public boolean init(String systemName, String url, String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException; | 1,120,086 |
private void addFieldToColumnHeader(String fieldName, Class classType, int columnWidth){ _designDoc.addParameter(fieldName,String.class); TextField tField = new TextField(); tField.setIsBlankWhenNull(true); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tField.setHyperlinkTypeAsNone();... | private void addFieldToColumnHeader(String fieldName, Class classType, int columnWidth){ _designDoc.addParameter(fieldName,String.class); TextField tField = new TextField(); tField.setIsBlankWhenNull(true); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tField.setHyperlinkTypeAsNone();... | 1,120,087 |
private void addParameterToPageHeader(String prmName, int prmWidth, Class classType,boolean underline, boolean bold){ _designDoc.addParameter(prmName,String.class); TextField tField = new TextField(); tField.setIsBlankWhenNull(false); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tFie... | private void addParameterToPageHeader(String prmName, int prmWidth, Class classType,boolean underline, boolean bold){ _designDoc.addParameter(prmName,String.class); TextField tField = new TextField(); tField.setIsBlankWhenNull(false); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tFie... | 1,120,088 |
private void createTextField(TextFieldExpression textFieldExpression, int columnWidth){ TextField tField = new TextField(); tField.setIsBlankWhenNull(true); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tField.setHyperlinkTypeAsNone(); ReportElement rElement = new ReportElement(_column... | private void createTextField(TextFieldExpression textFieldExpression, int columnWidth){ TextField tField = new TextField(); tField.setIsBlankWhenNull(true); tField.setIsStretchWithOverflow(true); tField.setEvaluationTimeAsNow(); tField.setHyperlinkTypeAsNone(); ReportElement rElement = new ReportElement(_column... | 1,120,089 |
private void createTitle() { Title title = new Title(); title.setHeight(_reportTitleHeight); //title.setIsSplitAllowed(true); TextField tField1 = new TextField(); tField1.setIsBlankWhenNull(true); tField1.setIsStretchWithOverflow(true); tField1.setEvaluationTimeAsNow(); tField1.setHyperlinkTypeAsNone(); ... | private void createTitle() { Title title = new Title(); title.setHeight(_reportTitleHeight); //title.setIsSplitAllowed(true); TextField tField1 = new TextField(); tField1.setIsBlankWhenNull(true); tField1.setIsStretchWithOverflow(true); tField1.setEvaluationTimeAsNow(); tField1.setHyperlinkTypeAsNone(); ... | 1,120,090 |
public void keyPressed(final KeyEvent evt) { switch(evt.getKeyCode()) { case KeyEvent.VK_SPACE: ticker.stop(); maxSpeed = 0.0; break; case KeyEvent.VK_UP: selectUp(); break; case KeyEvent.VK_DOWN: ... | public void keyPressed(final KeyEvent evt) { switch(evt.getKeyCode()) { case KeyEvent.VK_SPACE: ticker.stop(); maxSpeed = 0.0; break; case KeyEvent.VK_UP: selectUp(); break; case KeyEvent.VK_DOWN: ... | 1,120,091 |
protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.GeneralizationEditPart.VISUAL_ID); view.setType(semanticHin... | protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(GeneralizationEditPart.VISUAL_ID); view.setType(semanticHint); } super.decorateView(containerView, vi... | 1,120,092 |
public BwFreeBusy getFreeBusy(CalSvcI svci, String user) throws WebdavException { try { BwFreeBusy fb = svci.getFreeBusy(null, new BwUser(user), timeRange.getStart(), timeRange.getEnd(), null, false); if (debug) { trace("G... | public BwFreeBusy getFreeBusy(CalSvcI svci, String account) throws WebdavException { try { BwFreeBusy fb = svci.getFreeBusy(null, new BwUser(user), timeRange.getStart(), timeRange.getEnd(), null, false); if (debug) { trace... | 1,120,093 |
public BwFreeBusy getFreeBusy(CalSvcI svci, String user) throws WebdavException { try { BwFreeBusy fb = svci.getFreeBusy(null, new BwUser(user), timeRange.getStart(), timeRange.getEnd(), null, false); if (debug) { trace("G... | public BwFreeBusy getFreeBusy(CalSvcI svci, String user) throws WebdavException { try { BwUser user = svci.findUser(account); if (user == null) { throw WebdavIntfException.unauthorized(); } BwFreeBusy fb = svci.getFreeBusy(null, user, timeRange.getStart(), timeRange.getEn... | 1,120,094 |
public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.implValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).meta_eval(ctx); } | public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.javaValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).meta_eval(ctx); } | 1,120,096 |
public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.implValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).meta_eval(ctx); } | public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.implValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).asStatement().meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).meta_eval(ctx); } | 1,120,097 |
public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.implValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).meta_eval(ctx); } | public ATObject meta_eval(ATContext ctx) { NATNumber siz = statements_.getLength().asNativeNumber(); int lastIdx = siz.implValue - 1; for (int i = 0; i < lastIdx; i++) { statements_.at(NATNumber.atValue(i)).meta_eval(ctx); } return statements_.at(NATNumber.atValue(lastIdx)).asStatement().meta_eval(ctx); } | 1,120,098 |
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) { ... | 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) && (this.ideaMa... | 1,120,099 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } if (getReqPar(reques... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } if (getReqPar(reques... | 1,120,100 |
private boolean validateAdminGroup(PEActionForm form) throws Throwable { boolean ok = true; CalSvcI svci = form.fetchSvci(); BwAdminGroup updAdminGroup = form.getUpdAdminGroup(); if (updAdminGroup == null) { // bogus call. return false; } /* We should see if somebody tried to change the na... | private boolean validateAdminGroup(PEActionForm form) throws Throwable { boolean ok = true; CalSvcI svci = form.fetchSvci(); BwAdminGroup updAdminGroup = form.getUpdAdminGroup(); if (updAdminGroup == null) { // bogus call. return false; } /* We should see if somebody tried to change the na... | 1,120,101 |
private boolean validateNewAdminGroup(PEActionForm form) throws Throwable { boolean ok = true; CalSvcI svci = form.fetchSvci(); BwAdminGroup updAdminGroup = form.getUpdAdminGroup(); if (updAdminGroup == null) { // bogus call. return false; } updAdminGroup.setAccount(Util.checkNull(updAdmin... | private boolean validateNewAdminGroup(PEActionForm form) throws Throwable { boolean ok = true; CalSvcI svci = form.fetchSvci(); BwAdminGroup updAdminGroup = form.getUpdAdminGroup(); if (updAdminGroup == null) { // bogus call. return false; } updAdminGroup.setAccount(Util.checkNull(updAdmin... | 1,120,102 |
boolean accessible(BwShareableDbentity ent, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { if (ent == null) { return false; } if ((authUser != null) && superUser) { // Nobody can stop us - BWAAA HAA HAA return true; } if (debug) { String c... | boolean accessible(BwShareableDbentity ent, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { if (ent == null) { return false; } if ((authUser != null) && superUser) { // Nobody can stop us - BWAAA HAA HAA return true; } if (debug) { String c... | 1,120,103 |
public static void main(String[] args) { junit.swingui.TestRunner.run(TestEval.class); /*Test test= new SymbiosisTest() { public void runTest() { testAT2JavaConversion(); } }; junit.textui.TestRunner.run(test);*/ } | public static void main(String[] args) { junit.swingui.TestRunner.run(TestEval.class); /*Test test= new SymbiosisTest() { public void runTest() { testAT2JavaConversion(); } }; junit.textui.TestRunner.run(test);*/ } | 1,120,104 |
protected void processDoc(HttpServletRequest req, Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); if (!nodeMatches(root, CaldavTags.mkcalendar)) { throw new WebdavBadRequest(); } Collec... | protected void processDoc(HttpServletRequest req, Document doc) throws WebdavException { try { Element root = doc.getDocumentElement(); if (!nodeMatches(root, CaldavTags.mkcalendar)) { throw new WebdavBadRequest(); } Collection setRemoveList = processUpda... | 1,120,105 |
protected void processDoc(HttpServletRequest req, Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); if (!nodeMatches(root, CaldavTags.mkcalendar)) { throw new WebdavBadRequest(); } Collec... | protected void processDoc(HttpServletRequest req, Document doc) throws WebdavException { try { WebdavNsIntf intf = getNsIntf(); Element root = doc.getDocumentElement(); if (!nodeMatches(root, CaldavTags.mkcalendar)) { throw new WebdavBadRequest(); } Collec... | 1,120,106 |
public void ideaChanged(IdeaEvent fe) { String cmd = fe.getCommand(); if ("ADDED".equals(cmd)) { Idea subIdea = (Idea)fe.getParas()[0]; add(new IdeaView(subIdea)); } else if ("REMOVED".equals(cmd)) { Idea subIdea = (Idea)fe.getParas()[0]; for (int i =... | public void ideaChanged(IdeaEvent fe) { String cmd = fe.getCommand(); if ("ADDED".equals(cmd)) { Idea subIdea = (Idea)fe.getParas()[0]; IdeaView subIdeaView = new IdeaView(subIdea, false); double maxAngle = getMaxSubAngle(); subIdeaView.setAngle((maxAngle + Math.PI) / 2.0); add(s... | 1,120,107 |
public static void main(String[] args) throws FissuresException, IOException, SeedFormatException, SQLException, NotFound { BasicConfigurator.configure(); Properties props = Initializer.loadProperties(args); ConnectionCreator connCreator = new ConnectionCreator(props); Connect... | public static void main(String[] args) throws FissuresException, IOException, SeedFormatException, SQLException, NotFound { BasicConfigurator.configure(); Properties props = Initializer.loadProperties(args); ConnectionCreator connCreator = new ConnectionCreator(props); Connect... | 1,120,108 |
private static boolean readEntireDirectory(String baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFile... | private static boolean readEntireDirectory(File baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFiles ... | 1,120,109 |
private static boolean readEntireDirectory(String baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFile... | private static boolean readEntireDirectory(String baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFile... | 1,120,110 |
private static boolean readEntireDirectory(String baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFile... | private static boolean readEntireDirectory(String baseDirectory, boolean verbose, Connection conn, NCFile ncFile, JDBCSeismogramFile... | 1,120,111 |
protected EventInfo findEvent(HttpServletRequest request, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); EventInfo ev = null; BwSubscription sub = null; int subid = getIntReqPar(request, "subid", -1); if (subid >= 0) { sub = svci.getSubscr... | protected EventInfo findEvent(HttpServletRequest request, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); EventInfo ev = null; BwSubscription sub = null; int subid = getIntReqPar(request, "subid", -1); if (subid >= 0) { sub = svci.getSubscr... | 1,120,115 |
protected EventInfo findEvent(HttpServletRequest request, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); EventInfo ev = null; BwSubscription sub = null; int subid = getIntReqPar(request, "subid", -1); if (subid >= 0) { sub = svci.getSubscr... | protected EventInfo findEvent(HttpServletRequest request, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); EventInfo ev = null; BwSubscription sub = null; int subid = getIntReqPar(request, "subid", -1); if (subid >= 0) { sub = svci.getSubscr... | 1,120,116 |
public void updateCalendar(BwCalendar val) throws CalFacadeException { access.checkAccess(val, privWrite, false); getSess().update(val); } | public void updateCalendar(BwCalendar val) throws CalFacadeException { access.checkAccess(val, privWriteProperties, false); val = (BwCalendar)getSess().merge(val); getSess().update(val); } | 1,120,117 |
protected String checkGroup(HttpServletRequest request, BwActionFormBase form, boolean initCheck) throws Throwable { if (form.getGroupSet()) { return null; } CalSvcI svci = form.fetchSvci(); try { Groups adgrps = svci.getGroups(); if... | protected String checkGroup(HttpServletRequest request, BwActionFormBase form, boolean initCheck) throws Throwable { if (form.getGroupSet()) { return null; } CalSvcI svci = form.fetchSvci(); try { Groups adgrps = svci.getGroups(); if... | 1,120,118 |
private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... | private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... | 1,120,119 |
private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... | private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... | 1,120,120 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /* Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar !... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /* Check access */ if (!form.getUserAuth().isSuperUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar !... | 1,120,122 |
private Collection getEvents(boolean alertEvent, PEActionForm form) throws Throwable { BwFilter filter = null; if (alertEvent) { /* XXX create a filter which filters on the appropriate field - or alternatively switch to a specific calendar. */ } BwDateTime fromDate = null; i... | private Collection getEvents(boolean alertEvent, PEActionForm form) throws Throwable { if (alertEvent) { /* XXX create a filter which filters on the appropriate field - or alternatively switch to a specific calendar. */ } BwDateTime fromDate = null; if (!form.getListAllEven... | 1,120,123 |
private Collection getEvents(boolean alertEvent, PEActionForm form) throws Throwable { BwFilter filter = null; if (alertEvent) { /* XXX create a filter which filters on the appropriate field - or alternatively switch to a specific calendar. */ } BwDateTime fromDate = null; i... | private Collection getEvents(boolean alertEvent, PEActionForm form) throws Throwable { BwFilter filter = null; if (alertEvent) { /* XXX create a filter which filters on the appropriate field - or alternatively switch to a specific calendar. */ } BwDateTime fromDate = null; i... | 1,120,124 |
private void initPoints() { IdeaLink link = getLink(); BranchView fromBranch = (BranchView) getRootView().getViewFor( link.getFrom()); BranchView branch = (BranchView) getRootView().getViewFor(link.getTo()); Point2D start0 = fromBranch.getFromPoint(); Point2D end0 =... | private void initPoints() { IdeaLink link = getLink(); BranchView fromBranch = (BranchView) getRootView().getViewFor( link.getFrom()); IdeaView toView = getRootView().getViewFor(link.getTo()); if (!(toView instanceof BranchView)) { return; } BranchView branch = (BranchView) toVie... | 1,120,125 |
public Object merge(Object one, Object two) { LocalSeismogramImpl seis = (LocalSeismogramImpl)one; LocalSeismogramImpl seis2 = (LocalSeismogramImpl)two; MicroSecondTimeRange fullRange = new MicroSecondTimeRange(toMSTR(seis), ... | public Object merge(Object one, Object two) { LocalSeismogramImpl seis = (LocalSeismogramImpl)one; LocalSeismogramImpl seis2 = (LocalSeismogramImpl)two; MicroSecondTimeRange fullRange = new MicroSecondTimeRange(toMSTR(seis), ... | 1,120,126 |
public Object merge(Object one, Object two) { LocalSeismogramImpl seis = (LocalSeismogramImpl)one; LocalSeismogramImpl seis2 = (LocalSeismogramImpl)two; MicroSecondTimeRange fullRange = new MicroSecondTimeRange(toMSTR(seis), ... | public Object merge(Object one, Object two) { LocalSeismogramImpl seis = (LocalSeismogramImpl)one; LocalSeismogramImpl seis2 = (LocalSeismogramImpl)two; MicroSecondTimeRange fullRange = new MicroSecondTimeRange(toMSTR(seis), ... | 1,120,127 |
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } } | public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } } | 1,120,128 |
public synchronized void playNext() { synchronized (this) { playingIndex++; if (playingIndex >= list.size()) { playingIndex %= list.size(); } } play(playingIndex); } | public void playNext() { synchronized (this) { playingIndex++; if (playingIndex >= list.size()) { playingIndex %= list.size(); } } play(playingIndex); } | 1,120,131 |
public synchronized void playRandom() { synchronized (this) { if (list.size() == 0) { return; } else if (list.size() > 1) { int newIndex; do { newIndex = ((int)(Math.random() * list.size())) % list.size(); } while (newIndex == playingIndex); playingIndex = newIndex; } play(playingIndex); }... | public void playRandom() { synchronized (this) { if (list.size() == 0) { return; } else if (list.size() > 1) { int newIndex; do { newIndex = ((int)(Math.random() * list.size())) % list.size(); } while (newIndex == playingIndex); playingIndex = newIndex; } play(playingIndex); } } | 1,120,132 |
public synchronized void playRandom() { synchronized (this) { if (list.size() == 0) { return; } else if (list.size() > 1) { int newIndex; do { newIndex = ((int)(Math.random() * list.size())) % list.size(); } while (newIndex == playingIndex); playingIndex = newIndex; } play(playingIndex); }... | public synchronized void playRandom() { synchronized (this) { if (list.size() == 0) { return; } else if (list.size() > 1) { int newIndex; do { newIndex = ((int)(Math.random() * list.size())) % list.size(); } while (newIndex == playingIndex); playingIndex = newIndex; } } } | 1,120,133 |
private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; } else{ if(getParentViewHandler()!=null){ return getParentViewHandler(); } else{ //return cre... | private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; } else{ if(getParentViewHandler()!=null){ return getParentViewHandler(); } else{ //return cre... | 1,120,135 |
private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; } else{ if(getParentViewHandler()!=null){ return getParentViewHandler(); } else{ //return cre... | private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; } if(getParentViewHandler()!=null){ return getParentViewHandler(); } //return createView(ct... | 1,120,136 |
private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; } else{ if(getParentViewHandler()!=null){ return getParentViewHandler(); } else{ //return cre... | private ViewHandler getViewHandlerForContext(FacesContext ctx) { String url = getRequestUrl(ctx); ViewHandler viewHandler = getViewHandlerForUrl(url,ctx); if(viewHandler!=null){ return viewHandler; else{ if(getParentViewHandler()!=null){ return getParentViewHandler(); else{ //return creat... | 1,120,137 |
private boolean validateEventCategory(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { int id = form.retrieveCategoryId().getVal(); if (id <= 0) { if (form.getEnv().getAppBoolProperty("app.categoryOptional")) { return... | private boolean validateEventCategory(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { int id = form.retrieveCategoryId().getVal(); if (id <= 0) { if (form.getEnv().getAppBoolProperty("categoryOptional")) { return tru... | 1,120,140 |
private ModuleLoader(URL url) { super(new URL[] { url }); this.url = url; } | private ModuleLoader(URL url) { super(new URL[] { url }, ModuleLoader.class.getClassLoader()); this.url = url; } | 1,120,141 |
public void unEdit() { requestFocusInWindow(); IdeaView ideaView = getSelectedView(); if (ideaView != null) { ideaView.getIdea().setText(text.getText()); ideaView.setEditing(false); } text.select(0, 0); text.setEnabled(false); ticker.stop(); ... | public void unEdit() { requestFocusInWindow(); IdeaView ideaView = getSelectedView(); if ((ideaView != null) && (ideaView.isEditing())) { ideaView.getIdea().setText(text.getText()); ideaView.setEditing(false); } text.select(0, 0); text.setEnabled(false... | 1,120,142 |
public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalSuite"); sess.setEntity("name", name); sess.cacheableQuery(); BwCalSuite cs = (BwCalSuite)sess.getUnique(); CurrentAccess ca = checkAccess(cs, PrivilegeDefs.privAny, fals... | public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { BwCalSuite cs = fetchCalSuite(getSess(), name); sess.namedQuery("getCalSuite"); sess.setEntity("name", name); sess.cacheableQuery(); BwCalSuite cs = (BwCalSuite)sess.getUnique(); CurrentAccess ca = checkAccess(cs, Privileg... | 1,120,143 |
public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalSuite"); sess.setEntity("name", name); sess.cacheableQuery(); BwCalSuite cs = (BwCalSuite)sess.getUnique(); CurrentAccess ca = checkAccess(cs, PrivilegeDefs.privAny, fals... | public BwCalSuiteWrapper getCalSuite(String name) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalSuite"); sess.setEntity("name", name); sess.cacheableQuery(); BwCalSuite cs = (BwCalSuite)sess.getUnique(); CurrentAccess ca = checkAccess(cs, PrivilegeDefs.privAny, fals... | 1,120,144 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new StructuredActivityN... | 1,120,145 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,146 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,147 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,148 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,149 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,150 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,151 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,152 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,153 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,154 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,155 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,156 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,157 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,158 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,159 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.StructuredActivityNode_3009 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getStructuredActivityNode_Node()); } return getMSLWrapper(new CreateStructuredAct... | 1,120,160 |
public EventDates getEventDates() { if (eventDates == null) { eventDates = new EventDates(fetchSvci(), getCalInfo(), hour24, minIncrement, err, debug); } return eventDates; } | public EventDates getEventDates() { if (eventDates == null) { eventDates = new EventDates(fetchSvci(), getCalInfo(), config.getHour24(), config.getMinIncrement(), err, debug); } return eventDates; } | 1,120,161 |
public TPosAuthorisationEntriesBean findByAuthorisationIdRsp(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((TPosAuthorisationEntriesBeanBMPBean)entity).ejbFindByAuthorisationIdRsp(p0); this.idoCheckInPooledEntity(entity); return this... | public TPosAuthorisationEntriesBean findByAuthorisationIdRsp(java.lang.String p0, IWTimestamp stamp)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((TPosAuthorisationEntriesBeanBMPBean)entity).ejbFindByAuthorisationIdRsp(p0); this.idoCheckInPooledEntity(e... | 1,120,162 |
public TPosAuthorisationEntriesBean findByAuthorisationIdRsp(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((TPosAuthorisationEntriesBeanBMPBean)entity).ejbFindByAuthorisationIdRsp(p0); this.idoCheckInPooledEntity(entity); return this... | public TPosAuthorisationEntriesBean findByAuthorisationIdRsp(java.lang.String p0)throws javax.ejb.FinderException{ com.idega.data.IDOEntity entity = this.idoCheckOutPooledEntity(); Object pk = ((TPosAuthorisationEntriesBeanBMPBean)entity).ejbFindByAuthorisationIdRsp(p0, stamp); this.idoCheckInPooledEntity(entity); retu... | 1,120,163 |
public ATNil meta_assignField(ATSymbol selector, ATObject value) throws NATException { throw new XUndefinedField("field assignment", selector.getText().asNativeText().javaValue); } | public ATNil meta_assignField(ATSymbol selector, ATObject value) throws NATException { throw new XUndefinedField("field assignment", selector.base_getText().asNativeText().javaValue); } | 1,120,164 |
public void setUp() throws Exception { original = new NATObject(); original.meta_addMethod( new NATMethod(AGSymbol.alloc("defaultMethod"), NATTable.EMPTY, null) { public ATObject base_apply(ATTable arguments, ATContext ctx) throws InterpreterException { throw new TestException("Application of this meth... | public void setUp() throws Exception { original = new NATObject(); original.meta_addMethod( new NATMethod(AGSymbol.jAlloc("defaultMethod"), NATTable.EMPTY, null) { public ATObject base_apply(ATTable arguments, ATContext ctx) throws InterpreterException { throw new TestException("Application of this met... | 1,120,165 |
public void testisCloneOf() throws Exception { ATObject clone = original.meta_clone(); original.meta_isCloneOf(clone).base_ifFalse_( new NativeClosure(clone) { public ATObject base_apply(ATTable arguments) throws InterpreterException { fail("Cloning is not properly defined under the isCloneOf test.")... | public void testisCloneOf() throws Exception { ATObject clone = original.meta_clone(); original.meta_isCloneOf(clone).base_ifFalse_( new NativeClosure(clone) { public ATObject base_apply(ATTable arguments) throws InterpreterException { fail("Cloning is not properly defined under the isCloneOf test.")... | 1,120,166 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.