bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
private void initGUI() { try { this.setSize(600, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | private void initGUI() { try { this.setSize(600, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | 1,115,707 |
private synchronized String chooseAction() { if(tagName!=null) return "alreadyTagged.jsp"; if(workerThread!=null) return "inProgress.jsp"; return "tagForm.jsp"; } | private synchronized String chooseAction() { if(tagName!=null) return "alreadyTagged.jelly"; if(workerThread!=null) return "inProgress.jsp"; return "tagForm.jsp"; } | 1,115,711 |
private synchronized String chooseAction() { if(tagName!=null) return "alreadyTagged.jsp"; if(workerThread!=null) return "inProgress.jsp"; return "tagForm.jsp"; } | private synchronized String chooseAction() { if(tagName!=null) return "alreadyTagged.jsp"; if(workerThread!=null) return "inProgress.jsp"; return "tagForm.jsp"; } | 1,115,712 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public WriteStats writeRelationships(Table table, boolean includeImplied, boolean twoDegreesOfSeparation, LineWriter out) throws IOException { Set tablesWritten = new HashSet(); WriteStats stats = new WriteStats(); boolean[] wroteImplied = new boolean[1]; DotTableFormatter formatter = new DotTableFormatter()... | 1,115,713 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | 1,115,714 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); writeDotHeade... | 1,115,715 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | 1,115,716 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | 1,115,717 |
public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | public int writeRelationships(Collection tables, boolean includeImplied, LineWriter out) throws IOException { DotTableFormatter formatter = new DotTableFormatter(); int numWritten = 0; writeDotHeader(includeImplied ? "allRelationshipsGraph" : "realRelationshipsGraph", out); Iterator iter... | 1,115,718 |
void sbCharacters(String s){ if (currentList.equals("FERMENTABLES")) { if (currentElement.equalsIgnoreCase("MALT")) { m.setName(s); } else if (currentElement.equalsIgnoreCase("AMOUNT")) { m.setAmount(Double.parseDouble(s)); } else if (currentElement.equalsIgnoreCase("POINTS")) { m.setPppg(Double.parseD... | void sbCharacters(String s){ if (currentList.equals("FERMENTABLES")) { if (currentElement.equalsIgnoreCase("MALT")) { m.setName(s); } else if (currentElement.equalsIgnoreCase("AMOUNT")) { m.setAmount(Double.parseDouble(s)); } else if (currentElement.equalsIgnoreCase("POINTS")) { m.setPppg(Double.parseD... | 1,115,720 |
public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info --xml "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | 1,115,721 |
public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | 1,115,722 |
public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | 1,115,723 |
public SeismogramIterator(String name, LocalSeismogramImpl[] seismograms, MicroSecondTimeRange timeRange){ this.name = name; if(seismograms.length > 0){ LocalSeismogramImpl[] seis = this.seismograms = DisplayUtils.sortByDate(seismogr... | public SeismogramIterator(String name, LocalSeismogramImpl[] seismograms, MicroSecondTimeRange timeRange){ this.name = name; if(seismograms.length > 0){ LocalSeismogramImpl[] seis = this.seismograms = DisplayUtils.sortByDate(seismogr... | 1,115,724 |
public QuantityImpl getValueAt(int position){ try{ System.out.println(this + " getting value at"); Object[] seisAndPoint = getSeisAtWithInternal(position); LocalSeismogramImpl seis = (LocalSeismogramImpl)seisAndPoint[0]; Integer point = (Integer)seisAndPoint[1]; ... | public QuantityImpl getValueAt(int position){ try{ Object[] seisAndPoint = getSeisAtWithInternal(position); LocalSeismogramImpl seis = (LocalSeismogramImpl)seisAndPoint[0]; Integer point = (Integer)seisAndPoint[1]; return seis.getValueAt(point.intValue(... | 1,115,725 |
public Conn(String url, String filename) throws SQLException { // TODO: library variable to explicitly control load type // attempt to use the Native library first try { Class nativedb = Class.forName("org.sqlite.NativeDB"); if (((Boolean)nativedb.getDeclaredMethod("load",... | public Conn(String url, String filename) throws SQLException { // TODO: library variable to explicitly control load type // attempt to use the Native library first try { Class nativedb = Class.forName("org.sqlite.NativeDB"); if (((Boolean)nativedb.getDeclaredMethod("load",... | 1,115,726 |
private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.nextBuild; value.previousBuild = prev; if... | private R update(TreeMap<Integer, R> m, Integer key, R value) { R r = m.put(key, value); SortedMap<Integer,R> head = m.headMap(key); if(!head.isEmpty()) { R prev = m.get(head.lastKey()); value.nextBuild = prev.nextBuild; value.previousBuild = prev; if... | 1,115,727 |
public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | 1,115,728 |
public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | 1,115,729 |
public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | public static UnitRangeImpl getRealWorldUnitRange(UnitRangeImpl ur, DataSetSeismogram seismo) { UnitImpl realWorldUnit = ur.getUnit(); // this is the constant to divide by to get real worl units (not counts) float sensitivity = 1.0f; if(realWorldUnit.equals(UnitImpl.COUNT)){ O... | 1,115,730 |
final void powN(int n){ double r = stack[--sp]; switch(n){ case 0: r = 1.0; break; case 1: break; case 2: r *= r; break; case 3: r *= r*r; break; case 4: r *= r*r*r; break; case 5: r *= r*r*r*r; break; default: r = Math.pow(r,n); break; } stack[sp++] = r; } | final void powN(short n){ double r = stack[--sp]; switch(n){ case 0: r = 1.0; break; case 1: break; case 2: r *= r; break; case 3: r *= r*r; break; case 4: r *= r*r*r; break; case 5: r *= r*r*r*r; break; default: r = Math.pow(r,n); break; } stack[sp++] = r; } | 1,115,731 |
final void powN(int n){ double r = stack[--sp]; switch(n){ case 0: r = 1.0; break; case 1: break; case 2: r *= r; break; case 3: r *= r*r; break; case 4: r *= r*r*r; break; case 5: r *= r*r*r*r; break; default: r = Math.pow(r,n); break; } stack[sp++] = r; } | final void powN(int n){ double r = stack[--sp]; switch(n){ case 0: r = 1.0; break; case 1: break; case 2: r *= r; break; case 3: r *= r*r; break; case 4: r *= r*r*r; break; case 5: r *= r*r*r*r; break; default: { short bitMask = n; double evenPower = r; double result; if ( (bitMask & 1) !... | 1,115,732 |
public MatrixValueI calcValue(MatrixValueI res,MatrixValueI param1,MatrixValueI param2) throws ParseException { if(param1 instanceof Scaler) { if(param2 instanceof Scaler) { // Scaler * Scaler -> Scaler res.setEle(0,super.mul(param1.getEle(0),param2.getEle(0))); } else if(param2 instanceof MVector) { ... | public MatrixValueI calcValue(MatrixValueI res,MatrixValueI param1,MatrixValueI param2) throws ParseException { if(param1 instanceof Scaler) { if(param2 instanceof Scaler) { // Scaler * Scaler -> Scaler res.setEle(0,super.mul(param1.getEle(0),param2.getEle(0))); } else if(param2 instanceof MVector) { ... | 1,115,735 |
public Object acosh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.acosh(); } else if (param instanceof Complex) { return ((Complex)param).acosh(); } throw new ParseException("Invalid parameter type"); } | public Object acosh(Object param) throws ParseException { if (param instanceof Complex) { return ((Complex)param).acosh(); } else if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.acosh(); } else if (param instanceof Complex) { return ((Complex)par... | 1,115,736 |
public Object acosh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.acosh(); } else if (param instanceof Complex) { return ((Complex)param).acosh(); } throw new ParseException("Invalid parameter type"); } | public Object acosh(Object param) throws ParseException { if (param instanceof Number) { Complex temp = new Complex(((Number)param).doubleValue(),0.0); return temp.acosh(); } else if (param instanceof Complex) { return ((Complex)param).acosh(); } throw new ParseException("Invalid parameter type"); } | 1,115,737 |
public Object getEle(int n) { int i = n / rows; int j = n % rows; return data[i][j]; } | public Object getEle(int n) { int i = n / rows; int j = n % rows; return data[i][j]; } | 1,115,738 |
public void setEle(int n,Object value) { int i = n / rows; int j = n % rows; data[i][j] = value; } | public void setEle(int n,Object value) { int i = n / rows; int j = n % rows; data[i][j] = value; } | 1,115,739 |
private void initGUI() { try { this.setSize(520, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | private void initGUI() { try { this.setSize(520, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | 1,115,740 |
private void initGUI() { try { this.setSize(520, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | private void initGUI() { try { this.setSize(520, 532); this.addWindowListener(new WindowAdapter() { public void windowClosed(WindowEvent evt) { System.exit(1); } }); { pnlMain = new JPanel(); GridBagLayout jPanel2Layout = new GridBagLayout(); jPanel2Layout.columnWeights = new double[]{0.1};... | 1,115,741 |
public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | public static SvnInfo parse(String subject, Map env, FilePath workspace, TaskListener listener) throws IOException { String cmd = DESCRIPTOR.getSvnExe()+" info "+subject; listener.getLogger().println("$ "+cmd); ByteArrayOutputStream baos = new ByteArrayOutputStream(); ... | 1,115,742 |
private Map<String,SvnInfo> buildRevisionMap(FilePath workspace, TaskListener listener) throws IOException { PrintStream logger = listener.getLogger(); Map<String/*module name*/,SvnInfo> revisions = new HashMap<String,SvnInfo>(); Map env = createEnvVarMap(); // invoke the "svn info" ... | private Map<String,SvnInfo> buildRevisionMap(FilePath workspace, TaskListener listener) throws IOException { PrintStream logger = listener.getLogger(); Map<String/*module name*/,SvnInfo> revisions = new HashMap<String,SvnInfo>(); Map env = createEnvVarMap(false); // invoke the "svn info"... | 1,115,744 |
private boolean calcChangeLog(Build build, File changelogFile, Launcher launcher, BuildListener listener) throws IOException { if(build.getPreviousBuild()==null) { // nothing to compare against return createEmptyChangeLog(changelogFile, listener, "log"); } PrintStream logg... | private boolean calcChangeLog(Build build, File changelogFile, Launcher launcher, BuildListener listener) throws IOException { if(build.getPreviousBuild()==null) { // nothing to compare against return createEmptyChangeLog(changelogFile, listener, "log"); } PrintStream logg... | 1,115,745 |
public boolean pollChanges(Project project, Launcher launcher, FilePath workspace, TaskListener listener) throws IOException { // current workspace revision Map<String,SvnInfo> wsRev = buildRevisionMap(workspace,listener); Map env = createEnvVarMap(); // check the corresponding remote re... | public boolean pollChanges(Project project, Launcher launcher, FilePath workspace, TaskListener listener) throws IOException { // current workspace revision Map<String,SvnInfo> wsRev = buildRevisionMap(workspace,listener); Map env = createEnvVarMap(false); // check the corresponding remo... | 1,115,746 |
public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | 1,115,747 |
public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | public void displayRecipe() { if (myRecipe == null) return; txtName.setText(myRecipe.getName()); brewerNameText.setText(myRecipe.getBrewer()); txtPreBoil.setValue(new Double(myRecipe.getPreBoilVol(myRecipe.getVolUnits()))); lblSizeUnits.setText(myRecipe.getVolUnits()); postBoilText.setValue(new Double(myRecipe... | 1,115,748 |
private void setupIcons() { IconPack iconPack = GUIRegistry.getInstance().getPlafIconPack(); defProgressIcon = iconPack.getIcon( "Download.Overview.Progress" ); twinkleProgressIcon = iconPack.getIcon( "Download.Overview.ProgressAni" ); progressIconLabel.setIcon( defPro... | private void setupIcons() { IconPack iconPack = GUIRegistry.getInstance().getPlafIconPack(); defProgressIcon = iconPack.getIcon( "Download.Overview.Progress" ); twinkleProgressIcon = iconPack.getIcon( "Download.Overview.ProgressAni" ); progressIconLabel.setIcon( defPro... | 1,115,749 |
public Event nonUnique(RequestContext context) { IdentityForm form = doGetForm(context); //TODO non unique identity return success(); } | public Event nonUnique(RequestContext context) { IdentityForm form = doGetForm(context); //TODO non unique identity return error(); } | 1,115,750 |
public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } errorFlag = false; // evaluate by letti... | public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } errorFlag = false; // evaluate by letti... | 1,115,752 |
public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } errorFlag = false; // evaluate by letti... | public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } errorFlag = false; // evaluate by letti... | 1,115,753 |
public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } errorFlag = false; // evaluate by letti... | public Object getValue(Node topNode, Vector errorList_in, SymbolTable symTab_in) throws Exception { errorList = errorList_in; symTab = symTab_in; if (topNode == null) { throw new Exception( "EvaluatorVisitor.getValue(): topNode parameter is null"); } // evaluate by letting the top node ac... | 1,115,754 |
public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | 1,115,755 |
public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | 1,115,756 |
public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | 1,115,757 |
public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | 1,115,758 |
public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | public QueryResponseMsg( MsgHeader header, byte[] aBody ) throws InvalidMessageException { super( header ); getHeader().setPayloadType(MsgHeader.QUERY_HIT_PAYLOAD); body = aBody; header.setDataLength( body.length ); // validate port int port = IOUtil.unsigned... | 1,115,759 |
public boolean mkdirs() { return local.mkdirs(); } | public boolean mkdirs() { return local.mkdirs(); } | 1,115,760 |
public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); if ((param1 instanceof Complex) && (param2 instanceof Complex)) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)pa... | public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); Object res=null; switch(id) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)param2,tolerance) ? 0 : 1; break; ... | 1,115,761 |
public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); if ((param1 instanceof Complex) && (param2 instanceof Complex)) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)pa... | public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); if ((param1 instanceof Complex) && (param2 instanceof Complex)) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)pa... | 1,115,762 |
public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); if ((param1 instanceof Complex) && (param2 instanceof Complex)) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)pa... | public void run(Stack inStack) throws ParseException { checkStack(inStack);// check the stack Object param2 = inStack.pop(); Object param1 = inStack.pop(); if ((param1 instanceof Complex) && (param2 instanceof Complex)) { int r; switch (id) { case NE: r = ((Complex)param1).equals((Complex)pa... | 1,115,763 |
public synchronized SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ //logger.debug("Getting Iterator"); if(softIterator != null){ SeismogramIterator it = (SeismogramIterator)softIterator.get(); if(!changed && it != null){ if(it.getTimeRange().equals... | public synchronized SeismogramIterator getIterator(MicroSecondTimeRange timeRange){ //logger.debug("Getting Iterator"); if(softIterator != null){ SeismogramIterator it = (SeismogramIterator)softIterator.get(); if(!changed && it != null){ if(it.getTimeRange().equals... | 1,115,764 |
public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | 1,115,765 |
public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | 1,115,766 |
public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | public Object getValueAt(int row, int col) { // Fermentable m = (Fermentable) data.get(row); try { switch (col) { case 0 : return data.getMaltName(row); case 1 : return new Double(SBStringUtils.df1.format(data .getMaltAmountAs(row, data.getMaltUnits(row)))); case 2 : return data.getMaltU... | 1,115,767 |
public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | 1,115,768 |
public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | 1,115,769 |
public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | public void processResponse( QueryResponseMsg msg ) { SwarmingManager swarmingMgr = SwarmingManager.getInstance(); long speed = msg.getRemoteHostSpeed(); GUID rcID = msg.getRemoteClientID(); DestAddress address = msg.getDestAddress(); QueryHitHost qhHost = new QueryHitH... | 1,115,770 |
public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Complex) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return... | 1,115,771 |
public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | 1,115,772 |
public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | 1,115,773 |
public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Complex) return mul((Vector)param1, (Complex)param2); else if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul(... | 1,115,774 |
public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | public Object mul(Object param1, Object param2) throws ParseException { if (param1 instanceof Number) { if (param2 instanceof Number) return mul((Number)param1, (Number)param2); else if (param2 instanceof Complex) return mul((Complex)param2, (Number)param1); else if (param2 instanceof Vector) return ... | 1,115,775 |
public SWDownloadCandidate(DestAddress address, URI downloadUri, SWDownloadFile file) throws URIException { availableScopeList = null; downloadFile = file; fileName = URLUtil.getPathQueryFromUri( downloadUri ); this.downloadURI = downloadUri; resourceURN = URLUti... | public SWDownloadCandidate(DestAddress address, URI downloadUri, SWDownloadFile file) throws URIException { availableScopeList = null; downloadFile = file; fileName = URLUtil.getPathQueryFromUri( downloadUri ); this.downloadURI = downloadUri; resourceURN = URLUti... | 1,115,776 |
public SWDownloadCandidate(DestAddress address, URI downloadUri, SWDownloadFile file) throws URIException { availableScopeList = null; downloadFile = file; fileName = URLUtil.getPathQueryFromUri( downloadUri ); this.downloadURI = downloadUri; resourceURN = URLUti... | public SWDownloadCandidate(DestAddress address, URI downloadUri, SWDownloadFile file) throws URIException { availableScopeList = null; downloadFile = file; fileName = URLUtil.getPathQueryFromUri( downloadUri ); this.downloadURI = downloadUri; resourceURN = URLUti... | 1,115,777 |
Object getService() { synchronized (tracking) { if (tracking.isEmpty()) { return null; } return getService((ServiceReference) tracking.get(0)); } } | Object getService(Object bindObject) { synchronized (tracking) { if (tracking.isEmpty()) { return null; } return getService((ServiceReference) tracking.get(0)); } } | 1,115,778 |
Object getService() { synchronized (tracking) { if (tracking.isEmpty()) { return null; } return getService((ServiceReference) tracking.get(0)); } } | Object getService() { synchronized (tracking) { if (tracking.isEmpty()) { return null; } return getService(bindObject, (ServiceReference) tracking.get(0)); } } | 1,115,779 |
private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | 1,115,780 |
private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } tracking.add(i, ref); ... | 1,115,781 |
private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | 1,115,782 |
private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | private void includeService(ServiceReference ref, Object cached) { synchronized (tracking) { if (tracking.isEmpty()) { tracking.add(0, ref); if (cached != null) { objects.put(ref, cached); } return; } ... | 1,115,783 |
public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCES); if (duplexRefList != null) { Class implClass =... | 1,115,784 |
public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | 1,115,785 |
public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | 1,115,786 |
public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | public void serviceChanged(ServiceEvent event) { ServiceReference ref = event.getServiceReference(); ArrayList<DuplexReference> duplexRefList = (ArrayList) ref .getProperty(org.bamja.core.impl.Constants.DUPLEX_REFERENCE); if (duplexRefList != null) { Class implClass = ... | 1,115,787 |
private synchronized void maintain() { for (Project p : blockedProjects) { Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed blockedProjects.remove(p); buildables.add(p); ... | private synchronized void maintain() { Iterator<Project> itr = blockedProjects.iterator(); while(itr.hasNext()) { Project p = itr.next(); Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed blocked... | 1,115,788 |
private synchronized void maintain() { for (Project p : blockedProjects) { Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed blockedProjects.remove(p); buildables.add(p); ... | private synchronized void maintain() { for (Project p : blockedProjects) { Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed itr.remove(); buildables.add(p); } } ... | 1,115,789 |
private synchronized void maintain() { for (Project p : blockedProjects) { Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed blockedProjects.remove(p); buildables.add(p); ... | private synchronized void maintain() { for (Project p : blockedProjects) { Build lastBuild = p.getLastBuild(); if (lastBuild == null || !lastBuild.isBuilding()) { // ready to be executed blockedProjects.remove(p); buildables.add(p); ... | 1,115,790 |
public void doProgressiveLog( StaplerRequest req, StaplerResponse rsp) throws IOException { rsp.setContentType("text/plain"); rsp.setCharacterEncoding("UTF-8"); rsp.setStatus(HttpServletResponse.SC_OK); boolean completed = !isBuilding(); LargeText text = new LargeText(getLogFile()... | public void doProgressiveLog( StaplerRequest req, StaplerResponse rsp) throws IOException { rsp.setContentType("text/plain"); rsp.setCharacterEncoding("UTF-8"); rsp.setStatus(HttpServletResponse.SC_OK); boolean completed = !isBuilding(); File logFile = getLogFile(); if(!logFile.ex... | 1,115,791 |
public void start(BundleContext bc) throws Exception { this.bc = bc; log = new LogRef(bc); SCR.init(bc); } | public void start(BundleContext bc) throws Exception { Activator.bc = bc; log = new LogRef(bc); SCR.init(bc); } | 1,115,792 |
public Map<Project,RangeSet> getDownstreamBuilds() { Map<Project,RangeSet> r = new HashMap<Project,RangeSet>(); for (Project p : getParent().getDownstreamProjects()) { r.put(p,getDownstreamRelationship(p)); } return r; } | public Map<Project,RangeSet> getDownstreamBuilds() { Map<Project,RangeSet> r = new HashMap<Project,RangeSet>(); for (Project p : getParent().getDownstreamProjects()) { if(p.isFingerprintConfigured()) r.put(p,getDownstreamRelationship(p)); } return r; } | 1,115,793 |
public ASTFunNode buildFunctionNode(String name,PostfixMathCommandI pfmc,Node[] arguments) throws ParseException { ASTMFunNode res = new ASTMFunNode(ParserTreeConstants.JJTFUNNODE); res.setFunction(name,pfmc); copyChildren(res,arguments); // TODO whats the dim? res.setDim(Dimensions.ONE); return res; } | public ASTFunNode buildFunctionNode(String name,PostfixMathCommandI pfmc,Node[] arguments) throws ParseException { ASTMFunNode res = new ASTMFunNode(ParserTreeConstants.JJTFUNNODE); res.setFunction(name,pfmc); copyChildren(res,arguments); // TODO whats the dim? res.setDim(calcDim(name,pfmc,arguments)); return re... | 1,115,794 |
public void shaleTime(double shift, double scale, DataSetSeismogram[] seismos){ this.shift += shift * this.scale; this.scale *= scale; time = time.shale(shift, scale); for(int i = 0; i < seismos.length; i++){ seismoTimes.put(seismos[i], time); } fireTimeEvent(); } | public void shaleTime(double shift, double scale, DataSetSeismogram[] seismos){ this.shift += shift * this.scale; this.scale *= scale; time = time.shale(shift, scale); for(int i = 0; i < seismos.length; i++){ seismoTimes.put(seismos[i], time); } fireTimeEvent(); } | 1,115,795 |
public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); // temporary hack till we figure out what's causing this bug while(r!=null && r.getResult()!=null && (r.isBuilding() || r.getResult().isWorseThan(Result.UNSTABLE))) r=r.getPreviousBuild(); return r; ... | public synchronized RunT getLastSuccessfulBuild() { RunT r = getLastBuild(); // temporary hack till we figure out what's causing this bug while(r!=null && r.getResult()==null && (r.isBuilding() || r.getResult().isWorseThan(Result.UNSTABLE))) r=r.getPreviousBuild(); return r; ... | 1,115,796 |
public void startTimer() { if (timer == null) { timer = new javax.swing.Timer((int)update.convertTo(UnitImpl.MILLISECOND).value, new ActionListener() { public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); Tim... | public void startTimer() { if (timer == null) { timer = new javax.swing.Timer((int)update.convertTo(UnitImpl.MILLISECOND).value, new ActionListener() { public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate().add(offs... | 1,115,797 |
public void startTimer() { if (timer == null) { timer = new javax.swing.Timer((int)update.convertTo(UnitImpl.MILLISECOND).value, new ActionListener() { public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); Tim... | public void startTimer() { if (timer == null) { timer = new javax.swing.Timer((int)update.convertTo(UnitImpl.MILLISECOND).value, new ActionListener() { public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); Tim... | 1,115,798 |
public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); TimeInterval timeInterval = new TimeInterval(lastDate, now); timeInterval = timeInterval.add(offset); width = (TimeInterval)timeInterval.multiplyBy(speed);... | public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate().add(offset); TimeInterval timeInterval = new TimeInterval(lastDate, now); timeInterval = timeInterval.add(offset); width = (TimeInterval)timeInterval.multip... | 1,115,799 |
public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); TimeInterval timeInterval = new TimeInterval(lastDate, now); timeInterval = timeInterval.add(offset); width = (TimeInterval)timeInterval.multiplyBy(speed);... | public void actionPerformed(ActionEvent e) { if (beginTime != null && speed != 0) { MicroSecondDate now = new MicroSecondDate(); TimeInterval timeInterval = new TimeInterval(lastDate, now); width = (TimeInterval)timeInterval.multiplyBy(speed); lastDate = now; setAllBeginTime... | 1,115,800 |
public void setTimeConfig(TimeRangeConfig newTimeConfig){ timeConfig.removeTimeSyncListener(this); Iterator e = seismos.keySet().iterator(); timeFinder = newTimeConfig.getTimeFinder(); newTimeConfig.addTimeSyncListener(this); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); time... | public void setTimeConfig(TimeRangeConfig newTimeConfig){ timeConfig.removeTimeSyncListener(this); Iterator e = seismos.keySet().iterator(); timeFinder = newTimeConfig.getTimeFinder(); newTimeConfig.addTimeSyncListener(this); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); time... | 1,115,801 |
RCSFile(final String name, final String rev) { this(name, rev, null, false); } | RCSFile(final String name, final String rev) { this(name, rev, null, false); } | 1,115,803 |
public void bind(Object instance, Bundle bundle) { if (bundle == null) { return; } String filterString = "(&(" + org.osgi.framework.Constants.OBJECTCLASS + "=" + interfaceName + ")" + "(" + Constants.BUNDLE_ID + "=" + bundle.getBundleId() + "))"; ... | public void bind(Object instance, Bundle bundle) { if (bundle == null) { return; } String filterString = "(&(" + org.osgi.framework.Constants.OBJECTCLASS + "=" + interfaceName + ")" + "(" + Constants.BUNDLE_ID + "=" + bundle.getBundleId() + "))"; ... | 1,115,804 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | private void invokeEventMethod(Object instance, String methodName, Object duplexObject) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servic... | 1,115,805 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | 1,115,806 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | 1,115,807 |
private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | private void invokeEventMethod(Object instance, String methodName, ServiceReference ref) { if (methodName == null) { return; } Class instanceClass = instance.getClass(); Bundle bundle = ref.getBundle(); Class serviceClass = null; try { servi... | 1,115,808 |
public void unbind(Object instance) { if (this.bound == null) { return; } invokeEventMethod(instance, unbindMethodName, bound); this.context.ungetService(bound); } | public void unbind(Object instance) { if (this.bound == null) { return; } invokeEventMethod(instance, unbindMethodName, bound); this.context.ungetService(bound); } | 1,115,809 |
public void unbind(Object instance) { if (this.bound == null) { return; } invokeEventMethod(instance, unbindMethodName, bound); this.context.ungetService(bound); } | public void unbind(Object instance) { if (this.bound == null) { return; } invokeEventMethod(instance, unbindMethodName, bound); this.context.ungetService(bound); } | 1,115,810 |
public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | 1,115,812 |
public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | 1,115,813 |
public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | 1,115,814 |
public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | 1,115,815 |
public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | public String toXML(){ StringBuffer sb = new StringBuffer(); int indent = 0; sb.append(" <style>\n"); // this is the BJCP style dtd: sb.append(" <subcategory id=\"" + catNum + "\">"); indent = 4; sb.append(xmlElement("name", name, indent)); sb.append(xmlElement("aroma", aroma, indent)); ... | 1,115,816 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.