rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
projectVersion = projectVersion.replace('*','%'); | private UMLClassMetadata populateClassFromForm(DynaActionForm dynaForm) { UMLClassMetadata umlClass = null; Project project = null; String className = ((String) dynaForm.get("className")).trim(); if (className != null && className.length() >0) { umlClass = new UMLClassMetadata(); ... | |
Object[] attArr = umlAttributes.toArray(); anAttribute=(UMLAttributeMetadata)attArr[0]; | anAttribute=(UMLAttributeMetadata)umlAttributes.iterator().next(); | private void setupSessionForAttributeResults(Collection<UMLAttributeMetadata> umlAttributes, HttpServletRequest request){ setSessionObject(request, UMLBrowserFormConstants.CLASS_VIEW, false, true); setSessionObject(request, UMLBrowserFormConstants.CLASS_ATTRIBUTES, umlAttributes,true); PaginationBea... |
if ((tzinfo != null) && (tzinfo.vtz != null)) { return tzinfo.vtz; | if ((tzinfo != null) && (tzinfo.getVtz() != null)) { return tzinfo.getVtz(); | public VTimeZone findTimeZone(final String id, BwUser owner) throws CalFacadeException { if (debug) { trace("find timezone with id " + id + " for owner " + owner); } TimezoneInfo tzinfo = lookup(id); if ((tzinfo != null) && (tzinfo.vtz != null)) { return tzinfo.vtz; } VTimeZone vTimeZone =... |
tzinfo = new TimezoneInfo(); tzinfo.vtz = vTimeZone; tzinfo.tz = new TimeZone(vTimeZone); | tzinfo = new TimezoneInfo(new TimeZone(vTimeZone), vTimeZone); | public VTimeZone findTimeZone(final String id, BwUser owner) throws CalFacadeException { if (debug) { trace("find timezone with id " + id + " for owner " + owner); } TimezoneInfo tzinfo = lookup(id); if ((tzinfo != null) && (tzinfo.vtz != null)) { return tzinfo.vtz; } VTimeZone vTimeZone =... |
tzinfo = new TimezoneInfo(); tzinfo.vtz = vTimeZone; tzinfo.tz = new TimeZone(vTimeZone); | tzinfo = new TimezoneInfo(new TimeZone(vTimeZone), vTimeZone); | public TimeZone getTimeZone(final String id) throws CalFacadeException { if ((defaultTimeZone != null) && id.equals(defaultTimeZoneId)) { return defaultTimeZone; } stats.incTzFetches(); TimezoneInfo tzinfo = lookup(id); if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); ... |
if (tzinfo.publick) { | if (tzinfo.getPublick()) { | public TimeZone getTimeZone(final String id) throws CalFacadeException { if ((defaultTimeZone != null) && id.equals(defaultTimeZoneId)) { return defaultTimeZone; } stats.incTzFetches(); TimezoneInfo tzinfo = lookup(id); if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); ... |
defaultTimeZone = tzinfo.tz; | defaultTimeZone = tzinfo.getTz(); | public TimeZone getTimeZone(final String id) throws CalFacadeException { if ((defaultTimeZone != null) && id.equals(defaultTimeZoneId)) { return defaultTimeZone; } stats.incTzFetches(); TimezoneInfo tzinfo = lookup(id); if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); ... |
return tzinfo.tz; | return tzinfo.getTz(); | public TimeZone getTimeZone(final String id) throws CalFacadeException { if ((defaultTimeZone != null) && id.equals(defaultTimeZoneId)) { return defaultTimeZone; } stats.incTzFetches(); TimezoneInfo tzinfo = lookup(id); if (tzinfo == null) { VTimeZone vTimeZone = cal.getTimeZone(id, null); ... |
tzinfo = new TimezoneInfo(); tzinfo.vtz = vtz; tzinfo.tz = new TimeZone(vtz); | tzinfo = new TimezoneInfo(new TimeZone(vtz), vtz, true); | private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.iterato... |
if (tzinfo != null) { tzinfo.publick = true; } else { | if (tzinfo == null) { | private TimezoneInfo lookup(String id) throws CalFacadeException { TimezoneInfo tzinfo; if (!systemTimezonesInitialised) { // First call (after reinit) synchronized (this) { if (!systemTimezonesInitialised) { Collection tzs = cal.getPublicTimeZones(); Iterator it = tzs.iterato... |
tzinfo = new TimezoneInfo(); | tzinfo = new TimezoneInfo(tz, vtz); timezones.put(tzid, tzinfo); } else { tzinfo.init(tz, vtz); | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { cal.saveTimeZone(tzid, vtz); stats.incTzStores(); /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ if (publicAdmin) { return; } Tim... |
tzinfo.vtz = vtz; tzinfo.tz = new TimeZone(vtz); timezones.put(tzid, tzinfo); | public void saveTimeZone(String tzid, VTimeZone vtz) throws CalFacadeException { cal.saveTimeZone(tzid, vtz); stats.incTzStores(); /* For a user update the map to avoid a refetch. For system timezones we will force a refresh when we're done. */ if (publicAdmin) { return; } Tim... | |
if (!form.getNewSession()) { | if (form.getNewSession()) { | public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm... |
for (priv = 0; priv < AccessUtil.privTags.length; priv++) { if (MethodBase.nodeMatches(el, AccessUtil.privTags[priv])) { | for (priv = 0; priv < AccessAppUtil.privTags.length; priv++) { if (MethodBase.nodeMatches(el, AccessAppUtil.privTags[priv])) { | public void parsePrivilege(AclInfo ainfo, Node nd, boolean grant) throws WebdavIntfException { CdAclInfo info = (CdAclInfo)ainfo; if (!grant) { // There's probably a way to block this throw WebdavIntfException.badRequest(); } Element el = getOnlyChild(nd); int priv... |
String id = (String)table.getModel().getValueAt(selected[i], 1); | String id = (String)table.getModel().getValueAt(selected[i], 2); | public TablePanel() { super(new GridLayout(1, 0)); table.getColumnModel().getColumn(0).setPreferredWidth(10); table.getColumnModel().getColumn(1).setPreferredWidth(150); table.getColumnModel().getColumn(2).setPreferredWidth(150); table.getColumnModel().getColumn(3).setPreferredWidth(10); table.getColumnMo... |
String id = (String)table.getModel().getValueAt(selected[i], 1); | String id = (String)table.getModel().getValueAt(selected[i], 2); | public void actionPerformed(ActionEvent e) { int[] selected = table.getSelectedRows(); for (int i = selected.length - 1; i >= 0; i--) { String id = (String)table.getModel().getValueAt(selected[i], 1); ModuleLoader.unload(id); } } |
String id = (String)table.getModel().getValueAt(selected[i], 1); | String id = (String)table.getModel().getValueAt(selected[i], 2); | public JPanel getButtonPanel() { JPanel p = new JPanel(new GridLayout(0, 3)); JButton remove = new JButton(Messages.getString("ModuleConfigurationPanel.REMOVE")); //$NON-NLS-1$ remove.setToolTipText(Messages.getString("ModuleConfigurationPanel.REMOVE_TOOLTIP")); //$NON-NLS-1$ remove.addActionListener(new ActionLis... |
String id = (String)table.getModel().getValueAt(selected[i], 1); | String id = (String)table.getModel().getValueAt(selected[i], 2); | public void actionPerformed(ActionEvent e) { JTable table = tablePanel.getTable(); int[] selected = table.getSelectedRows(); for (int i = selected.length - 1; i >= 0; i--) { String id = (String)table.getModel().getValueAt(selected[i], 1); ModuleLoader.unload(id); } } |
Graphics2D g2 = (Graphics2D)g; Iterator e = plotters.iterator(); Rectangle2D.Float stringBounds = new Rectangle2D.Float(); stringBounds.setRect(g2.getFontMetrics().getStringBounds("test", g2)); int i = 0; while(e.hasNext()){ Plotter current = (Plotter)e.next(); current.draw(g2, displaySize, currentTimeEvent, currentAmp... | Graphics2D g2 = (Graphics2D)g; Iterator e = plotters.iterator(); Rectangle2D.Float stringBounds = new Rectangle2D.Float(); stringBounds.setRect(g2.getFontMetrics().getStringBounds("test", g2)); int i = 0; while(e.hasNext()){ Plotter current = (Plotter)e.next(); current.draw(g2, displaySize, currentTimeEvent, currentAmp... | public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D)g; Iterator e = plotters.iterator(); Rectangle2D.Float stringBounds = new Rectangle2D.Float(); stringBounds.setRect(g2.getFontMetrics().getStringBounds("test", g2)); int i = 0; while(e.hasNext()){ Plotter current = (Plotter)e.... |
} } | public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D)g; Iterator e = plotters.iterator(); Rectangle2D.Float stringBounds = new Rectangle2D.Float(); stringBounds.setRect(g2.getFontMetrics().getStringBounds("test", g2)); int i = 0; while(e.hasNext()){ Plotter current = (Plotter)e.... | |
registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[(seismograms.size() -1) % seisColors.length]); }else { newPlotter = new SeismogramShape(seismos[i], C... | registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[(seismograms.size() -1) % seisColors.length]); }else { newPlotter = new SeismogramShape(seismos[i], C... | public void add(DataSetSeismogram[] seismos){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[(seismograms.size() -1) % s... |
plotters.add(newPlotter); } } Iterator e = globalFilters.iterator(); while(e.hasNext()){ applyFilter((ColoredFilter)e.next()); } seismogramArray = null; | Iterator e = globalFilters.iterator(); while(e.hasNext()){ applyFilter((ColoredFilter)e.next()); } seismogramArray = null; | public void add(DataSetSeismogram[] seismos){ registrar.add(seismos); for(int i = 0; i < seismos.length; i++){ if(seismos[i] != null){ seismograms.add(seismos[i]); SeismogramShape newPlotter; if (autoColor) { newPlotter = new SeismogramShape(seismos[i], seisColors[(seismograms.size() -1) % s... |
DataSetSeismogram[] seismos = new DataSetSeismogram[seismograms.size()]; int i = 0; if(filters.contains(filter)){ LinkedList filterShapes = new LinkedList(); Iterator e = new PlotterIterator(FilteredSeismogramShape.class); while(e.hasNext()){ logger.debug("contains filter"); FilteredSeismogramShape current = ((Filtered... | DataSetSeismogram[] seismos = new DataSetSeismogram[seismograms.size()]; int i = 0; if(filters.contains(filter)){ LinkedList filterShapes = new LinkedList(); Iterator e = new PlotterIterator(FilteredSeismogramShape.class); while(e.hasNext()){ logger.debug("contains filter"); FilteredSeismogramShape current = ((Filtered... | public void applyFilter(ColoredFilter filter){ DataSetSeismogram[] seismos = new DataSetSeismogram[seismograms.size()]; int i = 0; if(filters.contains(filter)){ LinkedList filterShapes = new LinkedList(); Iterator e = new PlotterIterator(FilteredSeismogramShape.class); while(e.hasNext()){ logger.debug(... |
} plotters.addAll(filterShapes); }else{ filters.add(filter); Iterator e = seismograms.iterator(); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); FilteredSeismogramShape filteredShape = new FilteredSeismogramShape(filter, current); seismos[i] = filteredShape.getFilteredSeismogram(); plotter... | if (filter.getVisibility()) { registrar.add(seismos); }else { registrar.remove(seismos); } repaint(); | public void applyFilter(ColoredFilter filter){ DataSetSeismogram[] seismos = new DataSetSeismogram[seismograms.size()]; int i = 0; if(filters.contains(filter)){ LinkedList filterShapes = new LinkedList(); Iterator e = new PlotterIterator(FilteredSeismogramShape.class); while(e.hasNext()){ logger.debug(... |
public String[] getNames(){ if(seismogramNames == null || seismogramArray == null){ getSeismograms(); seismogramNames = new String[seismogramArray.length]; for(int i = 0; i < seismogramArray.length; i++){ Iterator e = new PlotterIterator(SeismogramShape.class); while(e.hasNext()){ SeismogramShape current = (SeismogramS... | public String[] getNames(){ if(seismogramNames == null || seismogramArray == null){ getSeismograms(); seismogramNames = new String[seismogramArray.length]; for(int i = 0; i < seismogramArray.length; i++){ Iterator e = new PlotterIterator(SeismogramShape.class); while(e.hasNext()){ SeismogramShape current = (SeismogramS... | public String[] getNames(){ if(seismogramNames == null || seismogramArray == null){ getSeismograms(); seismogramNames = new String[seismogramArray.length]; for(int i = 0; i < seismogramArray.length; i++){ Iterator e = new PlotterIterator(SeismogramShape.class); while(e.hasNext()){ SeismogramShap... |
} } return seismogramNames; | return seismogramNames; | public String[] getNames(){ if(seismogramNames == null || seismogramArray == null){ getSeismograms(); seismogramNames = new String[seismogramArray.length]; for(int i = 0; i < seismogramArray.length; i++){ Iterator e = new PlotterIterator(SeismogramShape.class); while(e.hasNext()){ SeismogramShap... |
for(int i = 0; i < seismos.length; i++){ if(seismograms.contains(seismos[i])){ seismograms.remove(seismos[i]); PlotterIterator it = new PlotterIterator(SeismogramShape.class); while(it.hasNext()){ SeismogramShape current = (SeismogramShape)it.next(); if(current.getSeismogram() == seismos[i]){ plotters.remove(current); ... | for(int i = 0; i < seismos.length; i++){ if(seismograms.contains(seismos[i])){ seismograms.remove(seismos[i]); PlotterIterator it = new PlotterIterator(SeismogramShape.class); while(it.hasNext()){ SeismogramShape current = (SeismogramShape)it.next(); if(current.getSeismogram() == seismos[i]){ plotters.remove(current); ... | public void remove(DataSetSeismogram[] seismos){ for(int i = 0; i < seismos.length; i++){ if(seismograms.contains(seismos[i])){ seismograms.remove(seismos[i]); PlotterIterator it = new PlotterIterator(SeismogramShape.class); while(it.hasNext()){ SeismogramShape current = (SeismogramShape)it.next(); ... |
} } registrar.remove(seismos); | registrar.remove(seismos); | public void remove(DataSetSeismogram[] seismos){ for(int i = 0; i < seismos.length; i++){ if(seismograms.contains(seismos[i])){ seismograms.remove(seismos[i]); PlotterIterator it = new PlotterIterator(SeismogramShape.class); while(it.hasNext()){ SeismogramShape current = (SeismogramShape)it.next(); ... |
if (!form.validateEvent()) { | if (!validateEvent(form)) { | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.getUserAuth().isAlertUser()) { ... |
if (httpManager == null) { httpManager = new HttpManager("org.bedework.http.client.caldav.CaldavClient"); } HostConfiguration config = new HostConfiguration(); config.setHost(host, port); client = (CaldavClient)httpManager.getClient(config); this.debug = debug; | this(host, port, false, debug); | public CaldavClientIo(String host, int port, boolean debug) throws Throwable { if (httpManager == null) { httpManager = new HttpManager("org.bedework.http.client.caldav.CaldavClient"); } HostConfiguration config = new HostConfiguration(); config.setHost(host, port); client = (CaldavClient)httpMana... |
ATObject mirrors = new NATObject(lexicalRoot); mirrors.meta_defineField(AGSymbol.jAlloc("Factory"), NATMirrorFactory._INSTANCE_); | protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.jAlloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.jAlloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.jAlloc("echo:"), echo_); lexicalRoot.meta_defineFi... | |
ATObject natives = new NATObject(lexicalRoot); natives.meta_defineField(AGSymbol.jAlloc("Context"), NATMirrorFactory._INSTANCE_); | protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.jAlloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.jAlloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.jAlloc("echo:"), echo_); lexicalRoot.meta_defineFi... | |
ATObject at = new NATObject(lexicalRoot); at.meta_defineField(AGSymbol.jAlloc("mirrors"), mirrors); at.meta_defineField(AGSymbol.jAlloc("natives"), natives); | protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.jAlloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.jAlloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.jAlloc("echo:"), echo_); lexicalRoot.meta_defineFi... | |
lexicalRoot.meta_defineField(AGSymbol.jAlloc("at"), at); | protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.jAlloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.jAlloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.jAlloc("echo:"), echo_); lexicalRoot.meta_defineFi... | |
((Element)children.item(i)).getElementsByTagName("value").item(0)); | ((Element)children.item(i)).getElementsByTagName("value").item(0).getFirstChild()); | public static URLDataSetSeismogram getURLDataSetSeismogram(URL base, Element element) throws UnsupportedFileTypeException { String name = XMLUtil.getText(XMLUtil.getElement(element, "name")); RequestFilter request = XMLRequestFilter.getRequ... |
public void setStartTime(String v) { byte[] startTimeBytes = new byte[10]; try{ byte[] vBytes = v.getBytes("ASCII"); if(vBytes.length < 10) { startTimeBytes = Utility.pad(v.getBytes("ASCII"),10, (byte)0); } }catch( java.io.UnsupportedEncodingException e) { e.printStackTrace(); } this.startTime = startTimeBytes; | public void setStartTime(MicroSecondDate date) { Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("UTC")); cal.setTime(date); Btime btime = new Btime(); btime.tenthMilli = (int)Math.round(((date.getTime()*1000+date.getMicroSeconds()) % 1000000) / 100.0); btime.year = cal.get(cal.YEAR); btime.jday = cal.get(cal... | public void setStartTime(String v) { byte[] startTimeBytes = new byte[10]; try{ byte[] vBytes = v.getBytes("ASCII"); if(vBytes.length < 10) { startTimeBytes = Utility.pad(v.getBytes("ASCII"),10, (byte)0); } }catch( java.io.UnsupportedEncodingExcepti... |
setDocument(new IdeaDocument()); selectIdea(this.getSelectedView().getIdea()); | public IdeaMap() { text = new JTextField(""); setLayout(new BorderLayout()); add(text, BorderLayout.NORTH); controller = new IdeaMapController(this); setBackground(DEFAULT_BACKGROUND); JLayeredPane mapArea = new JLayeredPane(); mapArea.setBackground(new Color(0, 0, 0... | |
selectIdea(newIdea); | public void setDocument(IdeaDocument newDocument) { if (this.document != null) { this.document.removePropertyChangeListener(this.controller); } this.document = newDocument; if (this.document != null) { this.document.addPropertyChangeListener(this.controller); ... | |
form.getErr().emit("org.bedework.error.mail.norecipient", 1); | form.getErr().emit("org.bedework.client.error.mail.norecipient", 1); | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { BwEvent ev = form.retrieveCurrentEvent(); if (ev == null) { return "noevent"; } CalSvcI svci = form.getCalSvcI(); BwEventAlarm alarm = new BwEventAlarm(); Trigger tr; //boolean tr... |
form.getMsg().emit("org.bedework.message.eventalarmset"); | form.getMsg().emit("org.bedework.client.message.eventalarmset"); | public String doAction(HttpServletRequest request, BwActionForm form) throws Throwable { BwEvent ev = form.retrieveCurrentEvent(); if (ev == null) { return "noevent"; } CalSvcI svci = form.getCalSvcI(); BwEventAlarm alarm = new BwEventAlarm(); Trigger tr; //boolean tr... |
assertEquals("New idea should give length of 15 * text length + 10", 15.0 * 4 + 10, | assertEquals("New idea should give length of 10 * text length + 20", 10.0 * 4 + 20, | public void testGetSetLength() { IdeaView ideaView = new IdeaView(); assertEquals("Length should be zero if no idea", 0.0, ideaView.getLength(), 0.0000001); ideaView.setLength(100.0); assertEquals("Should allow me to set length", 100.0, ideaView.getL... |
assertTrue("bad cols", result.contains(" cols=\"10\"")); | assertTrue("bad cols", result.contains(" cols=\"80\"")); | public void testDoEndTag() throws Exception { tag.setRows("10"); tag.setCols("80"); tag.setName("name"); tag.setStyleId("id"); tag.setValue("value"); tag.doEndTag(); String result = writer.getBuffer().toString(); assertTrue("bad tag name", result.contains("<textarea")); assertTrue("bad name", result.contains(... |
_reportFilePathsMap.put(SIMPLE_EXCEL_FORMAT, business.getSimpleExcelReport(((ReportableCollection) _dataSource), _reportName,_reportDescription)); | _reportFilePathsMap.put(SIMPLE_EXCEL_FORMAT, business.getSimpleExcelReport(((ReportableCollection) _dataSource).getJRDataSource(), _reportName,_reportDescription)); | private void generateReport() throws RemoteException, JRException { JasperReportBusiness business = getReportBusiness(); if(_dataSource != null){ if (doGenerateSomeJasperReport() && (_dataSource != null && _design != null)) { _reportDescription.put(DynamicReportDesign.PRM_REPORT_NAME, _reportName); Jaspe... |
if(data.x_coor[i] != oChunk.data.x_coor[i]) { System.out.println(i + " " + data.x_coor[i] + " " + oChunk.data.x_coor[i]); return false; } | if(data.x_coor[i] != oChunk.data.x_coor[i]) { return false; } | public boolean equals(Object o) { if(o == this) { return true; } else if(o instanceof PlottableChunk) { PlottableChunk oChunk = (PlottableChunk)o; if(ChannelIdUtil.areEqual(channel, oChunk.channel)) { if(samplesPerDay == oChunk.samplesPerDay) { ... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); | GridLayout layoutThis = new GridLayout(); | public ProfileFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 2; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = ... |
this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); this.setForegroundColor(org.eclipse.draw2d.ColorConstants.lightGray); | this.setLineStyle(Graphics.LINE_SOLID); this.setForegroundColor(ColorConstants.lightGray); | public ProfileFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 2; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = ... |
org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profile_leftTab0 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profile_leftTab0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); profile_leftTab0.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); profile_leftTab0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))... | profile_leftTab0.setLineStyle(Graphics.LINE_SOLID); profile_leftTab0.setPreferredSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); profile_leftTab0.setMinimumSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintProfile_leftTab0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintProfile_leftTab0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintProfile_leftTab0.horizontalAlignment = org.eclipse.gmf.i... | GridLayoutData constraintProfile_leftTab0 = new GridLayoutData(); constraintProfile_leftTab0.verticalAlignment = GridLayoutData.FILL; constraintProfile_leftTab0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.RectangleFigure profile_rightTab0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profile_rightTab0 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profile_rightTab0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); profile_rightTab0.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); profile_rightTab0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(2... | profile_rightTab0.setLineStyle(Graphics.LINE_SOLID); profile_rightTab0.setPreferredSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); profile_rightTab0.setMinimumSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintProfile_rightTab0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintProfile_rightTab0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintProfile_rightTab0.horizontalAlignment = org.eclipse.gm... | GridLayoutData constraintProfile_rightTab0 = new GridLayoutData(); constraintProfile_rightTab0.verticalAlignment = GridLayoutData.FILL; constraintProfile_rightTab0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.RectangleFigure profileFigure_body0 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profileFigure_body0 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profileFigure_body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); profileFigure_body0.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(1), getMapMode().DPtoLP(1), getMapMode().DPtoLP(1), getMapMode().DPtoLP(1))); | profileFigure_body0.setLineStyle(Graphics.LINE_SOLID); profileFigure_body0.setBorder(new MarginBorder(getMapMode().DPtoLP(1), getMapMode().DPtoLP(1), getMapMode().DPtoLP(1), getMapMode().DPtoLP(1))); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintProfileFigure_body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintProfileFigure_body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintProfileFigure_body0.horizontalAlignment = org.ecli... | GridLayoutData constraintProfileFigure_body0 = new GridLayoutData(); constraintProfileFigure_body0.verticalAlignment = GridLayoutData.FILL; constraintProfileFigure_body0.horizontalAlignment = GridLayoutData.FILL; | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.ToolbarLayout layoutProfileFigure_body0 = new org.eclipse.draw2d.ToolbarLayout(); | ToolbarLayout layoutProfileFigure_body0 = new ToolbarLayout(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
layoutProfileFigure_body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER | layoutProfileFigure_body0.setMinorAlignment(ToolbarLayout.ALIGN_CENTER | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.RectangleFigure profile_NameContainer1 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profile_NameContainer1 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profile_NameContainer1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); profile_NameContainer1.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | profile_NameContainer1.setLineStyle(Graphics.LINE_SOLID); profile_NameContainer1.setMinimumSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutProfile_NameContainer1 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); | CenterLayout layoutProfile_NameContainer1 = new CenterLayout(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel profileFigure_NameLabel2 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); | WrapLabel profileFigure_NameLabel2 = new WrapLabel(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.RectangleFigure profileFigure_ProfileContainer1 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profileFigure_ProfileContainer1 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profileFigure_ProfileContainer1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); profileFigure_ProfileContainer1.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | profileFigure_ProfileContainer1.setLineStyle(Graphics.LINE_SOLID); profileFigure_ProfileContainer1.setMinimumSize(new Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutProfileFigure_ProfileContainer1 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); | CenterLayout layoutProfileFigure_ProfileContainer1 = new CenterLayout(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel profile_ProfileLabel2 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); | WrapLabel profile_ProfileLabel2 = new WrapLabel(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
org.eclipse.draw2d.RectangleFigure profileFigure_ContentsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); | RectangleFigure profileFigure_ContentsCompartment1 = new RectangleFigure(); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
profileFigure_ContentsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); | profileFigure_ContentsCompartment1.setLineStyle(Graphics.LINE_SOLID); | private void createContents() { org.eclipse.draw2d.RectangleFigure profile_leftTab0 = new org.eclipse.draw2d.RectangleFigure(); profile_leftTab0.setFill(true); profile_leftTab0.setFillXOR(false); profile_leftTab0.setOutline(true); profile_leftTab0.setOutlineXOR(false); profile_leftTab0.setLineWidth(1); ... |
public org.eclipse.draw2d.RectangleFigure getFigureProfileFigure_ContentsCompartment() { | public RectangleFigure getFigureProfileFigure_ContentsCompartment() { | public org.eclipse.draw2d.RectangleFigure getFigureProfileFigure_ContentsCompartment() { return fProfileFigure_ContentsCompartment; } |
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureProfileFigure_NameLabel() { | public WrapLabel getFigureProfileFigure_NameLabel() { | public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureProfileFigure_NameLabel() { return fProfileFigure_NameLabel; } |
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureProfile_ProfileLabel() { | public WrapLabel getFigureProfile_ProfileLabel() { | public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureProfile_ProfileLabel() { return fProfile_ProfileLabel; } |
private void setFigureProfileFigure_ContentsCompartment(org.eclipse.draw2d.RectangleFigure fig) { | private void setFigureProfileFigure_ContentsCompartment(RectangleFigure fig) { | private void setFigureProfileFigure_ContentsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fProfileFigure_ContentsCompartment = fig; } |
private void setFigureProfileFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { | private void setFigureProfileFigure_NameLabel(WrapLabel fig) { | private void setFigureProfileFigure_NameLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fProfileFigure_NameLabel = fig; } |
private void setFigureProfile_ProfileLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { | private void setFigureProfile_ProfileLabel(WrapLabel fig) { | private void setFigureProfile_ProfileLabel(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fProfile_ProfileLabel = fig; } |
comp[1][j] = getMinValue(uncomp[1], startIndex, endIndex); comp[1][j+1] = (int)getMaxValue(uncomp[1], startIndex, endIndex); comp[0][j] = uncomp[0][endIndex]; comp[0][j+1] = uncomp[0][endIndex]; | if(xvalue != 0) { endIndex = uncomp[0].length - 1; comp[1][j] = getMinValue(uncomp[1], startIndex, endIndex); comp[1][j+1] = (int)getMaxValue(uncomp[1], startIndex, endIndex); comp[0][j] = uncomp[0][endIndex]; comp[0][j+1] = uncomp[0][endIndex]; } | protected static int[][] compressYvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size)throws UnsupportedDataEncoding { int[][] uncomp = scaleXvalues(seismogram, config, size); // enough points to take the extra time to compress the line int[][] comp = new int[... |
int tempValue; | int tempValue = 0; | protected static int[][] scaleXvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIndex = 0; int numAdded = 0; if ... |
out[1][numAdded] = tempYvalues[j-1]; out[1][numAdded+1] = tempYvalues[j-1]; | out[1][numAdded] = getMinValue(tempYvalues, 0, j-1); out[1][numAdded+1] = (int)getMaxValue(tempYvalues, 0, j-1); | protected static int[][] scaleXvalues(LocalSeismogram seismogram, TimePlotConfig config, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; int[][] out = new int[2][]; int seisIndex = 0; int pixelIndex = 0; int numAdded = 0; if ... |
TPosAuthorisationEntriesBean entry = authEntHome.findByAuthorisationIdRsp(authorizationCode); | TPosAuthorisationEntriesBean entry = authEntHome.findByAuthorisationIdRsp(authorizationCode, stamp); | public CreditCardAuthorizationEntry getAuthorizationEntry(Supplier supplier, String authorizationCode, IWTimestamp stamp) { CreditCardInformation info = getCreditCardInformation(supplier, stamp); if (info != null) { try { if ( CreditCardMerchant.MERCHANT_TYPE_TPOS.equals(info.getType()) ){ TPosAuthorisation... |
KortathjonustanAuthorisationEntries entry = authEntHome.findByAuthorizationCode(authorizationCode); | KortathjonustanAuthorisationEntries entry = authEntHome.findByAuthorizationCode(authorizationCode, stamp); | public CreditCardAuthorizationEntry getAuthorizationEntry(Supplier supplier, String authorizationCode, IWTimestamp stamp) { CreditCardInformation info = getCreditCardInformation(supplier, stamp); if (info != null) { try { if ( CreditCardMerchant.MERCHANT_TYPE_TPOS.equals(info.getType()) ){ TPosAuthorisation... |
geoNum = geoNum.substring("GeogRegion".length(), geoNum.length()); | public int getRegionValue(String region) { String geoNum = feProps.getProperty(region.replace(' ','_')); if (geoNum != null) { return Integer.parseInt(geoNum); } // end of if (feProps.get(region.replace(' ','_'))) return 0; } | |
sess.namedQuery("getGuidCountCalendar"); sess.setEntity("cal", val.getCalendar()); sess.setString("guid", val.getGuid()); Collection refs = sess.getList(); Integer ct = (Integer)refs.iterator().next(); if (ct.intValue() > 0) { | if ((countCalendarGuids("getGuidCountCalendar", val) > 0) || (countCalendarGuids("getGuidCountCalendarAnnotation", val) > 0)) { | public void addEvent(BwEvent val, Collection overrides) throws CalFacadeException { RecuridTable recurids = null; HibSession sess = getSess(); if ((overrides != null) && (overrides.size() != 0)) { if (!val.getRecurring()) { throw new CalFacadeException("Master event not recu... |
_band.setAttribute(ATTRIBUTE_IS_SPLIT_ALLOWED,Boolean.toString(value)); | _band.setAttribute(ATTRIBUTE_IS_SPLIT_ALLOWED,String.valueOf(value)); | public void setIsSplitAllowed(boolean value){ _band.setAttribute(ATTRIBUTE_IS_SPLIT_ALLOWED,Boolean.toString(value)); } |
runAsUser = form.getEnv().getAppProperty("run.as.user"); | if (calSuite == null) { runAsUser = form.getEnv().getAppProperty("run.as.user"); } | private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... |
calSuite, | private boolean checkSvci(HttpServletRequest request, BwActionFormBase form, BwSession sess, int access, String user, boolean publicAdmin, boolean canSwitch... | |
form.setHour24(env.getAppBoolProperty("hour24")); form.setMinIncrement(env.getAppIntProperty("minincrement")); if (!admin) { form.assignShowYearData(env.getAppBoolProperty("showyeardata")); } | private synchronized BwSession getState(HttpServletRequest request, BwActionFormBase form, MessageResources messages, String adminUserId, boolean admin) t... | |
env.getAppProperty("logprefix")); | form.retrieveConfig().getLogPrefix()); | public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm... |
if (getPublicAdmin(form)) { form.setAutoCreateSponsors(env.getAppBoolProperty("autocreatesponsors")); form.setAutoCreateLocations(env.getAppBoolProperty("autocreatelocations")); form.setAutoDeleteSponsors(env.getAppBoolProperty("autodeletesponsors")); form.setAutoDeleteLocations(env.getAppBoolProperty("autodeleteloca... | String temp = actionSetup(request, response, form); if (temp != null) { return temp; | public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm... |
if (getPublicAdmin(form)) { } else { | if (!getPublicAdmin(form)) { | public String performAction(HttpServletRequest request, HttpServletResponse response, UtilActionForm frm, MessageResources messages) throws Throwable { String forward = "success"; BwActionFormBase form = (BwActionFormBase)frm... |
private void newline() throws IOException { | public void newline() throws IOException { | private void newline() throws IOException { wtr.write("\n"); } |
ATObject newhost = initargs.base_at(NATNumber.ONE); return new NativeField(newhost, name_, accessor_, mutator_); | if (initargs.base_getLength() != NATNumber.ONE) { return super.meta_newInstance(initargs); } else { ATObject newhost = initargs.base_at(NATNumber.ONE); return new NativeField(newhost, name_, accessor_, mutator_); } | public ATObject meta_newInstance(ATTable initargs) throws InterpreterException { ATObject newhost = initargs.base_at(NATNumber.ONE); return new NativeField(newhost, name_, accessor_, mutator_); } |
System.out.println("item = " + item); System.out.println("basket = " + basket); | public void removeItem(BasketItem item) { if (item == null || basket == null) { return; } if (basket.containsKey(item.getItemID())) { basket.remove(item.getItemID()); } } | |
new ATObject[] { value.base_asMirror().base_getBase() }); | new ATObject[] { name.equals(_MIRROR_)? value : value.base_asMirror().base_getBase() }); | public ATNil meta_assignField(ATObject receiver, ATSymbol name, ATObject value) throws InterpreterException { NATMirage principal = (NATMirage)receiver.base_asMirror().base_getBase(); String jSelector = Reflection.upMagicFieldMutationSelector(name); try{ JavaInterfaceAdaptor.invokeNativeATMethod( principa... |
throw new XUndefinedField("field assignment", name.getText().asNativeText().javaValue); | throw new XUndefinedField("field assignment", name.base_getText().asNativeText().javaValue); | public ATNil meta_assignField(ATSymbol name, ATObject value) throws NATException { String selector = Reflection.upBaseFieldMutationSelector(name); // try to invoke a native base_setName method try { JavaInterfaceAdaptor.invokeJavaMethod( this.getClass(), this, selector, ... |
throw new XUndefinedField("variable assignment", name.getText().asNativeText().javaValue); | throw new XUndefinedField("variable assignment", name.base_getText().asNativeText().javaValue); | public ATNil meta_assignVariable(ATSymbol name, ATObject value) throws NATException { try { return this.meta_assignField(name, value); } catch (XSelectorNotFound e) { // transform selector not found in undefined variable assignment throw new XUndefinedField("variable assignment", name.getText().asNati... |
throw new XUndefinedField("variable access", selector.getText().asNativeText().javaValue); | throw new XUndefinedField("variable access", selector.base_getText().asNativeText().javaValue); | public ATObject meta_lookup(ATSymbol selector) throws NATException { try { return this.meta_select(this, selector); } catch(XSelectorNotFound e) { // transform selector not found in undefined variable access throw new XUndefinedField("variable access", selector.getText().... |
mailer = (MailerIntf)CalEnv.getGlobalObject("mailerclass", | if (env == null) { throw new Exception("env not set"); } mailer = (MailerIntf)env.getGlobalObject("mailerclass", | public MailerIntf getMailer() { if (mailer != null) { return mailer; } try { mailer = (MailerIntf)CalEnv.getGlobalObject("mailerclass", MailerIntf.class); mailer.init(fetchSvci(), debug); } catch (Throwable t) { err.emit(t); } retu... |
System.out.println("[Korta] PostData = "+strPostData.toString()); | private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper... | |
System.out.println("[Korta] post_data = "+strPostData.toString()); | private String getPostData(Hashtable properties) { StringBuffer strPostData = new StringBuffer(); try { appendProperty(strPostData, PROPERTY_PASSWORD, PASSWORD); addProperties(strPostData, properties); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return strPostData.toString(); } | |
private EventQuery buildEventQuery(Vector cfs, | private EventQuery buildEventQuery(Collection cfs, | private EventQuery buildEventQuery(Vector cfs, TimeRange globaltr) throws WebdavException { Iterator it = cfs.iterator(); EventQuery eq = new EventQuery(); eq.trange = globaltr; if (debug) { trace("buildEventQuery ---- entry"); } while (it.hasNext()) { C... |
Vector propFilters = cf.getPropFilters(); | Collection propFilters = cf.getPropFilters(); | private EventQuery buildEventQuery(Vector cfs, TimeRange globaltr) throws WebdavException { Iterator it = cfs.iterator(); EventQuery eq = new EventQuery(); eq.trange = globaltr; if (debug) { trace("buildEventQuery ---- entry"); } while (it.hasNext()) { C... |
return new Vector(); | return new ArrayList(); | public Collection postFilter(Collection nodes) throws WebdavException { if (!postFilterNeeded) { return nodes; } if (debug) { trace("post filtering needed"); } CompFilter cfltr = filter; // Currently only handle VCALENDAR for top level. if (!"VCALENDAR".equals(cfltr.getName())) { r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.