bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
1,116,508
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
1,116,509
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
1,116,510
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
private void initGUI() { try { // restore the saved size and location: this.setSize(preferences.getIProperty("winWidth"), preferences.getIProperty("winHeight")); this.setLocation(preferences.getIProperty("winX"), preferences.getIProperty("winY")); imgURL = getClass().getClassLoader().getResource("ca...
1,116,511
public void stateChanged(ChangeEvent evt) { myRecipe.setEfficiency(Double.parseDouble(spnEffic.getValue() .toString())); displayRecipe(); }
public void stateChanged(ChangeEvent evt) { myRecipe.setEstOg(Double.parseDouble(spnOG.getValue() .toString())); displayRecipe(); }
1,116,512
public void stateChanged(ChangeEvent evt) { myRecipe.setAttenuation(Double.parseDouble(spnAtten.getValue() .toString())); displayRecipe(); }
public void stateChanged(ChangeEvent evt) { myRecipe.setEstFg(Double.parseDouble(spnFG.getValue() .toString())); displayRecipe(); }
1,116,513
public void actionPerformed(ActionEvent evt) { System.out.println("jButton2.actionPerformed, event=" + evt); //TODO add your code for jButton2.actionPerformed }
public void actionPerformed(ActionEvent evt) { String u = (String) maltTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setMaltUnits(u); displayRecipe(); } //TODO add your code for jButton2.actionPerformed }
1,116,514
public void actionPerformed(ActionEvent evt) { String u = (String) maltTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setMaltUnits(u); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { String u = (String) maltTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setMaltUnits(u); displayRecipe(); } }
1,116,515
public void actionPerformed(ActionEvent evt) { String u = (String) maltTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setMaltUnits(u); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { String u = (String) maltTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setMaltUnits(u); displayRecipe();
1,116,516
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Fermentable f = new Fermentable(myRecipe.getMaltUnits()); myRecipe.addMalt(f); maltTable.updateUI(); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Fermentable f = new Fermentable(myRecipe.getMaltUnits()); myRecipe.addMalt(f); maltTable.updateUI(); displayRecipe(); } }
1,116,517
public void actionPerformed(ActionEvent evt) { String u = (String) hopsTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setHopsUnits(u); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { String u = (String) hopsTotalUnitsComboModel.getSelectedItem(); if (myRecipe != null) { myRecipe.setHopsUnits(u); displayRecipe(); } }
1,116,518
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Hop h = new Hop(myRecipe.getHopUnits()); myRecipe.addHop(h); hopsTable.updateUI(); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Hop h = new Hop(myRecipe.getHopUnits()); myRecipe.addHop(h); hopsTable.updateUI(); displayRecipe(); } }
1,116,519
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Hop h = new Hop(myRecipe.getHopUnits()); myRecipe.addHop(h); hopsTable.updateUI(); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { Hop h = new Hop(myRecipe.getHopUnits()); myRecipe.addHop(h); hopsTable.updateUI(); displayRecipe(); } }
1,116,520
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { int i = hopsTable.getSelectedRow(); myRecipe.delHop(i); hopsTable.updateUI(); displayRecipe(); } }
public void actionPerformed(ActionEvent evt) { if (myRecipe != null) { int i = hopsTable.getSelectedRow(); myRecipe.delHop(i); hopsTable.updateUI(); displayRecipe(); } }
1,116,521
public void actionPerformed(ActionEvent evt) { // This is just a test right now to see that // stuff is changed. myRecipe = new Recipe(); myRecipe.setVersion(version); currentFile = null; attachRecipeData(); displayRecipe(); }
public void actionPerformed(ActionEvent evt) { // This is just a test right now to see that // stuff is changed. myRecipe = new Recipe(); myRecipe.setVersion(version); currentFile = null; attachRecipeData(); displayRecipe(); }
1,116,523
public void actionPerformed(ActionEvent evt) { // Show open dialog; this method does // not return until the dialog is closed String[] ext = {"xml", "qbrew", "rec"}; String desc = "StrangBrew and importable formats"; sbFileFilter openFileFilter = new sbFileFilter(ext, desc); ...
public void actionPerformed(ActionEvent evt) { // Show open dialog; this method does // not return until the dialog is closed String[] ext = {"xml", "qbrew", "rec"}; String desc = "StrangBrew and importable formats"; sbFileFilter openFileFilter = new sbFileFilter(ext, desc); ...
1,116,524
public void actionPerformed(ActionEvent evt) { // Show open dialog; this method does // not return until the dialog is closed String[] ext = {"xml", "qbrew", "rec"}; String desc = "StrangBrew and importable formats"; sbFileFilter openFileFilter = new sbFileFilter(ext, desc); ...
public void actionPerformed(ActionEvent evt) { // Show open dialog; this method does // not return until the dialog is closed String[] ext = {"xml", "qbrew", "rec"; String desc = "StrangBrew and importable formats"; sbFileFilter openFileFilter = new sbFileFilter(ext, desc); ...
1,116,525
public void actionPerformed(ActionEvent evt) { // open the find dialog FindDialog fd = new FindDialog(owner); fd.setVisible(true); }
public void actionPerformed(ActionEvent evt) { // open the find dialog FindDialog fd = new FindDialog(owner); fd.setVisible(true); }
1,116,526
public void actionPerformed(ActionEvent evt) { saveFile(evt); }
public void actionPerformed(ActionEvent evt) { String[] ext = {"html", "htm"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "HTML"); fileChooser.setFileFilter(saveFileFilter); fileChooser.setSelectedFile(new File(myRecipe.getName() + ".html")); int returnVal = fileChooser.showSaveDialog(jMenuBar...
1,116,527
public void actionPerformed(ActionEvent evt) { saveAs(); }
public void actionPerformed(ActionEvent evt) { saveAs(); }
1,116,528
public void actionPerformed(ActionEvent evt) { // Show save dialog; this method does // not return until the dialog is closed String[] ext = {"html", "htm"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "HTML"); fileChooser.setFileFilter(saveFileFilter); f...
public void actionPerformed(ActionEvent evt) { // Show save dialog; this method does // not return until the dialog is closed String[] ext = {"html", "htm"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "HTML"); fileChooser.setFileFilter(saveFileFilter); f...
1,116,529
public void actionPerformed(ActionEvent evt) { // Show save dialog; this method does // not return until the dialog is closed String[] ext = {"txt"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "Text"); fileChooser.setFileFilter(saveFileFilter); fileChoose...
public void actionPerformed(ActionEvent evt) { // Show save dialog; this method does // not return until the dialog is closed String[] ext = {"txt"}; sbFileFilter saveFileFilter = new sbFileFilter(ext, "Text"); fileChooser.setFileFilter(saveFileFilter); fileChoose...
1,116,530
public void actionPerformed(ActionEvent evt) { // Copy current recipe to clipboard Clipboard clipboard = getToolkit ().getSystemClipboard (); StringSelection s = new StringSelection(myRecipe.toText()); clipboard.setContents(s, s); }
public void actionPerformed(ActionEvent evt) { // Copy current recipe to clipboard Clipboard clipboard = getToolkit ().getSystemClipboard (); StringSelection s = new StringSelection(myRecipe.toText()); clipboard.setContents(s, s); }
1,116,531
public void actionPerformed(ActionEvent evt) { PrintDialog pd = new PrintDialog(owner); pd.setModal(true); pd.setVisible(true); }
public void actionPerformed(ActionEvent evt) { PrintDialog pd = new PrintDialog(owner); pd.setModal(true); pd.setVisible(true); }
1,116,532
public void actionPerformed(ActionEvent evt) { // exit program processWindowEvent(new WindowEvent(owner,WindowEvent.WINDOW_CLOSING)); System.exit(0); }
public void actionPerformed(ActionEvent evt) { // exit program processWindowEvent(new WindowEvent(owner,WindowEvent.WINDOW_CLOSING)); System.exit(0); }
1,116,533
public void actionPerformed(ActionEvent evt) { PreferencesDialog d = new PreferencesDialog(owner, preferences); d.setVisible(true); }
public void actionPerformed(ActionEvent evt) { PreferencesDialog d = new PreferencesDialog(owner, preferences); d.setVisible(true); }
1,116,534
public void actionPerformed(ActionEvent evt) { ScaleRecipeDialog scaleRecipe = new ScaleRecipeDialog(owner); scaleRecipe.setModal(true); scaleRecipe.setVisible(true); }
public void actionPerformed(ActionEvent evt) { ScaleRecipeDialog scaleRecipe = new ScaleRecipeDialog(owner); scaleRecipe.setModal(true); scaleRecipe.setVisible(true); }
1,116,535
public void saveAsHTML(File f, String xslt, String options) throws Exception { // save file as xml, then transform it to html File tmp = new File("tmp.xml"); FileWriter out = new FileWriter(tmp); out.write(myRecipe.toXML(options)); out.close(); // find the xslt stylesheet in the classpath URL xsltUrl = getCla...
public void saveAsHTML(File f, String xslt, String options) throws Exception { // save file as xml, then transform it to html File tmp = new File("tmp.xml"); FileWriter out = new FileWriter(tmp); out.write(myRecipe.toXML(options)); out.close(); // find the xslt stylesheet in the classpath URL xsltUrl = getCla...
1,116,536
public TestCaseGraph getTestCaseGraph(String name) { return new TestCaseGraph(this,name); }
public TestCaseGraph getTestCaseGraph(String name) { return new TestCaseGraph(this,name); }
1,116,538
public Collection<String> getTestCaseNames() throws IOException { return chartGen.getTestNames(); }
public Collection<String> getTestCaseNames() throws IOException { return chartGen.getTestNames(); }
1,116,539
public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException { try { if(!Hudson.adminCheck(req,rsp)) return; req.setCharacterEncoding("UTF-8"); useSecurity = req.getParameter("use_security")!=null; ...
public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException { try { if(!Hudson.adminCheck(req,rsp)) return; req.setCharacterEncoding("UTF-8"); useSecurity = req.getParameter("use_security")!=null; ...
1,116,541
public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException { try { if(!Hudson.adminCheck(req,rsp)) return; req.setCharacterEncoding("UTF-8"); useSecurity = req.getParameter("use_security")!=null; ...
public synchronized void doConfigSubmit( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException { try { if(!Hudson.adminCheck(req,rsp)) return; req.setCharacterEncoding("UTF-8"); useSecurity = req.getParameter("use_security")!=null; ...
1,116,542
public synchronized List<Slave> getSlaves() { if(slaves ==null) slaves = new ArrayList<Slave>(); return new ArrayList<Slave>(slaves); }
public synchronized List<Slave> getSlaves() { if(slaves ==null) slaves = new ArrayList<Slave>(); return new ArrayList<Slave>(slaves); }
1,116,544
public StreamTaskListener(OutputStream out) { this(new PrintStream(out)); }
public StreamTaskListener(OutputStream out) { this(new PrintStream(out)); }
1,116,545
public CloseSearchAction() { super( Localizer.getString( "CloseSearch" ), GUIRegistry.getInstance().getPlafIconPack().getIcon("Search.Close"), Localizer.getString( "TTTCloseSearch" ), null, KeyStroke.getKeyStroke( KeyEvent.VK_DELETE, 0 ) ); ...
public CloseSearchAction() { super( Localizer.getString( "CloseSearch" ), GUIRegistry.getInstance().getPlafIconPack().getIcon("Search.Close"), Localizer.getString( "TTTCloseSearch" ), null, KeyStroke.getKeyStroke( KeyEvent.VK_DELETE, 0 ) ); ...
1,116,548
public void actionPerformed( ActionEvent e ) { if ( displayedDataModel != null ) { searchContainer.removeSearch( displayedDataModel.getSearch() ); setDisplayedSearch( null ); } }
public void actionPerformed( ActionEvent e ) { if ( displayedDataModel != null ) { searchContainer.removeSearch( displayedDataModel.getSearch() ); setDisplayedSearch( null ); } }
1,116,549
public Node simplifyAdd(Node lhs,Node rhs) throws ParseException { if(tu.isInfinity(lhs)) { // Inf + Inf -> NaN TODO not correct for signed infinity if(tu.isInfinity(rhs)) return nf.buildConstantNode(tu.getNAN()); else // Inf + x -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isInfinity...
public Node simplifyAdd(Node lhs,Node rhs) throws ParseException { if(tu.isInfinity(lhs)) { // Inf + Inf -> NaN TODO not correct for signed infinity if(tu.isInfinity(rhs)) return nf.buildConstantNode(tu.getNAN()); else // Inf + x -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isInfinity...
1,116,550
public Node simplifyDivide(Node child1,Node child2) throws ParseException { if(tu.isZero(child2)) { if(tu.isZero(child1)) // 0/0 -> NaN return nf.buildConstantNode(tu.getNAN()); else // x/0 -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isZero(child1)) { // 0/x -> 0 return ...
public Node simplifyDivide(Node child1,Node child2) throws ParseException { if(tu.isZero(child2)) { if(tu.isZero(child1)) // 0/0 -> NaN return nf.buildConstantNode(tu.getNAN()); else // x/0 -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isZero(child1)) { // 0/x -> 0 return ...
1,116,551
public Node simplifyMultiply(Node child1,Node child2) throws ParseException { if(tu.isZero(child1)) { // 0*Inf -> NaN if(tu.isInfinity(child2)) return nf.buildConstantNode(tu.getNAN()); else // 0*x -> 0 return nf.buildConstantNode(tu.getZERO()); } if(tu.isZero(child2)) { // Inf*0 -> NaN if(tu.isInfinity(chil...
public Node simplifyMultiply(Node child1,Node child2) throws ParseException { if(tu.isZero(child1)) { // 0*Inf -> NaN if(tu.isInfinity(child2)) return nf.buildConstantNode(tu.getNAN()); else // 0*x -> 0 return nf.buildConstantNode(tu.getZERO()); } if(tu.isZero(child2)) { // Inf*0 -> NaN if(tu.isInfinity(chil...
1,116,552
public Node simplifyPower(Node child1,Node child2) throws ParseException { if(tu.isZero(child1)) { if(tu.isZero(child2)) // 0^0 -> NaN return nf.buildConstantNode(tu.getNAN()); else // 0^x -> 0 return nf.buildConstantNode(tu.getZERO()); } if(tu.isZero(child2)) // x^0 -> 1 return nf.buildConstantNode(tu...
public Node simplifyPower(Node child1,Node child2) throws ParseException { if(tu.isZero(child1)) { if(tu.isZero(child2)) // 0^0 -> NaN return nf.buildConstantNode(tu.getNAN()); else // 0^x -> 0 return nf.buildConstantNode(tu.getZERO()); } if(tu.isZero(child2)) // x^0 -> 1 return nf.buildConstantNode(tu...
1,116,553
public Node simplifySubtract(Node lhs,Node rhs) throws ParseException { if(tu.isInfinity(lhs)) { // Inf + Inf -> NaN TODO not correct for signed infinity if(tu.isInfinity(rhs)) return nf.buildConstantNode(tu.getNAN()); else // Inf + x -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isInf...
public Node simplifySubtract(Node lhs,Node rhs) throws ParseException { if(tu.isInfinity(lhs)) { // Inf + Inf -> NaN TODO not correct for signed infinity if(tu.isInfinity(rhs)) return nf.buildConstantNode(tu.getNAN()); else // Inf + x -> Inf return nf.buildConstantNode(tu.getPositiveInfinity()); } if(tu.isInf...
1,116,554
public Node simplifyTripple(XOperator op,Node lhs,Node rhs) throws ParseException { XOperator rootOp; if(op.isComposite()) rootOp = (XOperator) op.getRootOp(); else rootOp = op; if(op.isCommutative() && tu.isConstant(rhs)) { return simplifyBuiltOperatorNode(op,rhs,lhs); } if(tu.isConstant(lhs) && tu....
public Node simplifyTripple(XOperator op,Node lhs,Node rhs) throws ParseException { XOperator rootOp; if(op.isComposite()) rootOp = (XOperator) op.getRootOp(); else rootOp = op; if(op.isCommutative() && tu.isConstant(rhs)) { return simplifyBuiltOperatorNode(op,rhs,lhs); } if(tu.isConstant(lhs) && tu....
1,116,555
public Node simplifyTripple(XOperator op,Node lhs,Node rhs) throws ParseException { XOperator rootOp; if(op.isComposite()) rootOp = (XOperator) op.getRootOp(); else rootOp = op; if(op.isCommutative() && tu.isConstant(rhs)) { return simplifyBuiltOperatorNode(op,rhs,lhs); } if(tu.isConstant(lhs) && tu....
public Node simplifyTripple(XOperator op,Node lhs,Node rhs) throws ParseException { XOperator rootOp; if(op.isComposite()) rootOp = (XOperator) op.getRootOp(); else rootOp = op; if(op.isCommutative() && tu.isConstant(rhs)) { return simplifyBuiltOperatorNode(op,rhs,lhs); } if(tu.isConstant(lhs) && tu....
1,116,556
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
1,116,557
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
1,116,558
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
public Object visit(ASTFunNode node, Object data) throws ParseException { int nchild = node.jjtGetNumChildren(); if(node.isOperator()) { XOperator op= (XOperator) node.getOperator(); if( (op.isBinary() && nchild !=2) || (op.isUnary() && nchild !=1)) throw new ParseException("Wrong number of children for "...
1,116,559
private void sendFileListing(HTTPRequest httpRequest, Connection connection) throws IOException { GnutellaOutputStream outStream = connection.getOutputStream(); if ( !ServiceManager.sCfg.mShareBrowseDir ) { HTTPHeaderGroup headers = HTTPHeaderGroup.createDefaultResp...
private void sendFileListing(HTTPRequest httpRequest, Connection connection) throws IOException { GnutellaOutputStream outStream = connection.getOutputStream(); if ( !ServiceManager.sCfg.mShareBrowseDir ) { HTTPHeaderGroup headers = HTTPHeaderGroup.createDefaultResp...
1,116,560
public static MsgHeader createMsgHeader( byte[] inbuf, int offset) throws InvalidMessageException { if( (inbuf.length - offset) < DATA_LENGTH ) { throw new InvalidMessageException( "The byte array Length is less then " + "the message header lenght " ); ...
public static MsgHeader createMsgHeader( byte[] inbuf, int offset) throws InvalidMessageException { if( (inbuf.length - offset) < DATA_LENGTH ) { throw new InvalidMessageException( "The byte array Length is less then " + "the message header lenght " ); ...
1,116,561
public static MsgHeader createMsgHeader( byte[] inbuf, int offset) throws InvalidMessageException { if( (inbuf.length - offset) < DATA_LENGTH ) { throw new InvalidMessageException( "The byte array Length is less then " + "the message header lenght " ); ...
public static MsgHeader createMsgHeader( byte[] inbuf, int offset) throws InvalidMessageException { if( (inbuf.length - offset) < DATA_LENGTH ) { throw new InvalidMessageException( "The byte array Length is less then " + "the message header lenght " ); ...
1,116,562
public int getUpstreamRelationship(Project that) { FingerprintAction f = getAction(FingerprintAction.class); if(f==null) return -1; // look for fingerprints that point to the given project as the source, and merge them all for (Fingerprint e : f.getFingerprints().values()) { ...
public int getUpstreamRelationship(Project that) { FingerprintAction f = getAction(FingerprintAction.class); if(f==null) return -1; // look for fingerprints that point to the given project as the source, and merge them all for (Fingerprint e : f.getFingerprints().values()) { ...
1,116,563
public int getUpstreamRelationship(Project that) { FingerprintAction f = getAction(FingerprintAction.class); if(f==null) return -1; // look for fingerprints that point to the given project as the source, and merge them all for (Fingerprint e : f.getFingerprints().values()) { ...
public int getUpstreamRelationship(Project that) { FingerprintAction f = getAction(FingerprintAction.class); if(f==null) return n; // look for fingerprints that point to the given project as the source, and merge them all for (Fingerprint e : f.getFingerprints().values()) { ...
1,116,564
public XJBSWDownloadFile createXJBSWDownloadFile() throws JAXBException { ObjectFactory objFactory = new ObjectFactory(); XJBSWDownloadFile xjbFile = objFactory.createXJBSWDownloadFile(); xjbFile.setLocalFileName( destinationFile.getName() ); // in case incomplete file failed t...
public XJBSWDownloadFile createXJBSWDownloadFile() throws JAXBException { ObjectFactory objFactory = new ObjectFactory(); XJBSWDownloadFile xjbFile = objFactory.createXJBSWDownloadFile(); xjbFile.setLocalFileName( destinationFile.getName() ); // in case incomplete file failed t...
1,116,565
public XJBSWDownloadFile createXJBSWDownloadFile() throws JAXBException { ObjectFactory objFactory = new ObjectFactory(); XJBSWDownloadFile xjbFile = objFactory.createXJBSWDownloadFile(); xjbFile.setLocalFileName( destinationFile.getName() ); // in case incomplete file failed t...
public XJBSWDownloadFile createXJBSWDownloadFile() throws JAXBException { ObjectFactory objFactory = new ObjectFactory(); XJBSWDownloadFile xjbFile = objFactory.createXJBSWDownloadFile(); xjbFile.setLocalFileName( destinationFile.getName() ); // in case incomplete file failed t...
1,116,566
private void downloadStopNotify( ) { // Ignore nested calls. if( transferStopTime == 0 ) { transferStopTime = System.currentTimeMillis(); if ( status == STATUS_FILE_DOWNLOADING ) {// only update if the status is currently switched from downloading to stopped....
private void downloadStopNotify( ) { // Ignore nested calls. if( transferStopTime == 0 ) { transferStopTime = System.currentTimeMillis(); if ( status == STATUS_FILE_DOWNLOADING ) {// only update if the status is currently switched from downloading to stopped....
1,116,567
public ManagedFile getIncompleteDownloadFile() throws ManagedFileException, FileHandlingException { initIncompleteFile(); return FileManager.getInstance().getReadWriteManagedFile(incompleteFile); }
public ManagedFile getIncompleteDownloadFile() throws ManagedFileException, FileHandlingException { initIncompleteFile(); return incompleteManagedFile; }
1,116,568
public File getPreviewFile() { if ( isFileCompletedOrMoved() ) { return destinationFile; } if ( !memoryFile.isFileBeginningAvailable() ) { return null; } long previewLength = memoryFile.getFileBeginningScopeLength(); ...
public File getPreviewFile() { if ( isFileCompletedOrMoved() ) { return destinationFile; } if ( !memoryFile.isFileBeginningAvailable() ) { return null; } long previewLength = memoryFile.getFileBeginningScopeLength(); ...
1,116,569
private void initIncompleteFile() throws FileHandlingException { if ( incompleteFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteFile = createIncompleteFile( destFile ); } catch ( FileHandlingExc...
private void initIncompleteFile() throws FileHandlingException, ManagedFileException { if ( incompleteFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteFile = createIncompleteFile( destFile ); } c...
1,116,570
private void initIncompleteFile() throws FileHandlingException { if ( incompleteFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteFile = createIncompleteFile( destFile ); } catch ( FileHandlingExc...
private void initIncompleteFile() throws FileHandlingException { if ( incompleteManagedFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteFile = createIncompleteFile( destFile ); } catch ( FileHand...
1,116,571
private void initIncompleteFile() throws FileHandlingException { if ( incompleteFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteFile = createIncompleteFile( destFile ); } catch ( FileHandlingExc...
private void initIncompleteFile() throws FileHandlingException { if ( incompleteFile != null ) { return; } File destFile = getDestinationFile(); try { incompleteManagedFile = FileManager.getInstance().getReadWriteManagedFile( createIncomplet...
1,116,572
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
1,116,573
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
1,116,574
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
public synchronized void moveToDestinationFile() { if ( isFileCompletedMoved() ) {// somebody else did it already before me... return; } // this is an assertion... go crazy if fails... if ( memoryFile.getMissingLength() > 0 && status == STATUS_FILE_COMPLETED) ...
1,116,575
public void removeIncompleteDownloadFile() { if ( isFileCompletedOrMoved() ) { return; } if ( status != STATUS_FILE_STOPPED ) { NLogger.error( NLoggerNames.Download_File, "Can't clean temp files of not stopped download file."); re...
public void removeIncompleteDownloadFile() { if ( isFileCompletedOrMoved() ) { return; } if ( status != STATUS_FILE_STOPPED ) { NLogger.error( NLoggerNames.Download_File, "Can't clean temp files of not stopped download file."); re...
1,116,577
public void removeIncompleteDownloadFile() { if ( isFileCompletedOrMoved() ) { return; } if ( status != STATUS_FILE_STOPPED ) { NLogger.error( NLoggerNames.Download_File, "Can't clean temp files of not stopped download file."); re...
public void removeIncompleteDownloadFile() { if ( isFileCompletedOrMoved() ) { return; } if ( status != STATUS_FILE_STOPPED ) { NLogger.error( NLoggerNames.Download_File, "Can't clean temp files of not stopped download file."); re...
1,116,578
public void setDestinationFile( File aDestinationFile, boolean rename ) throws FileHandlingException { if ( aDestinationFile.compareTo( destinationFile ) == 0 ) { return; } if ( rename ) { // first check if download mgr has any running download with...
public void setDestinationFile( File aDestinationFile, boolean rename ) throws FileHandlingException, ManagedFileException { if ( aDestinationFile.compareTo( destinationFile ) == 0 ) { return; } if ( rename ) { // first check if download mgr has any...
1,116,579
public void setDestinationFile( File aDestinationFile, boolean rename ) throws FileHandlingException { if ( aDestinationFile.compareTo( destinationFile ) == 0 ) { return; } if ( rename ) { // first check if download mgr has any running download with...
public void setDestinationFile( File aDestinationFile, boolean rename ) throws FileHandlingException { if ( aDestinationFile.compareTo( destinationFile ) == 0 ) { return; } if ( rename ) { // first check if download mgr has any running download with...
1,116,580
public PartialDerivative findDerivative(String name,DJep jep) throws ParseException { return root.findDerivative(this,name,jep); }
public PartialDerivative findDerivative(String dname,DJep jep) throws ParseException { return root.findDerivative(this,name,jep); }
1,116,582
public PartialDerivative findDerivative(String name,DJep jep) throws ParseException { return root.findDerivative(this,name,jep); }
public PartialDerivative findDerivative(String name,DJep jep) throws ParseException { return root.findDerivative(this,dname,jep); }
1,116,583
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
1,116,585
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
1,116,586
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
1,116,587
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
1,116,588
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
1,116,589
public PNodeI sub(PNodeI node) throws ParseException { if(node instanceof Polynomial) return this.add((Polynomial) node); MutiablePolynomial mp = this.toMutiablePolynomial(); mp.add(node.negate()); return mp.toPNode(); }
public PNodeI sub(PNodeI node) throws ParseException { if(node instanceof Polynomial) return this.sub((Polynomial) node); MutiablePolynomial mp = this.toMutiablePolynomial(); mp.add(node.negate()); return mp.toPNode(); }
1,116,591
public UserRole findUserRoleByNaturalId(User user, Service service, String serviceExtension) { return (UserRole) findUnique(USER_ROLE_QUERY, user, service, serviceExtension); }
public UserRole findUserRoleByNaturalId(User user, Service service, String serviceExtension) { return (UserRole) findUnique(USER_ROLE_QUERY, user, service, serviceExtension); }
1,116,592
final public ASTStart Start() throws ParseException { /*@bgen(jjtree) Start */ ASTStart jjtn000 = new ASTStart(JJTSTART); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { if (jj_2_1(1)) { Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 0: jj_consume_toke...
final public ASTStart Start() throws ParseException { /*@bgen(jjtree) Start */ ASTStart jjtn000 = new ASTStart(JJTSTART); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { if (jj_2_1(1)) { Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 0: jj_consume_toke...
1,116,593
final private boolean jj_3R_10() { if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(ASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_9()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return f...
final private boolean jj_3R_10() { if (jj_3R_20()) return true; if (jj_scan_token(ASSIGN)) return true; if (jj_3R_9()) return true; return false; }
1,116,594
final private boolean jj_3R_11() { if (jj_3R_21()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_11() { if (jj_3R_21()) return true; return false; }
1,116,595
final private boolean jj_3R_12() { if (jj_scan_token(MUL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_12() { if (jj_scan_token(MUL)) return true; return false; }
1,116,596
final private boolean jj_3R_13() { if (jj_scan_token(DOT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_13() { if (jj_scan_token(DOT)) return true; return false; }
1,116,597
final private boolean jj_3R_14() { if (jj_scan_token(CROSS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_14() { if (jj_scan_token(CROSS)) return true; return false; }
1,116,598
final private boolean jj_3R_15() { if (jj_scan_token(DIV)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_15() { if (jj_scan_token(DIV)) return true; return false; }
1,116,599
final private boolean jj_3R_16() { if (jj_scan_token(MOD)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_16() { if (jj_scan_token(MOD)) return true; return false; }
1,116,600
final private boolean jj_3R_17() { if (jj_3R_22()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_17() { if (jj_3R_22()) return true; return false; }
1,116,601
final private boolean jj_3R_18() { if (jj_3R_23()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_18() { if (jj_3R_23()) return true; return false; }
1,116,602
final private boolean jj_3R_19() { if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_19() { if (jj_3R_20()) return true; return false; }
1,116,603
final private boolean jj_3R_20() { if (jj_3R_24()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_20() { if (jj_3R_24()) return true; return false; }
1,116,604
final private boolean jj_3R_21() { if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_21() { if (jj_3R_25()) return true; return false; }
1,116,605
final private boolean jj_3R_22() { Token xsp; xsp = jj_scanpos; if (jj_3R_26()) { jj_scanpos = xsp; if (jj_3_7()) { jj_scanpos = xsp; if (jj_3R_27()) { jj_scanpos = xsp; if (jj_3R_28()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_...
final private boolean jj_3R_22() { Token xsp; xsp = jj_scanpos; if (jj_3R_26()) { jj_scanpos = xsp; if (jj_3_7()) { jj_scanpos = xsp; if (jj_3R_27()) { jj_scanpos = xsp; if (jj_3R_28()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_...
1,116,606
final private boolean jj_3R_23() { if (jj_3R_24()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_23() { if (jj_3R_24()) return true; return false; }
1,116,607
final private boolean jj_3R_24() { Token xsp; xsp = jj_scanpos; if (jj_3R_29()) { jj_scanpos = xsp; if (jj_3R_30()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_24() { Token xsp; xsp = jj_scanpos; if (jj_scan_token(12)) { jj_scanpos = xsp; if (jj_3R_30()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,608
final private boolean jj_3R_24() { Token xsp; xsp = jj_scanpos; if (jj_3R_29()) { jj_scanpos = xsp; if (jj_3R_30()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_24() { Token xsp; xsp = jj_scanpos; if (jj_3R_29()) { jj_scanpos = xsp; if (jj_3R_30()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,609
final private boolean jj_3R_25() { if (jj_3R_31()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_25() { if (jj_3R_31()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,610
final private boolean jj_3R_26() { if (jj_3R_32()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_26() { if (jj_3R_32()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,611
final private boolean jj_3R_27() { if (jj_scan_token(LRND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_27() { if (jj_scan_token(LRND)) return true; return false; }
1,116,612
final private boolean jj_3R_28() { if (jj_3R_33()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_28() { if (jj_3R_33()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,613
final private boolean jj_3R_29() { if (jj_scan_token(INDENTIFIER1)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_29() { if (jj_scan_token(INDENTIFIER1)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,614
final private boolean jj_3R_30() { if (jj_scan_token(INDENTIFIER2)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_30() { if (jj_scan_token(INDENTIFIER2)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,615
final private boolean jj_3R_31() { if (jj_3R_34()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_31() { if (jj_3R_34()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,616
final private boolean jj_3R_32() { Token xsp; xsp = jj_scanpos; if (jj_3R_35()) { jj_scanpos = xsp; if (jj_3R_36()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
final private boolean jj_3R_32() { Token xsp; xsp = jj_scanpos; if (jj_3R_35()) { jj_scanpos = xsp; if (jj_3R_36()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
1,116,617