bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public void doRequest(HTTPRequest httpRequest) { context.put("controller", getController()); FolderRepository repo = getController().getFolderRepository(); context.put("folderRepository", repo); Map<String, String> params = httpRequest.getQueryParams(); List<Folder> folders = repo...
public void doRequest(HTTPRequest httpRequest) { context.put("controller", getController()); FolderRepository repo = getController().getFolderRepository(); context.put("folderRepository", repo); Map<String, String> params = httpRequest.getQueryParams(); List<Folder> folders = repo...
3,226,481
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,482
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,483
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,484
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,485
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,486
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,487
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,488
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,489
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,490
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,491
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,492
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,493
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,494
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,495
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,496
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,497
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,498
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,499
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,500
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,501
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,502
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,503
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,504
public static String capitalizeWords( String text ) { //u.p("start = -"+text+"-"); if ( text.length() == 0 ) { return text; } StringBuffer sb = new StringBuffer(); //u.p("text = -" + text + "-"); // do first letter //u.p("first = " + text.substring(0,1)); ...
publicstaticStringcapitalizeWords(Stringtext){//u.p("start=-"+text+"-");if(text.length()==0){returntext;}StringBuffersb=newStringBuffer();//u.p("text=-"+text+"-");//dofirstletter//u.p("first="+text.substring(0,1));/**if(!text.substring(0,1).equals("")){*sb.append(text.substring(0,1).toUpperCase());*}*/booleancap=true;f...
3,226,505
protected TreeViewer createTreeViewer(Composite parent) { int style = SWT.BORDER | (fAllowMultiple ? SWT.MULTI : SWT.SINGLE); fViewer = new TreeViewer(new Tree(parent, style)); fViewer.setContentProvider(fContentProvider); fViewer.setLabelProvider(fLabelProvider); fViewer.addSelec...
protected TreeViewer createTreeViewer(Composite parent) { int style = SWT.BORDER | (fAllowMultiple ? SWT.MULTI : SWT.SINGLE); fViewer = new TreeViewer(new Tree(parent, style)); fViewer.setContentProvider(fContentProvider); fViewer.setLabelProvider(fLabelProvider); fViewer.addSelec...
3,226,506
protected void createFilterControl(Composite parent) { filterCombo = new Combo(parent, SWT.DROP_DOWN | SWT.BORDER); filterCombo.addTraverseListener( new TraverseListener () { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; if (getViewer().getTree().ge...
protected void createFilterControl(Composite parent) { filterCombo = new Combo(parent, SWT.DROP_DOWN | SWT.BORDER); filterCombo.addTraverseListener( new TraverseListener () { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; if (getViewer().getTree().ge...
3,226,507
protected void createFilterControl(Composite parent) { filterCombo = new Combo(parent, SWT.DROP_DOWN | SWT.BORDER); filterCombo.addTraverseListener( new TraverseListener () { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; if (getViewer().getTree().ge...
protected void createFilterControl(Composite parent) { filterCombo = new Combo(parent, SWT.DROP_DOWN | SWT.BORDER); filterCombo.addTraverseListener( new TraverseListener () { public void keyTraversed(TraverseEvent e) { if (e.detail == SWT.TRAVERSE_RETURN) { e.doit = false; if (getViewer().getTree().ge...
3,226,508
public void focusLost(FocusEvent e) { String [] textValues = filterCombo.getItems(); String newText = filterCombo.getText(); //Only add new entries for (int i = 0; i < textValues.length; i++) { if(textValues[i].equals(newText)) return; } filterCombo.add(newText,0); }
public void focusLost(FocusEvent e) { String [] textValues = filterCombo.getItems(); String newText = filterCombo.getText(); //Only add new entries for (int i = 0; i < textValues.length; i++) { if(textValues[i].equals(newText)) return; } filterCombo.add(newText,0); }
3,226,509
public void focusLost(FocusEvent e) { String [] textValues = filterCombo.getItems(); String newText = filterCombo.getText(); //Only add new entries for (int i = 0; i < textValues.length; i++) { if(textValues[i].equals(newText)) return; } filterCombo.add(newText,0); }
public void focusLost(FocusEvent e) { String [] textValues = filterCombo.getItems(); String newText = filterCombo.getText(); //Only add new entries for (int i = 0; i < textValues.length; i++) { if(textValues[i].equals(newText)) return; } filterCombo.add(newText,0); }
3,226,510
public void nodeConnected(NodeManagerEvent e) { // Do not calculate, since memberJoined is always fired //calculateIfRequired(e); }
public void nodeConnected(NodeManagerEvent e) { // Do not calculate, since memberJoined is always fired //calculateIfRequired(e); }
3,226,511
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
void calculate() { if (isCalculating) { return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); return; } if (millisPast > DELAY |...
3,226,512
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { return; } if (millisPast > DELAY ||...
3,226,513
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
3,226,514
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
void calculate() { if (isCalculating) { log().verbose("calc stats blocked " + folder.getName()); return; } long millisPast = System.currentTimeMillis() - lastCalc; if (task != null) { log().verbose("calc stats blocked2 " + folder.getName()); re...
3,226,515
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { if (logVerbose) { log().verbose( "calc stats " + folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); } isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncP...
3,226,516
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,517
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,518
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,519
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,520
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,521
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
synchronized void calculate0() { log().verbose("calc stats " +folder.getName() + " stats@: " + (System.currentTimeMillis() - startTime)); isCalculating = true; //log().verbose("Recalculation statisitcs on " + folder); // clear statistics before syncPercentages.clear(); ...
3,226,522
public TransferCounter getDownloadCounter() { return downloadCounter; }
public TransferCounter getDownloadCounter() { return downloadCounter; }
3,226,523
private void setCalculateIn(int timeToWait) { if (task != null) { return; } task = new MyTimerTask(); try { getController().schedule(task, timeToWait); } catch(IllegalStateException ise) { //ignore this happends if this shutdown in debug mo...
private void setCalculateIn(int timeToWait) { if (task != null) { return; } task = new MyTimerTask(); try { getController().schedule(task, timeToWait); } catch(IllegalStateException ise) { //ignore this happends if this shutdown in debug mo...
3,226,524
private void setCalculateIn(int timeToWait) { if (task != null) { return; } task = new MyTimerTask(); try { getController().schedule(task, timeToWait); } catch(IllegalStateException ise) { //ignore this happends if this shutdown in debug mo...
private void setCalculateIn(int timeToWait) { if (task != null) { return; } task = new MyTimerTask(); try { getController().schedule(task, timeToWait); } catch (IllegalStateException ise) { //ignore this happends if this shutdown in debug m...
3,226,525
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...
3,226,526
protected void insertDataImage(ZipWriter zipWriter) throws Exception { StringBuffer sb = new StringBuffer(); Iterator itr = ImageServiceUtil.getImageById( COMPANY_ID + "%").iterator(); while (itr.hasNext()) { Image image = (Image)itr.next(); String imageId = image.getImageId(); boolean insert = true; if (...
protected void insertDataImage(ZipWriter zipWriter) throws Exception { StringBuffer sb = new StringBuffer(); Iterator itr = ImageServiceUtil.getImageById( COMPANY_ID + "%").iterator(); while (itr.hasNext()) { Image image = (Image)itr.next(); String imageId = image.getImageId(); boolean insert = true; if (...
3,226,527
private FontDefinition[] getDefinitions() { return FontDefinition.getDefinitions(); }
private FontDefinition[] getDefinitions() { return FontDefinition.getDefinitions(); }
3,226,529
private void updateForSelectedFontDefinition(FontDefinition definition) { FontData[] font = getFontDataSetting(definition); valueControl.setText(StringConverter.asString(font[0])); previewer.setFont(font); String text = definition.getDescription(); if (text == null || text.length() == 0) descriptionText.setText...
private void updateForSelectedFontDefinition(FontDefinition definition) { FontData[] font = getFontDataSetting(definition); valueControl.setText(StringConverter.asString(font[0])); previewer.setFont(font); String text = definition.getDescription(); if (text == null || text.length() == 0) descriptionText.setText...
3,226,530
private UIJob getUpdateJob() { UIJob job = new UIJob(WorkbenchMessages.getString("DecorationScheduler.UpdateJobName")) {//$NON-NLS-1$ public IStatus runInUIThread(IProgressMonitor monitor) { //Check again in case someone has already cleared it out. synchronized (resultLock) { if (pendingUpdate.isEmpty()) ...
private UIJob getUpdateJob() { UIJob job = new UIJob(WorkbenchMessages.getString("DecorationScheduler.UpdateJobName")) {//$NON-NLS-1$ public IStatus runInUIThread(IProgressMonitor monitor) { //Check again in case someone has already cleared it out. synchronized (resultLock) { if (pendingUpdate.isEmpty()) ...
3,226,532
public void done(IJobChangeEvent event) { //Reschedule if another update came in while we were working if(!pendingUpdate.isEmpty()) decorated(); }
public void done(IJobChangeEvent event) { //Reschedule if another update came in while we were working if(!pendingUpdate.isEmpty()) decorated(); }
3,226,533
public static IRubyObject autoload(IRubyObject recv, IRubyObject symbol, final IRubyObject file) { final ILoadService loadService = recv.getRuntime().getLoadService(); loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() { /** * @see org.jruby.runtime.load.IAutoloadM...
public static IRubyObject autoload(IRubyObject recv, IRubyObject symbol, final IRubyObject file) { final ILoadService loadService = recv.getRuntime().getLoadService(); loadService.addAutoload(symbol.asSymbol(), new IAutoloadMethod() { /** * @see org.jruby.runtime.load.IAutoloadM...
3,226,535
public IRubyObject load(Ruby runtime, String name) { loadService.require(file.toString()); return runtime.getClasses().getObjectClass().getConstant(name); }
public IRubyObject load(Ruby runtime, String name) { loadService.require(file.toString()); return runtime.getObject().getConstant(name); }
3,226,536
public static IRubyObject open(IRubyObject recv, IRubyObject[] args) { String arg = args[0].convertToString().getValue(); // Should this logic be pushed into RubyIO Somewhere? if (arg.startsWith("|")) { String command = arg.substring(1); // exec process, create IO with proces...
public static IRubyObject open(IRubyObject recv, IRubyObject[] args) { String arg = args[0].convertToString().getValue(); // Should this logic be pushed into RubyIO Somewhere? if (arg.startsWith("|")) { String command = arg.substring(1); // exec process, create IO with proces...
3,226,537
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); RubyString string = null; RubyException excptn = null; switch (args.length) { cas...
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); RubyString string = null; RubyException excptn = null; switch (args.length) { cas...
3,226,538
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); RubyString string = null; RubyException excptn = null; switch (args.length) { cas...
public static IRubyObject raise(IRubyObject recv, IRubyObject[] args) { // FIXME special case in ruby // recv.checkArgumentCount(args, 0, 2); Ruby runtime = recv.getRuntime(); RubyString string = null; RubyException excptn = null; switch (args.length) { cas...
3,226,539
public int getLeftDownDistance(Box box) { for(int i=0; i< left_floats.size(); i++) { Box floater = (Box) left_floats.get(i); if(floater.y + floater.height > box.y) { return floater.y + floater.height; } } return 0; }
public int getLeftDownDistance(Box box) { for(int i=0; i< left_floats.size(); i++) { Box floater = (Box) left_floats.get(i); if(floater.y + floater.height > box.y) { return floater.y + floater.height; } } return 0; }
3,226,540
public int getRightDownDistance(Box box) { for(int i=0; i< right_floats.size(); i++) { Box floater = (Box) right_floats.get(i); if(floater.y + floater.height > box.y) { return floater.y + floater.height; } } return 0; }
public int getRightDownDistance(Box box) { for(int i=0; i< right_floats.size(); i++) { Box floater = (Box) right_floats.get(i); if(floater.y + floater.height > box.y) { return floater.y + floater.height; } } return 0; }
3,226,542
public CallNode(ISourcePosition position, INode receiverNode, String name, IListNode argsNode) { super(position); this.receiverNode = receiverNode; this.name = name.intern(); this.argsNode = argsNode; }
public CallNode(ISourcePosition position, INode receiverNode, String name, INode argsNode) { super(position); this.receiverNode = receiverNode; this.name = name.intern(); this.argsNode = argsNode; }
3,226,544
public IListNode getArgsNode() { return argsNode; }
public INode getArgsNode() { return argsNode; }
3,226,545
public CategorySorter getCategorySorter() { if (categorySorter == null) categorySorter = new CategorySorter(view.getTableSorter()); return categorySorter; }
public CategorySorter getCategorySorter() { if (categorySorter == null) categorySorter = new CategorySorter(view.getTableSorter()); return categorySorter; }
3,226,546
public void doSetUp() throws Exception { // don't allow UITestCase to manage the deactivation of our window manageWindows(false); //window = (WorkbenchWindow)openTestWindow(); //initialize the window if (window == null) { window = (WorkbenchWindow) fWorkbench.openWorkbe...
page.hideView(page.findView("org.eclipse.ui.internal.introview")); page.hideView(page.findView("org.eclipse.ui.internal.introview")); page.hideView(page.findView("org.eclipse.ui.internal.introview")); page.hideView(page.findView("org.eclipse.ui.internal.introview")); publicpage.hideView(page.findView("org.eclipse.ui.in...
3,226,547
public com.liferay.portal.model.Group getGroup(java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException { PrincipalSessionBean.setThreadValues(_sc); return getService().getGroup(companyId, name); }
public com.liferay.portal.model.Group getGroup(java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException { PrincipalSessionBean.setThreadValues(_sc); return getService().getGroup(companyId, name); }
3,226,549
public com.liferay.portal.model.Group getGroup(java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException { PrincipalSessionBean.setThreadValues(_sc); return getService().getGroup(companyId, name); }
public com.liferay.portal.model.Group getGroup(java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException { PrincipalSessionBean.setThreadValues(_sc); return getService().getGroup(companyId, name); }
3,226,550
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
public void setCompanyId(String companyId) { if (((companyId == null) && (_companyId != null)) || ((companyId != null) && (_companyId == null)) || ((companyId != null) && (_companyId != null) && !companyId.equals(_companyId))) { if (!XSS_ALLOW_COMPANYID) { companyId = XSSUtil.strip(companyId); } _co...
3,226,551
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
public void setName(String name) { if (((name == null) && (_name != null)) || ((name != null) && (_name == null)) || ((name != null) && (_name != null) && !name.equals(_name))) { if (!XSS_ALLOW_NAME) { name = XSSUtil.strip(name); } _name = name; setModified(true); } }
3,226,552
public void setPrimKey(String primKey) { if (((primKey == null) && (_primKey != null)) || ((primKey != null) && (_primKey == null)) || ((primKey != null) && (_primKey != null) && !primKey.equals(_primKey))) { if (!XSS_ALLOW_PRIMKEY) { primKey = XSSUtil.strip(primKey); } _primKey = primKey; setModi...
public void setPrimKey(String primKey) { if (((primKey == null) && (_primKey != null)) || ((primKey != null) && (_primKey == null)) || ((primKey != null) && (_primKey != null) && !primKey.equals(_primKey))) { if (!XSS_ALLOW_PRIMKEY) { primKey = XSSUtil.strip(primKey); } _primKey = primKey; setModi...
3,226,553
public void setResourceId(String resourceId) { if (((resourceId == null) && (_resourceId != null)) || ((resourceId != null) && (_resourceId == null)) || ((resourceId != null) && (_resourceId != null) && !resourceId.equals(_resourceId))) { if (!XSS_ALLOW_RESOURCEID) { resourceId = XSSUtil.strip(resourceI...
public void setResourceId(String resourceId) { if (((resourceId == null) && (_resourceId != null)) || ((resourceId != null) && (_resourceId == null)) || ((resourceId != null) && (_resourceId != null) && !resourceId.equals(_resourceId))) { if (!XSS_ALLOW_RESOURCEID) { resourceId = XSSUtil.strip(resourceI...
3,226,554
public void setScope(String scope) { if (((scope == null) && (_scope != null)) || ((scope != null) && (_scope == null)) || ((scope != null) && (_scope != null) && !scope.equals(_scope))) { if (!XSS_ALLOW_SCOPE) { scope = XSSUtil.strip(scope); } _scope = scope; setModified(true); } }
public void setScope(String scope) { if (((scope == null) && (_scope != null)) || ((scope != null) && (_scope == null)) || ((scope != null) && (_scope != null) && !scope.equals(_scope))) { if (!XSS_ALLOW_SCOPE) { scope = XSSUtil.strip(scope); } _scope = scope; setModified(true); } }
3,226,555
public void setTypeId(String typeId) { if (((typeId == null) && (_typeId != null)) || ((typeId != null) && (_typeId == null)) || ((typeId != null) && (_typeId != null) && !typeId.equals(_typeId))) { if (!XSS_ALLOW_TYPEID) { typeId = XSSUtil.strip(typeId); } _typeId = typeId; setModified(true); } ...
public void setTypeId(String typeId) { if (((typeId == null) && (_typeId != null)) || ((typeId != null) && (_typeId == null)) || ((typeId != null) && (_typeId != null) && !typeId.equals(_typeId))) { if (!XSS_ALLOW_TYPEID) { typeId = XSSUtil.strip(typeId); } _typeId = typeId; setModified(true); } ...
3,226,556
protected Component getContent() { int row; initComponents(); FormLayout layout = new FormLayout( "right:pref, 7dlu, max(120dlu;pref):grow", "pref, 7dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 5dlu"); PanelBuilder builder = new PanelBuilde...
protected Component getContent() { int row; initComponents(); FormLayout layout = new FormLayout( "right:pref, 7dlu, max(120dlu;pref):grow", "pref, 7dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 3dlu, pref, 5dlu"); PanelBuilder builder = new PanelBuilde...
3,226,557
private void _buildCreate() throws IOException { // DB2 File file = new File("../sql/create/create-db2.sql"); StringBuffer sb = new StringBuffer(); sb.append("drop database lportal\n"); sb.append("create database lportal\n"); sb.append("connect to lportal\n"); sb.append(_readSQL("../sql/portal/portal-db2.sql", ...
private void _buildCreate() throws IOException { // DB2 File file = new File("../sql/create/create-db2.sql"); StringBuffer sb = new StringBuffer(); sb.append("drop database lportal\n"); sb.append("create database lportal\n"); sb.append("connect to lportal\n"); sb.append(_readSQL("../sql/portal/portal-db2.sql", ...
3,226,560
private void _buildCreate() throws IOException { // DB2 File file = new File("../sql/create/create-db2.sql"); StringBuffer sb = new StringBuffer(); sb.append("drop database lportal\n"); sb.append("create database lportal\n"); sb.append("connect to lportal\n"); sb.append(_readSQL("../sql/portal/portal-db2.sql", ...
private void _buildCreate() throws IOException { // DB2 File file = new File("../sql/create/create-db2.sql"); StringBuffer sb = new StringBuffer(); sb.append("drop database lportal\n"); sb.append("create database lportal\n"); sb.append("connect to lportal\n"); sb.append(_readSQL("../sql/portal/portal-db2.sql", ...
3,226,561
private void _buildSQL(String fileName) throws IOException { File file = new File("../sql/" + fileName + ".sql"); if (!file.exists()) { return; } // DB2 String db2 = _buildTemplate(fileName, _DB2, "db2"); db2 = _rewordDb2(db2); db2 = _removeLongInserts(db2); db2 = _removeNull(db2); db2 = StringUtil.replace(...
privateif (fileName.equals("indexes")) { sybase = _removeBooleanIndexes(sybase); } voidif (fileName.equals("indexes")) { sybase = _removeBooleanIndexes(sybase); } _buildSQL(Stringif (fileName.equals("indexes")) { sybase = _removeBooleanIndexes(sybase); } fileName)if (fileName.equals("indexes")) { sybase = _removeBo...
3,226,562
private void _buildSQL(String fileName) throws IOException { File file = new File("../sql/" + fileName + ".sql"); if (!file.exists()) { return; } // DB2 String db2 = _buildTemplate(fileName, _DB2, "db2"); db2 = _rewordDb2(db2); db2 = _removeLongInserts(db2); db2 = _removeNull(db2); db2 = StringUtil.replace(...
private void _buildSQL(String fileName) throws IOException { File file = new File("../sql/" + fileName + ".sql"); if (!file.exists()) { return; } // DB2 String db2 = _buildTemplate(fileName, _DB2, "db2"); db2 = _rewordDb2(db2); db2 = _removeLongInserts(db2); db2 = _removeNull(db2); db2 = StringUtil.replace(...
3,226,563
public int getGroupsSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETGROUPSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos...
public int getGroupsSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETGROUPSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos...
3,226,564
public int getRolesSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETROLESSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a...
public int getRolesSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETROLESSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a...
3,226,565
public int getUsersSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETUSERSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a...
public int getUsersSize(String pk) throws SystemException { Session session = null; try { session = openSession(); SQLQuery q = session.createSQLQuery(_SQL_GETUSERSSIZE); q.setCacheable(true); q.addScalar(HibernateUtil.getCountColumnName(), Hibernate.LONG); QueryPos qPos = QueryPos.getInstance(q); qPos.a...
3,226,566
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))...
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); BoxRendering.paint(c, box, false, restyle); return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", false))...
3,226,567
public com.liferay.portlet.journal.model.JournalArticle updateArticle( java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, int displayDateMonth, int displayDateDay, ...
public com.liferay.portlet.journal.model.JournalArticle updateArticle( java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, int displayDateMonth, int displayDateDay, ...
3,226,569
public com.liferay.portlet.journal.model.JournalArticle updateArticle( java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, int displayDateMonth, int displayDateDay, ...
public com.liferay.portlet.journal.model.JournalArticle updateArticle( java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.String templateId, int displayDateMonth, int displayDateDay, ...
3,226,570
private void fireTableModelEvent(final TableModelEvent te) { Runnable runner = new Runnable() { public void run() { for (int i = 0; i < listeners.size(); i++) { TableModelListener listener = listeners.get(i); listener.tableChanged(te); ...
private void fireTableModelEvent(final TableModelEvent te) { Runnable runner = new Runnable() { public void run() { for (int i = 0; i < listeners.size(); i++) { TableModelListener listener = listeners.get(i); listener.tableChanged(te); ...
3,226,571
public AutoThemeDeployer() { try { baseDir = OmniadminUtil.getAutoDeployDeployDir(); destDir = OmniadminUtil.getAutoDeployDestDir(); appServerType = ServerDetector.getServerId(); themeTaglibDTD = DeployUtil.getResourcePath("liferay-theme.tld"); utilTaglibDTD = DeployUtil.getResourcePath("liferay-util.tld");...
public AutoThemeDeployer() { try { baseDir = OmniadminUtil.getAutoDeployDeployDir(); destDir = OmniadminUtil.getAutoDeployDestDir(); appServerType = ServerDetector.getServerId(); themeTaglibDTD = DeployUtil.getResourcePath("liferay-theme.tld"); utilTaglibDTD = DeployUtil.getResourcePath("liferay-util.tld");...
3,226,572
public AutoThemeDeployer() { try { baseDir = OmniadminUtil.getAutoDeployDeployDir(); destDir = OmniadminUtil.getAutoDeployDestDir(); appServerType = ServerDetector.getServerId(); themeTaglibDTD = DeployUtil.getResourcePath("liferay-theme.tld"); utilTaglibDTD = DeployUtil.getResourcePath("liferay-util.tld");...
public AutoThemeDeployer() { try { baseDir = OmniadminUtil.getAutoDeployDeployDir(); destDir = OmniadminUtil.getAutoDeployDestDir(); appServerType = ServerDetector.getServerId(); themeTaglibDTD = DeployUtil.getResourcePath("liferay-theme.tld"); utilTaglibDTD = DeployUtil.getResourcePath("liferay-util.tld");...
3,226,573
public static RubyClass createRangeClass(Ruby ruby) { RubyClass rangeClass = ruby.defineClass("Range", ruby.getClasses().getObjectClass()); rangeClass.includeModule(ruby.getClasses().getEnumerableModule()); rangeClass.defineMethod("==", CallbackFactory.getMethod(RubyRange.class, "equal", IRubyO...
public static RubyClass createRangeClass(Ruby ruby) { RubyClass rangeClass = ruby.defineClass("Range", ruby.getClasses().getObjectClass()); rangeClass.includeModule(ruby.getClasses().getEnumerableModule()); rangeClass.defineMethod("==", CallbackFactory.getMethod(RubyRange.class, "equal", IRubyO...
3,226,574
public RubyFixnum length() { long size = 0; if (begin.callMethod(">", end).isTrue()) { return RubyFixnum.newFixnum(getRuntime(), 0); } if (begin instanceof RubyFixnum && end instanceof RubyFixnum) { size = ((RubyNumeric) end).getLongValue() - ((RubyNumeric) begin).g...
public RubyFixnum length() { long size = 0; if (begin.callMethod(">", end).isTrue()) { return RubyFixnum.newFixnum(getRuntime(), 0); } else { IRubyObject currentObject = begin; String compareMethod = (isExclusive ? "<" : "<="); while (currentObject.callMethod(compareMethod, end).isT...
3,226,575
public void setLayoutId(String layoutId) { if (((layoutId == null) && (_layoutId != null)) || ((layoutId != null) && (_layoutId == null)) || ((layoutId != null) && (_layoutId != null) && !layoutId.equals(_layoutId))) { if (!XSS_ALLOW_LAYOUTID) { layoutId = XSSUtil.strip(layoutId); } _layoutId = layo...
public void setLayoutId(String layoutId) { if (((layoutId == null) && (_layoutId != null)) || ((layoutId != null) && (_layoutId == null)) || ((layoutId != null) && (_layoutId != null) && !layoutId.equals(_layoutId))) { if (!XSS_ALLOW_LAYOUTID) { layoutId = XSSUtil.strip(layoutId); } _layoutId = layo...
3,226,577
public void setOwnerId(String ownerId) { if (((ownerId == null) && (_ownerId != null)) || ((ownerId != null) && (_ownerId == null)) || ((ownerId != null) && (_ownerId != null) && !ownerId.equals(_ownerId))) { if (!XSS_ALLOW_OWNERID) { ownerId = XSSUtil.strip(ownerId); } _ownerId = ownerId; setModi...
public void setOwnerId(String ownerId) { if (((ownerId == null) && (_ownerId != null)) || ((ownerId != null) && (_ownerId == null)) || ((ownerId != null) && (_ownerId != null) && !ownerId.equals(_ownerId))) { if (!XSS_ALLOW_OWNERID) { ownerId = XSSUtil.strip(ownerId); } _ownerId = ownerId; setModi...
3,226,578
public void setPortletId(String portletId) { if (((portletId == null) && (_portletId != null)) || ((portletId != null) && (_portletId == null)) || ((portletId != null) && (_portletId != null) && !portletId.equals(_portletId))) { if (!XSS_ALLOW_PORTLETID) { portletId = XSSUtil.strip(portletId); } _po...
public void setPortletId(String portletId) { if (((portletId == null) && (_portletId != null)) || ((portletId != null) && (_portletId == null)) || ((portletId != null) && (_portletId != null) && !portletId.equals(_portletId))) { if (!XSS_ALLOW_PORTLETID) { portletId = XSSUtil.strip(portletId); } _po...
3,226,579
public void setPreferences(String preferences) { if (((preferences == null) && (_preferences != null)) || ((preferences != null) && (_preferences == null)) || ((preferences != null) && (_preferences != null) && !preferences.equals(_preferences))) { if (!XSS_ALLOW_PREFERENCES) { preferences = XSSUtil.str...
public void setPreferences(String preferences) { if (((preferences == null) && (_preferences != null)) || ((preferences != null) && (_preferences == null)) || ((preferences != null) && (_preferences != null) && !preferences.equals(_preferences))) { if (!XSS_ALLOW_PREFERENCES) { preferences = XSSUtil.str...
3,226,580
public FastViewBar(WorkbenchWindow theWindow) { window = theWindow; window.addPerspectiveListener(new IPerspectiveListener() { public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); } ...
public FastViewBar(WorkbenchWindow theWindow) { window = theWindow; window.addPerspectiveListener(new IPerspectiveListener() { public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); } ...
3,226,581
public FastViewBar(WorkbenchWindow theWindow) { window = theWindow; window.addPerspectiveListener(new IPerspectiveListener() { public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); } ...
public FastViewBar(WorkbenchWindow theWindow) { window = theWindow; window.addPerspectiveListener(new IPerspectiveListener() { public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); } ...
3,226,582
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); }
public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) { update(true); }
3,226,583
public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) { update(true); }
public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) { update(true); }
3,226,584
protected void processDelta(IResourceDelta delta) { // This method runs inside a syncExec. The widget may have been destroyed // by the time this is run. Check for this and do nothing if so. Control ctrl = viewer.getControl(); if (ctrl == null || ctrl.isDisposed()) return; // Get the affected resource IResource reso...
protected void processDelta(IResourceDelta delta) { // This method runs inside a syncExec. The widget may have been destroyed // by the time this is run. Check for this and do nothing if so. Control ctrl = viewer.getControl(); if (ctrl == null || ctrl.isDisposed()) return; // Get the affected resource IResource reso...
3,226,585
protected void processDelta(IResourceDelta delta) { // This method runs inside a syncExec. The widget may have been destroyed // by the time this is run. Check for this and do nothing if so. Control ctrl = viewer.getControl(); if (ctrl == null || ctrl.isDisposed()) return; // Get the affected resource IResource reso...
protected void processDelta(IResourceDelta delta) { // This method runs inside a syncExec. The widget may have been destroyed // by the time this is run. Check for this and do nothing if so. Control ctrl = viewer.getControl(); if (ctrl == null || ctrl.isDisposed()) return; // Get the affected resource IResource reso...
3,226,586
public void createControl(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.NEW_PROJECT_CAPABILITY_WIZARD_PAGE); CapabilityRegistry reg = WorkbenchPlugin.getDefault().getCapabilityRegistry(); capabilityGroup = new ProjectCapabilitySelectionGroup(initialSelectedCategories, initialProjectCapabilities,...
public void createControl(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.NEW_PROJECT_CAPABILITY_WIZARD_PAGE); CapabilityRegistry reg = WorkbenchPlugin.getDefault().getCapabilityRegistry(); capabilityGroup = new ProjectCapabilitySelectionGroup(initialSelectedCategories, initialProjectCapabilities,...
3,226,587
public void handleSetChange(IObservableSet source, SetDiff diff) { processAddsAndRemoves(diff.getAdditions(), diff.getRemovals()); }
public void handleSetChange(IObservableSet source, SetDiff diff) { processAddsAndRemoves(diff.getAdditions(), diff.getRemovals()); }
3,226,588
public int update(DynDnsUpdateData updateData) { SocketChannel channel = null; Pattern p = null; Matcher m = null; String host2update = updateData.host; String host = "members.dyndns.org"; String newIP = getController().getDynDnsManager().getDyndnsViaHTTP(); String a...
public int update(DynDnsUpdateData updateData) { SocketChannel channel = null; Pattern p = null; Matcher m = null; String host2update = updateData.host; String host = "members.dyndns.org"; String newIP = getController().getDynDnsManager().getDyndnsViaHTTP(); String a...
3,226,589
public int update(DynDnsUpdateData updateData) { SocketChannel channel = null; Pattern p = null; Matcher m = null; String host2update = updateData.host; String host = "members.dyndns.org"; String newIP = getController().getDynDnsManager().getDyndnsViaHTTP(); String a...
public int update(DynDnsUpdateData updateData) { SocketChannel channel = null; Pattern p = null; Matcher m = null; String host2update = updateData.host; String host = "members.dyndns.org"; String newIP = getController().getDynDnsManager().getDyndnsViaHTTP(); String a...
3,226,590