bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static void close(String psFilename, String projection, String region) throws InterruptedException, IOException { String command = "psxy /dev/null -V -J" + projection + " -R" + region + " -O"; GenericCommandExecute.execute(command); } | public static void close(String psFilename, String projection, String region) throws InterruptedException, IOException { String command = "psxy /dev/null -V -J" + projection + " -R" + region + " -O"; FileOutputStream fos = new FileOutputStream(psFilename, true); try { Generic... | 1,117,082 |
public static void main(String[] args) { try { double[][] points = { {-180, 90}, {-135, 67.5}, {-90, 45}, {-45, 22.5}, {0, 0}}; addPoints("/Volumes/heff/oliver... | public static void main(String[] args) { try { double[][] points = { {-180, 90}, {-135, 67.5}, {-90, 45}, {-45, 22.5}, {0, 0}}; addPoints("world.ps", ... | 1,117,083 |
public static int execute(String command, Reader stdin, OutputStream stdout, OutputStream stderr) throws InterruptedException, IOException { Runtime rt = Runtime.getRuntime(); System.out.println("executin... | public static int execute(String command, Reader stdin, OutputStream stdout, OutputStream stderr) throws InterruptedException, IOException { Runtime rt = Runtime.getRuntime(); System.out.println("executin... | 1,117,085 |
public static int execute(String command, Reader stdin, OutputStream stdout, OutputStream stderr) throws InterruptedException, IOException { Runtime rt = Runtime.getRuntime(); System.out.println("executin... | public static int execute(String command, Reader stdin, OutputStream stdout, OutputStream stderr) throws InterruptedException, IOException { Runtime rt = Runtime.getRuntime(); System.out.println("executin... | 1,117,086 |
public JDBCQuantity(Connection conn) throws SQLException{ this(new JDBCUnit(conn), conn); } | public JDBCQuantity(Connection conn) throws SQLException{ this(new JDBCUnit(conn), conn); } | 1,117,087 |
public void setMode(int mode) { if (mode <= Main.MODE_IN_LOBBY) { gameBoardData.init(); scoreSheetCaptionData.init(); scoreSheetHoteltypeData.init(); Main.getMainFrame().scoreSheet.resetUsedRowsHack(); } if (mode < Main.MODE_IN_LOBBY) { userListPresenter.init(); } } | public void setMode(int mode) { if (mode <= Main.MODE_IN_LOBBY) { gameBoardData.init(); scoreSheetCaptionData.init(); scoreSheetHoteltypeData.init(); } if (mode < Main.MODE_IN_LOBBY) { userListPresenter.init(); } } | 1,117,089 |
void drawString(Graphics2D graphics2d, String string, Point p, int alignment, double orientation, boolean editing, IdeaMap map) { double orient = orientation % Math.PI; if (orient > (Math.PI / 2.0)) { orient -= Math.PI; } if (orient < (-Math.PI / 2.0)) { ... | void drawString(Graphics2D graphics2d, String string, Point p, int alignment, double orientation, boolean editing, IdeaMap map) { double orient = orientation % Math.PI; if (orient > (Math.PI / 2.0)) { orient -= Math.PI; } if (orient < (-Math.PI / 2.0)) { ... | 1,117,091 |
public BranchView(Idea anIdea) { super(anIdea); } | public BranchView(Idea anIdea) { super(anIdea); } | 1,117,092 |
public MutablePeriod(Object period, PeriodType type) { super(period, type, null); } | public MutablePeriod(Object period, PeriodType type) { super(period, type, null); } | 1,117,093 |
public int sort(LocalSeismogramImpl seismo){ String name = seismo.getName(); int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, seismo.getName()); return i; } | public int sort(LocalSeismogramImpl seismo){ String name = seismo.getName(); int i = 0; while(i < names.size() && ((String)names.get(i)).compareToIgnoreCase(name) < 0){ i++; } names.add(i, seismo.getName()); return i; } | 1,117,094 |
public DataSetSeismogram(RequestFilter rf, DataCenterOperations dco) { this(rf, dco, null); } | public DataSetSeismogram(RequestFilter rf, DataCenterOperations dco) { this(rf, dco, null); } | 1,117,095 |
Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | 1,117,096 |
Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | 1,117,097 |
Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | Req(String user, String pw, String testFileName) throws Throwable { this.user = user; this.pw = pw; FileReader frdr = null; try { File testFile = new File(testFileName); frdr = new FileReader(testFile); LineNumberReader lnr = new LineNumberReader(frdr); Vector headers = null; Vect... | 1,117,098 |
public int sendRequest(String method, String url, String user, String pw, Header[] hdrs, String contentType, int contentLen, byte[] content) throws Throwable { client.setMethodName(method, url); HttpMethod meth = client.getMethod(); if (user != null) { S... | public int sendRequest(String method, String url, String user, String pw, Header[] hdrs, String contentType, int contentLen, byte[] content) throws Throwable { client.setMethodName(method, url); HttpMethod meth = client.getMethod(); if (user != null) { S... | 1,117,099 |
public static void askToExit() { if (MainConfiguration.PROPS.getBoolean("gui.asktoexit")) { //$NON-NLS-1$ int i = JOptionPane.showConfirmDialog(null, Messages.getString("Util.19"), //$NON-NLS-1$ Messages.getString("Util.20"), JOptionPane.YES_NO_OPTION); //$NON-NLS-2$ if (i != JOptionPane.YES_OPTION) { retu... | public static void askToExit() { if (MainConfiguration.PROPS.getBoolean("gui.asktoexit")) { //$NON-NLS-1$ int i = JOptionPane.showConfirmDialog(null, Messages.getString("Util.19"), //$NON-NLS-1$ Messages.getString("Util.20"), JOptionPane.YES_NO_OPTION); //$NON-NLS-2$ if (i != JOptionPane.YES_OPTION) { retu... | 1,117,100 |
public void setSelected(Idea newSelected) { Idea oldSelected = newSelected; if (this.selected != null) { this.selected.setSelected(false); } this.selected = newSelected; if (this.selected != null) { this.selected.setSelected(true); } firePropert... | public void setSelected(Idea newSelected) { Idea oldSelected = this.selected; if (this.selected != null) { this.selected.setSelected(false); } this.selected = newSelected; if (this.selected != null) { this.selected.setSelected(true); } firePrope... | 1,117,101 |
public Idea(String text) { setText(text); } | public Idea(String text) { setText(text); } | 1,117,102 |
private void createHourFormat(double minutesPerDivision, int divPerLabel, List recip){ TimeInterval inter = new TimeInterval(minutesPerDivision, UnitImpl.MINUTE); recip.add(new TimeBorderFormat("HH:mm:ss", inter, divPerLabel)); } | private void createHourFormat(double minutesPerDivision, int divPerLabel, List recip){ TimeInterval inter = new TimeInterval(minutesPerDivision, UnitImpl.MINUTE); recip.add(new TimeBorderFormat("HH:mm:ss", inter, divPerLabel)); } | 1,117,104 |
private void createMinuteFormats(double[][] minDivs, List recip){ for (int i = 0; i < minDivs.length; i++) { createHourFormat(minDivs[i][0], (int)minDivs[i][1], recip); } } | private void createMinuteFormats(double[][] minDivs, List recip){ for (int i = 0; i < minDivs.length; i++) { createHourFormat(minDivs[i][0], (int)minDivs[i][1], recip, UnitImpl.MINUTE); } } | 1,117,105 |
public MicroSecondTimeRange(MicroSecondDate beginTime, TimeInterval interval){ this.beginTime = beginTime; this.endTime = beginTime.add(interval); this.interval = interval; } | public MicroSecondTimeRange(MicroSecondDate beginTime, TimeInterval interval){ this.beginTime = beginTime; this.endTime = beginTime.add(interval); this.interval = interval; } | 1,117,106 |
public ATNumber base_inc() { return NATNumber.atValue(javaValue+1); } | public ATNumeric base_inc() { return NATNumber.atValue(javaValue+1); } | 1,117,107 |
public ATNumber base_abs() { return NATNumber.atValue(Math.abs(javaValue)); } | public ATNumeric base_abs() { return NATNumber.atValue(Math.abs(javaValue)); } | 1,117,108 |
public Events(Calintf cal, AccessUtil access, HibSession sess, BwUser user, boolean debug) { this.cal = cal; this.access = access; this.sess = sess; this.user = user; this.debug = debug; Properties uidprops = new Properties(); uidprops.setProperty("separator", "-"); uuidGen = ne... | public Events(Calintf cal, AccessUtil access, HibSession sess, BwUser user, boolean debug) { this.cal = cal; this.access = access; this.sess = sess; this.user = user; this.debug = debug; Properties uidprops = new Properties(); uidprops.setProperty("separator", "-"); uuidGen = ne... | 1,117,109 |
private void addOverride(BwEventProxy proxy, BwRecurrenceInstance inst) throws CalFacadeException { BwEventAnnotation override = proxy.getRef(); override.setOwner(user); sess.saveOrUpdate(override); inst.setOverride(override); } | private void addOverride(BwEventProxy proxy, BwRecurrenceInstance inst) throws CalFacadeException { BwEventAnnotation override = proxy.getRef(); override.setOwner(user); getSess().saveOrUpdate(override); inst.setOverride(override); } | 1,117,111 |
public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | 1,117,116 |
public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); if (rid == null) { eventQuery(BwEventObj.class, guid, rid, seqnum, true); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null;... | 1,117,117 |
public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | 1,117,118 |
public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | 1,117,119 |
public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } return ev; } | public BwEvent getEvent(int id) throws CalFacadeException { Criteria cr = sess.createCriteria(BwEventObj.class); cr.add(Expression.eq("id", new Integer(id))); BwEvent ev = (BwEvent)sess.getUnique(); if (!access.accessible(ev, privRead, noAccessReturnsNull)) { return null; } eventQuery(BwEventAn... | 1,117,120 |
private BwEvent postGetEvent(BwEvent ev, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { if (ev == null) { return null; } if (!access.accessible(ev, desiredAccess, noAccessReturnsNull)) { return null; } /* XXX-ALARM if (currentMode == u... | private BwEvent postGetEvent(BwEvent ev, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { if (ev == null) { return null; } if (!access.accessible(ev, desiredAccess, nullForNoAccess)) { return null; } /* XXX-ALARM if (currentMode == userM... | 1,117,124 |
private Collection postGetEvents(Collection evs, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { TreeSet outevs = new TreeSet(); Iterator it = evs.iterator(); while (it.hasNext()) { BwEvent ev = (BwEvent)it.next(); if (access.access... | private Collection postGetEvents(Collection evs, int desiredAccess, boolean nullForNoAccess) throws CalFacadeException { TreeSet outevs = new TreeSet(); Iterator it = evs.iterator(); while (it.hasNext()) { BwEvent ev = (BwEvent)it.next(); if (access.access... | 1,117,125 |
private void setCalendarEntities(BwCalendar calendar, CalTerm calTerm) throws CalFacadeException { if (calendar.getCalendarCollection()) { // leaf calendar sess.setEntity("calendar" + calTerm.i, calendar); calTerm.i++; } else { Iterator it = calendar.getChildren().iterator(); w... | private void setCalendarEntities(BwCalendar calendar, CalTerm calTerm) throws CalFacadeException { if (calendar.getCalendarCollection()) { // leaf calendar getSess().setEntity("calendar" + calTerm.i, calendar); calTerm.i++; } else { Iterator it = calendar.getChildren().iterator(); ... | 1,117,126 |
public CalFacadeException(String s) { super(s); } | public CalFacadeException(String s) { super(s); } | 1,117,129 |
public TimeZone getTimeZone(final String id) throws CalFacadeException; | public abstract TimeZone getTimeZone(final String id) throws CalFacadeException; | 1,117,130 |
public String getUtc(String time, String tzid, TimeZone tz) throws CalFacadeException; | public synchronized String getUtc(String time, String tzid, TimeZone tz) throws CalFacadeException { if (CalFacadeUtil.isISODateTimeUTC(time)) { return time; } if (CalFacadeUtil.isISODate(time)) { time += "T000000"; } else if (!CalFacadeUtil.isISODateTime(time)) { throw new CalFacadeBadDateException(); } try { ... | 1,117,131 |
static boolean appendPublicOrCreatorTerm(StringBuffer sb, String entName, int currentMode, boolean ignoreCreator) throws CalFacadeException { boolean publicEvents = (currentMode == guestMode) || (currentMode == publicAdminMode); bool... | static boolean appendPublicOrCreatorTerm(StringBuffer sb, String entName, int currentMode, boolean ignoreCreator) throws CalFacadeException { boolean publicEvents = (currentMode == guestMode) || (currentMode == publicAdminMode); bool... | 1,117,132 |
public MemoryDataSetSeismogram(LocalSeismogramImpl seis) { this(makeSeisArray(seis), null); } | public MemoryDataSetSeismogram(LocalSeismogramImpl seis) { this(makeSeisArray(seis), null); } | 1,117,133 |
private boolean setAmpRange(DataSetSeismogram seismo){ AmpConfigData data = (AmpConfigData)ampData.get(seismo); LocalSeismogramImpl seis = (LocalSeismogramImpl)seismo.getSeismogram(); int[] seisIndex = DisplayUtils.getSeisPoints(seis, data.getTime()); if(seisIndex[1] < 0 || seisIndex[0] ... | private boolean setAmpRange(DataSetSeismogram seismo){ AmpConfigData data = (AmpConfigData)ampData.get(seismo); LocalSeismogramImpl seis = (LocalSeismogramImpl)seismo.getSeismogram(); int[] seisIndex = DisplayUtils.getSeisPoints(seis, data.getTime()); if(seisIndex[1] < 0 || seisIndex[0] ... | 1,117,134 |
public double[] minMaxMean(int beginIndex, int endIndex){ if (beginIndex < 0 ) { throw new IllegalArgumentException("begin Index < 0 "+beginIndex); } // end of if (beginIndex < 0 ) if (endIndex > getLength() ) { throw new IllegalArgumentException("end Index > data length "+endIndex); } // ... | public double[] minMaxMean(int beginIndex, int endIndex){ if (beginIndex < 0 ) { throw new IllegalArgumentException("begin Index < 0 "+beginIndex); } // end of if (beginIndex < 0 ) if (endIndex > getLength() ) { throw new IllegalArgumentException("end Index > data length "+endIndex); } // ... | 1,117,135 |
public double[] minMaxMean(int beginIndex, int endIndex){ if (beginIndex < 0 ) { throw new IllegalArgumentException("begin Index < 0 "+beginIndex); } // end of if (beginIndex < 0 ) if (endIndex > getLength() ) { throw new IllegalArgumentException("end Index > data length "+endIndex); } // ... | public double[] minMaxMean(int beginIndex, int endIndex){ if (beginIndex < 0 ) { throw new IllegalArgumentException("begin Index < 0 "+beginIndex); } // end of if (beginIndex < 0 ) if (endIndex > getLength() ) { throw new IllegalArgumentException("end Index > data length "+endIndex); } // ... | 1,117,136 |
public void update(File file, boolean playing) { String s = "*** "+ file.toString() + ((playing) ? Messages.getString("MainPanel.PLAYING") : ""); //$NON-NLS-1$ //$NON-NLS-2$ setText(s); DefaultListModel listModel = playlist.getListModel(); int index = listModel.indexOf(file); ListDataListener[] listeners... | public void update(File file, boolean playing) { String s = file.toString(); if (playing) { s = "***"+ s + Messages.getString("MainPanel.PLAYING"); } //$NON-NLS-1$ //$NON-NLS-2$ setText(s); DefaultListModel listModel = playlist.getListModel(); int index = listModel.indexOf(file); ListDataListener[] liste... | 1,117,137 |
public void play(int index) { System.out.println("play("+index+")"); if (index > list.size()) { throw new RuntimeException("index = "+ index +" > list.size() = "+ list.size()); } playingIndex = index; if (isPlaying()) { player.stop(); } try { final File file = (File)list.get(index); player = new MP3Play... | public void play(int index) { System.out.println("play("+index+")"); if (index > list.size()) { throw new RuntimeException("index = "+ index +" > list.size() = "+ list.size()); } playingIndex = index; if (isPlaying()) { player.stop(); } try { final File file = (File)list.get(index); player = new MP3Play... | 1,117,138 |
public void play(int index) { System.out.println("play("+index+")"); if (index > list.size()) { throw new RuntimeException("index = "+ index +" > list.size() = "+ list.size()); } playingIndex = index; if (isPlaying()) { player.stop(); } try { final File file = (File)list.get(index); player = new MP3Play... | public void play(int index) { System.out.println("play("+index+")"); if (index > list.size()) { throw new RuntimeException("index = "+ index +" > list.size() = "+ list.size()); } playingIndex = index; if (isPlaying()) { player.stop(); } try { final File file = (File)list.get(index); player = new MP3Play... | 1,117,139 |
public File getFile(); | public abstract File getFile(); | 1,117,140 |
public void add(File f) { list.addElement(f); } | public void add(File f) { list.addElement(f); } | 1,117,141 |
protected Command getMSLWrapper(ICommand cmd) { TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) getHost()) .getEditingDomain(); CompositeTransactionalCommand modelCmd = new CompositeTransactionalCommand( editingDomain, cmd.getLabel()); modelCmd.compose(cmd); return new EtoolsProxyCommand(mod... | protected Command getMSLWrapper(ICommand cmd) { TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) getHost()) .getEditingDomain(); CompositeTransactionalCommand modelCmd = new CompositeTransactionalCommand( editingDomain, cmd.getLabel()); modelCmd.compose(cmd); return new ICommandProxy(modelCmd... | 1,117,142 |
protected Command getSemanticCommand(IEditCommandRequest request) { IEditCommandRequest completedRequest = completeRequest(request); Command semanticCommand = getSemanticCommandSwitch(completedRequest); if (semanticCommand == null) { return UnexecutableCommand.INSTANCE; } boolean shouldProceed = true; if (comp... | protected Command getSemanticCommand(IEditCommandRequest request) { IEditCommandRequest completedRequest = completeRequest(request); Command semanticCommand = getSemanticCommandSwitch(completedRequest); if (semanticCommand == null) { return UnexecutableCommand.INSTANCE; } boolean shouldProceed = true; if (comp... | 1,117,143 |
private String executeQueries(SQLQuery sqlQuery, int numberOfRows, QueryToSQLBridge sqlBridge, List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { QueryResult queryResult = sqlBridge.executeQueries(sqlQuery, numberOfRows, executedSQLStatements); // check if everything... | private String executeQueries(SQLQuery sqlQuery, int numberOfRows, QueryToSQLBridge sqlBridge, List executedSQLStatements, IWResourceBundle resourceBundle, IWContext iwc) throws RemoteException { QueryResultSession sessionBean = (QueryResultSession) IBOLookup.getSessionInstance(iwc, QueryResultSession.class); QueryR... | 1,117,144 |
private PresentationObject getInputFields(String queryName, String queryDescription, Map identifierValueMap, Map identifierInputDescriptionMap, IWResourceBundle resourceBundle, IWContext iwc) { // create a nice headline for the confused user String currentQuery = StringHandler.concat(resourceBundle.getLocalizedSt... | private PresentationObject getInputFields(String queryName, String queryDescription, Map identifierValueMap, Map identifierInputDescriptionMap, IWResourceBundle resourceBundle, IWContext iwc) { // create a nice headline for the confused user String currentQuery = StringHandler.concat(resourceBundle.getLocalizedSt... | 1,117,146 |
private PresentationObject getInputFields(String queryName, String queryDescription, Map identifierValueMap, Map identifierInputDescriptionMap, IWResourceBundle resourceBundle, IWContext iwc) { // create a nice headline for the confused user String currentQuery = StringHandler.concat(resourceBundle.getLocalizedSt... | private PresentationObject getInputFields(String queryName, String queryDescription, Map identifierValueMap, Map identifierInputDescriptionMap, IWResourceBundle resourceBundle, IWContext iwc) { // create a nice headline for the confused user String currentQuery = StringHandler.concat(resourceBundle.getLocalizedSt... | 1,117,147 |
private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | 1,117,148 |
private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | 1,117,149 |
private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | private void setAccessCondition(Map identifierValueMap, IWContext iwc) throws RemoteException { List groupIds = new ArrayList(); User user = iwc.getCurrentUser(); UserBusiness userBusiness = getUserBusiness(); GroupBusiness groupBusiness = getGroupBusiness(); Collection topGroupNodes = userBusiness.getUsersTopGro... | 1,117,150 |
public JasperPrint printSynchronizedReport(com.idega.block.dataquery.data.QueryResult p0,java.util.Map p1,com.idega.block.datareport.data.DesignBox p2) throws java.rmi.RemoteException; | public JasperPrint printSynchronizedReport(com.idega.block.dataquery.data.QueryResult p0,com.idega.block.datareport.data.DesignBox p2) throws java.rmi.RemoteException; | 1,117,151 |
public void addParameter(Element param); | public void addParameter(String name, Object param); | 1,117,152 |
public static LocalSeismogramImpl createRaggedSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, int missingSamples, ... | public static LocalSeismogramImpl createRaggedSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, int missingSamples, ... | 1,117,153 |
public static LocalSeismogramImpl createRaggedSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, int missingSamples, ... | public static LocalSeismogramImpl createRaggedSpike(MicroSecondDate time, TimeInterval traceLength, int samplesPerSpike, int missingSamples, ... | 1,117,154 |
public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | 1,117,155 |
public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | 1,117,156 |
public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | 1,117,157 |
public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | 1,117,158 |
public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | public static int[][] makePlottable(LocalSeismogramImpl seis, MicroSecondTimeRange tr, int samplesPerDay) throws CodecException { MicroSecondDate startTime = tr.getBeginTime(); if(seis.getBeginTime().after(startTi... | 1,117,159 |
public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) String urlString = "NONE"; NodeList nList = evalNodeList(conf... | public LocalSeismogramImpl getSeismogram(String name) { if (seismogramCache.containsKey(name)) { return (LocalSeismogramImpl)seismogramCache.get(name); } // end of if (seismogramCache.containsKey(name)) String urlString = "NONE"; NodeList nList = evalNodeList(conf... | 1,117,160 |
SimpleXLink(DocumentBuilder docBuilder, Element element, URL base) { this.docBuilder = docBuilder; this.element = element; this.base = base; } | SimpleXLink(DocumentBuilder docBuilder, Element element, URL base) { this.docBuilder = docBuilder; this.element = element; this.base = base; } | 1,117,161 |
public void read(DataInputStream dis) throws IOException { readHeader(dis); readData(dis); } | public void read(DataInputStream dis) throws IOException { readHeader(dis); readData(dis); } | 1,117,162 |
public XMLDataSet(DocumentBuilder docBuilder, URL base, Element config) { this(docBuilder, base); this.config = config; } | public XMLDataSet(DocumentBuilder docBuilder, URL base, Element config) { this(docBuilder, base); this.config = config; } | 1,117,166 |
public void write(Node node) { // is there anything to do? if (node == null) { return; } short type = node.getNodeType(); switch (type) { case Node.DOCUMENT_NODE: { Document document = (Document)node; if (!fCanonical) { ... | public void write(Node node) { // is there anything to do? if (node == null) { return; } short type = node.getNodeType(); switch (type) { case Node.DOCUMENT_NODE: { Document document = (Document)node; if (!fCanonical) { ... | 1,117,167 |
public void write(Node node) { // is there anything to do? if (node == null) { return; } short type = node.getNodeType(); switch (type) { case Node.DOCUMENT_NODE: { Document document = (Document)node; if (!fCanonical) { ... | public void write(Node node) { // is there anything to do? if (node == null) { return; } short type = node.getNodeType(); switch (type) { case Node.DOCUMENT_NODE: { Document document = (Document)node; if (!fCanonical) { ... | 1,117,168 |
public Collection getDaysEvents(MyCalendarVO date) throws Throwable { Vector v = new Vector(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFacadeUti... | public Collection getDaysEvents(MyCalendarVO date) throws Throwable { ArrayList al = new ArrayList(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFa... | 1,117,169 |
public Collection getDaysEvents(MyCalendarVO date) throws Throwable { Vector v = new Vector(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFacadeUti... | public Collection getDaysEvents(MyCalendarVO date) throws Throwable { Vector v = new Vector(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFacadeUti... | 1,117,170 |
public Collection getDaysEvents(MyCalendarVO date) throws Throwable { Vector v = new Vector(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFacadeUti... | public Collection getDaysEvents(MyCalendarVO date) throws Throwable { Vector v = new Vector(); CalTimezones tzcache = cal.getTimezones();// Dur oneDay = new Dur(1, 0, 0, 0); long millis = System.currentTimeMillis(); //tzcache.setSysTimezones(cal.getTimezones()); BwDateTime startDt = CalFacadeUti... | 1,117,171 |
private TimeViewDailyInfo[] getOneWeekTvdi(GtpiData gtpi) throws Throwable { Vector days = new Vector(); TimeViewDailyInfo tvdi; /** First see if we need to insert leading fillers */ int dayOfWeek = gtpi.currentDay.getDayOfWeek(); int dayNum = getFirstDayOfWeek(); if (debug) { debugMsg("dayOfWe... | private TimeViewDailyInfo[] getOneWeekTvdi(GtpiData gtpi) throws Throwable { ArrayList days = new ArrayList(); TimeViewDailyInfo tvdi; /** First see if we need to insert leading fillers */ int dayOfWeek = gtpi.currentDay.getDayOfWeek(); int dayNum = getFirstDayOfWeek(); if (debug) { debugMsg("d... | 1,117,172 |
private TimeViewDailyInfo[] getOneWeekTvdi(GtpiData gtpi) throws Throwable { Vector days = new Vector(); TimeViewDailyInfo tvdi; /** First see if we need to insert leading fillers */ int dayOfWeek = gtpi.currentDay.getDayOfWeek(); int dayNum = getFirstDayOfWeek(); if (debug) { debugMsg("dayOfWe... | private TimeViewDailyInfo[] getOneWeekTvdi(GtpiData gtpi) throws Throwable { Vector days = new Vector(); TimeViewDailyInfo tvdi; /** First see if we need to insert leading fillers */ int dayOfWeek = gtpi.currentDay.getDayOfWeek(); int dayNum = getFirstDayOfWeek(); if (debug) { debugMsg("dayOfWe... | 1,117,173 |
public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | 1,117,174 |
public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | 1,117,175 |
public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | 1,117,176 |
public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | public TimeViewDailyInfo[] getTimePeriodInfo() { /* In the following code we assume that we never cross year boundaries so that the year is always constant. */ if (tvdis != null) { return tvdis; } try { GtpiData gtpi = new GtpiData(); Vector months = new Vector(); Vector weeks... | 1,117,177 |
public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | 1,117,178 |
public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | 1,117,179 |
public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | public static BwDateTime getDateTime(String val, CalTimezones timezones) throws CalFacadeException { Date dt; boolean UTC = false; boolean dateOnly = false; try { dt = fromISODateTimeUTC(val); UTC = true; } catch (CalFacadeBadDateException bde1) { try { ... | 1,117,180 |
public abstract Collection getEvents(BwSubscription sub, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException; | public abstract Collection getEvents(BwSubscription sub, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException; | 1,117,181 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | 1,117,182 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | 1,117,183 |
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { CalSvcI svci = form.fetchSvci(); String name = getReqPar(request, "subname"); if (name != null) { ... | 1,117,184 |
private static NATObject createGlobalLexicalScope() { return new NATObject(OBJLexicalRoot._INSTANCE_); } | private static NATObject createGlobalLexicalScope() { return new NATIsolate(OBJLexicalRoot._INSTANCE_); } | 1,117,185 |
public Events(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) { super(cal, access, currentMode, ignoreCreator, debug); } | public Events(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) { super(cal, access, currentMode, ignoreCreator, debug); } | 1,117,186 |
public Collection getEvents(BwCalendar calendar, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException { HibSession sess = getSess(); StringBuffer sb = new StringBuffer(); if (debug) { t... | public Collection getEvents(BwCalendar calendar, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException { HibSession sess = getSess(); StringBuffer sb = new StringBuffer(); if (debug) { t... | 1,117,187 |
public Collection getEvents(BwCalendar calendar, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException { HibSession sess = getSess(); StringBuffer sb = new StringBuffer(); if (debug) { t... | public Collection getEvents(BwCalendar calendar, BwFilter filter, BwDateTime startDate, BwDateTime endDate, int recurRetrieval) throws CalFacadeException { HibSession sess = getSess(); StringBuffer sb = new StringBuffer(); if (debug) { t... | 1,117,188 |
public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = getMapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBean... | 1,117,189 |
public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | 1,117,190 |
public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | 1,117,191 |
public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | public OpenMap(EventTableModel etm, ListSelectionModel lsm){ try{ mapHandler = new MapHandler(); mapHandler.add(this); // Create a MapBean mapBean = new MapBean(); //get the projection and set its background color and center point Proj proj = new CADRG(new LatLonPoint(mapBean.DEFAULT_CENTER_LAT, mapBea... | 1,117,193 |
public ATBegin base_getBodyExpression() { return new AGBegin(new NATTable(new ATObject[] { AGSymbol.alloc("Native anonymous implementation in " + creatorClass_.getName())})); } | public ATBegin base_getBodyExpression() { return new AGBegin(new NATTable(new ATObject[] { AGSymbol.jAlloc("Native anonymous implementation in " + creatorClass_.getName())})); } | 1,117,194 |
int[] getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono, DateTimeFormatter parser); | int[] getPartialValues(ReadablePartial fieldSource, Object object, Chronology chrono, DateTimeFormatter parser); | 1,117,195 |
public DateMidnight(int year, int monthOfYear, int dayOfMonth, Chronology chronology) { super(year, monthOfYear, dayOfMonth, 0, 0, 0, 0, chronology); } | public DateMidnight(int year, int monthOfYear, int dayOfMonth, Chronology chronology) { super(year, monthOfYear, dayOfMonth, 0, 0, 0, 0, chronology); } | 1,117,196 |
protected void debugMsg(String pname, String ptype, String pval) { debugOut("Error emitted: property=" + pname + " ptype=" + ptype + " val(s)=" + pval); } | protected void debugMsg(String pname, String ptype, String pval) { debugOut("Emitted: property=" + pname + " ptype=" + ptype + " val(s)=" + pval); } | 1,117,197 |
FilterPanel( SortedSet tags, DataDictionary dataDictionary ) { setLayout( new FlowLayout() ); enablePanel( false ); checkBox.setPreferredSize( new Dimension(25, 25) ); add( checkBox ); comboBox.setPreferredSize( new Dimension(200, 25) ); add( comboBox ); operatorComboBox.setPreferredSize( new Dime... | FilterPanel( SortedSet tags, DataDictionary dataDictionary ) { setLayout( new FlowLayout() ); enablePanel( false ); checkBox.setPreferredSize( new Dimension(25, 25) ); add( checkBox ); comboBox.setPreferredSize( new Dimension(200, 25) ); add( comboBox ); operatorComboBox.setPreferredSize( new Dime... | 1,117,198 |
public void testUnknownDasChannelCreation() { DASChannelCreator creator = new DASChannelCreator(NCReaderTest.net, new SamplingFinder() { public int find(String file, ... | public void testUnknownDasChannelCreation() { DASChannelCreator creator = new DASChannelCreator(NCReaderTest.net, new SamplingFinder() { public int find(String file, ... | 1,117,199 |
public void testUnknownDasChannelCreation() { DASChannelCreator creator = new DASChannelCreator(NCReaderTest.net, new SamplingFinder() { public int find(String file, ... | public void testUnknownDasChannelCreation() { DASChannelCreator creator = new DASChannelCreator(NCReaderTest.net, new SamplingFinder() { public int find(String file, ... | 1,117,200 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.