bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static Vector calcCCTDT(Vector chromosomes){ Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for (int i = 0; i < numMarkers; i++){ TDTResult thisResult = new TDTResult(Chromosome.getMarker(i)); for (int j = 0; j < chromosomes.size()-1; j++){ ... | public static Vector calcCCTDT(Vector chromosomes){ Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for (int i = 0; i < numMarkers; i++){ TDTResult thisResult = new TDTResult(Chromosome.getMarker(i)); for (int j = 0; j < chromosomes.size()-1; j++){ ... | 1,110,172 |
public static Vector calcCCTDT(Vector chromosomes){ Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for (int i = 0; i < numMarkers; i++){ TDTResult thisResult = new TDTResult(Chromosome.getMarker(i)); for (int j = 0; j < chromosomes.size()-1; j++){ ... | public static Vector calcCCTDT(Vector chromosomes){ Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for (int i = 0; i < numMarkers; i++){ TDTResult thisResult = new TDTResult(Chromosome.getMarker(i)); for (int j = 0; j < chromosomes.size()-1; j++){ ... | 1,110,173 |
public static Vector calcTrioTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ Chromos... | public static Vector calcTrioTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getFilteredSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ ... | 1,110,174 |
public static Vector calcTrioTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ Chromos... | public static Vector calcTrioTDT(Vector chromosomes) { Vector results = new Vector(); int numMarkers = Chromosome.getSize(); for(int k=0;k<numMarkers;k++){ results.add(new TDTResult(Chromosome.getMarker(k))); } for(int i=0;i<chromosomes.size()-3;i++){ Chromos... | 1,110,175 |
public void sendMail(MailAddress sender, Collection recipients, MimeMessage message) throws MessagingException { //log.info("start processing incoming mail having id = " + msg.getMessageID()); MailProcessingRecord mailProcessingRecord = new MailProcessingRecord(); mailProcessingRecord.setReceiv... | public void sendMail(MailAddress sender, Collection recipients, MimeMessage message) throws MessagingException { //log.info("start processing incoming mail having id = " + msg.getMessageID()); MailProcessingRecord mailProcessingRecord = new MailProcessingRecord(); mailProcessingRecord.setReceiv... | 1,110,177 |
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor !=... | public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor !=... | 1,110,178 |
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor !=... | public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor !=... | 1,110,179 |
protected Object findBeanAncestor() throws Exception { Tag tag = getParent(); if (tag != null) { if (tag instanceof BeanSource) { BeanSource beanSource = (BeanSource) tag; return beanSource.getBean(); } } return tag; } | protected Object findBeanAncestor() throws Exception { Tag tag = getParent(); while (tag != null) { if (tag instanceof BeanSource) { BeanSource beanSource = (BeanSource) tag; return beanSource.getBean(); } } return tag; } | 1,110,181 |
protected Object findBeanAncestor() throws Exception { Tag tag = getParent(); if (tag != null) { if (tag instanceof BeanSource) { BeanSource beanSource = (BeanSource) tag; return beanSource.getBean(); } } return tag; } | protected Object findBeanAncestor() throws Exception { Tag tag = getParent(); if (tag != null) { if (tag instanceof BeanSource) { BeanSource beanSource = (BeanSource) tag; return beanSource.getBean(); } } return getParent(); } | 1,110,182 |
public void actionPerformed( ActionEvent e ) { importFile(); } | public void actionPerformed( ActionEvent e ) { BrowserWindow br = new BrowserWindow(); br.setVisible( true ); } | 1,110,184 |
public void actionPerformed( ActionEvent e ) { System.exit( 0 ); } | public void actionPerformed( ActionEvent e ) { importFile(); } | 1,110,185 |
protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | 1,110,186 |
protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | 1,110,187 |
protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | 1,110,188 |
protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | protected TagScript createTag( String namespaceURI, String localName, Attributes list) throws SAXException { try { // use the URI to load a taglib TagLibrary taglib = context.getTagLibrary(namespaceURI); if (taglib == null) { if (nam... | 1,110,189 |
public AntTag(Project project, String tagName) { this.project = project; this.tagName = tagName; } | public AntTag(Project project, String tagName) { this.project = project; this.tagName = tagName; } | 1,110,190 |
public Object createDataType(String name) throws Exception { Object dataType = null; Class type = (Class) getAntProject().getDataTypeDefinitions().get(name); if ( type != null ) { try { Constructor ctor = null; boolean noArg = false; // Da... | public Object createDataType(String name) throws Exception { Object dataType = null; Class type = (Class) getAntProject().getDataTypeDefinitions().get(name); if ( type != null ) { try { Constructor ctor = null; boolean noArg = false; // Da... | 1,110,191 |
public Object createDataType(String name) throws Exception { Object dataType = null; Class type = (Class) getAntProject().getDataTypeDefinitions().get(name); if ( type != null ) { try { Constructor ctor = null; boolean noArg = false; // Da... | public Object createDataType(String name) throws Exception { Object dataType = null; Class type = (Class) getAntProject().getDataTypeDefinitions().get(name); if ( type != null ) { try { Constructor ctor = null; boolean noArg = false; // Da... | 1,110,192 |
public Project getAntProject() { return this.project; } | public Project getAntProject() { return AntTagLibrary.getProject(context); } | 1,110,193 |
public void doTag(XMLOutput output) throws Exception { getBody().run(context, output); } | public void doTag(XMLOutput output) throws Exception { invokeBody(output); } | 1,110,195 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,110,199 |
public String makeDropForeignKeySQL(String fkCatalog, String fkSchema, String fkTable, String fkName) { return "\n ALTER TABLE ONLY " +DDLUtils.toQualifiedName(fkCatalog, fkSchema, fkTable) +" DROP CONSTRAINT " +fkName; } | public String makeDropForeignKeySQL(String fkTable, String fkName) { return "\n ALTER TABLE ONLY " +DDLUtils.toQualifiedName(fkCatalog, fkSchema, fkTable) +" DROP CONSTRAINT " +fkName; } | 1,110,200 |
public String makeDropForeignKeySQL(String fkCatalog, String fkSchema, String fkTable, String fkName) { return "\n ALTER TABLE ONLY " +DDLUtils.toQualifiedName(fkCatalog, fkSchema, fkTable) +" DROP CONSTRAINT " +fkName; } | public String makeDropForeignKeySQL(String fkCatalog, String fkSchema, String fkTable, String fkName) { return "\n ALTER TABLE ONLY " +DDLUtils.toQualifiedName(fkCatalog, fkSchema, fkTable) +" DROP CONSTRAINT " +fkName; } | 1,110,201 |
public void modifyColumn(SQLColumn c) throws ArchitectDiffException { Map colNameMap = new HashMap(); SQLTable t = c.getParentTable(); print("\n ALTER TABLE ONLY "); print( toQualifiedName(t) ); print(" ALTER COLUMN "); // Column name String columnPhysName =... | public void modifyColumn(SQLColumn c) { Map colNameMap = new HashMap(); SQLTable t = c.getParentTable(); print("\n ALTER TABLE ONLY "); print( toQualifiedName(t) ); print(" ALTER COLUMN "); // Column name String columnPhysName = createPhysicalName(colNameMap... | 1,110,202 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; if (logger.isDebugEnabled()) logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toLowerCase(); if (logger.isDebugEnable... | private String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; if (logger.isDebugEnabled()) logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toLowerCase(); if (logger.isDebugEnabl... | 1,110,203 |
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | 1,110,204 |
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | 1,110,205 |
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | 1,110,206 |
private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | private MarkerResult checkMarker(int loc)throws PedFileException{ MarkerResult result = new MarkerResult(); Individual currentInd; //int indivgeno=0, int missing=0, parenthet=0, mendErrNum=0; int allele1=0, allele2=0, hom=0, het=0; //Hashtable allgenos = new Hashtable(); ... | 1,110,207 |
public CheckDataTableModel(Vector c, Vector d, int[] r, int[] dups){ super(c,d); ratings = r; this.dups = dups; } | public CheckDataTableModel(Vector c, Vector d, int[] r, int[] dups){ columnNames=c; data=d; ratings = r; this.dups = dups; } | 1,110,208 |
public void compile() throws Exception { TaskTag tag = (TaskTag) findAncestorWithClass( TaskTag.class ); if ( tag == null ) { throw new JellyException( "You should only use Ant DataType tags within an Ant Task" ); } Task task = tag.getTask(); Class taskC... | public void compile() throws Exception { TaskTag tag = (TaskTag) findAncestorWithClass( TaskTag.class ); if ( tag == null ) { throw new JellyException( "You should only use Ant DataType tags within an Ant Task" ); } Task task = tag.getTask(); Class taskC... | 1,110,209 |
public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); System.out.println(ver); String jarfile = System.getProperty("java.cl... | public static void main(String[] args) { int exitValue = 0; String dir = System.getProperty("user.dir"); String sep = System.getProperty("file.separator"); String ver = System.getProperty("java.version"); System.out.println(ver); String jarfile = System.getProperty("java.cl... | 1,110,211 |
public void mousePressed (MouseEvent e) { //if users right clicks & holds, pop up the info if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ PairwiseLinkage[][] dPrimeTable = theData.getFilteredTable(); final int clickX = e.getX(); ... | public void mousePressed (MouseEvent e) { //if users right clicks & holds, pop up the info if ((e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK){ PairwiseLinkage[][] dPrimeTable = theData.filteredDPrimeTable; final int clickX = e.getX(); ... | 1,110,212 |
public void doTag(XMLOutput output) throws Exception { value = false; if ( test != null ) { if ( test.evaluateAsBoolean( context ) ) { value = true; getBody().run(context, output); } } } | public void doTag(XMLOutput output) throws Exception { value = false; if ( test != null ) { if ( test.evaluateAsBoolean( context ) ) { value = true; invokeBody(output); } } } | 1,110,215 |
public int doStartTag() throws JspException{ HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); WebContext context = null; try{ context = WebContext.get(request); ApplicationConfig appConfig = context.getApplicationConfig(); ... | public int doStartTag() throws JspException{ HttpServletRequest request = (HttpServletRequest)pageContext.getRequest(); WebContext context = null; try{ context = WebContext.get(request); ApplicationConfig appConfig = context.getApplicationConfig(); ... | 1,110,218 |
public DashboardContextImpl(WebContext webContext, DashboardConfig dashboardConfig, HttpServletRequest request){ this.webContext = webContext; this.dashboardConfig = dashboardConfig; this.request = request; } | public DashboardContextImpl(WebContext webContext, DashboardConfig dashboardConfig, HttpServletRequest request){ this.webContext = webContext; this.dashboardConfig = dashboardConfig; this.request = request; setServerPath(); } | 1,110,219 |
public void setUrl(String jdbcURL) { log.info( "Setting url to: "+ jdbcURL ); this.jdbcURL = jdbcURL; } | public void setUrl(String jdbcURL) { this.jdbcURL = jdbcURL; } | 1,110,220 |
public JeezTagLibrary(org.apache.tools.ant.Project antProject) { this.coreTagLib = new CoreTagLibrary(); this.antTagLib = new AntTagLibrary( antProject ); this.werkzTagLib = new WerkzTagLibrary(); registerTag( "target", TargetTag.class ); } | public JeezTagLibrary(org.apache.tools.ant.Project antProject) { this.coreTagLib = new CoreTagLibrary(); this.antTagLib = new AntTagLibrary( antProject ); this.werkzTagLib = new WerkzTagLibrary(); registerTag( "target", TargetTag.class ); } | 1,110,222 |
public TagScript createTagScript(String name, Attributes attrs) throws Exception { TagScript script = super.createTagScript( name, attrs ); if ( script == null ) { script = this.coreTagLib.createTagScript( name, attrs ); if ( script ... | public TagScript createTagScript(String name, Attributes attrs) throws Exception { TagScript script = super.createTagScript( name, attrs ); if ( script == null ) { if ( script == null ) { script = this... | 1,110,223 |
public TagScript createTagScript(String name, Attributes attrs) throws Exception { TagScript script = super.createTagScript( name, attrs ); if ( script == null ) { script = this.coreTagLib.createTagScript( name, attrs ); if ( script ... | public TagScript createTagScript(String name, Attributes attrs) throws Exception { TagScript script = super.createTagScript( name, attrs ); if ( script == null ) { script = this.coreTagLib.createTagScript( name, attrs ); if ( script ... | 1,110,224 |
public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | public ActionForward execute(WebContext context, ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) throws Exception { ... | 1,110,225 |
public ReadDataDialog(String title, HaploView h){ caller = h; setTitle(title); JPanel contents = new JPanel(); JButton hapmapButton = new JButton(HAPMAP_DATA); hapmapButton.addActionListener(this); //hapmap isn't ready yet hapmapButton.setEnabled(false); JButt... | public ReadDataDialog(String title, HaploView h){ caller = h; setTitle(title); JPanel contents = new JPanel(); JButton hapmapButton = new JButton(HAPMAP_DATA); hapmapButton.addActionListener(this); //hapmap isn't ready yet hapmapButton.setEnabled(false); JButt... | 1,110,227 |
public ReadDataDialog(String title, HaploView h){ caller = h; setTitle(title); JPanel contents = new JPanel(); JButton hapmapButton = new JButton(HAPMAP_DATA); hapmapButton.addActionListener(this); //hapmap isn't ready yet hapmapButton.setEnabled(false); JButt... | public ReadDataDialog(String title, HaploView h){ caller = h; setTitle(title); JPanel contents = new JPanel(); JButton hapmapButton = new JButton(HAPMAP_DATA); hapmapButton.addActionListener(this); //hapmap isn't ready yet hapmapButton.setEnabled(false); JButt... | 1,110,228 |
void load(int ft){ fileType = ft; JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); JPanel filePanel = new JPanel(); filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS)); JPanel topFilePanel = new JPanel(); JPan... | void load(int ft){ fileType = ft; JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); JPanel filePanel = new JPanel(); filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS)); JPanel topFilePanel = new JPanel(); JPan... | 1,110,230 |
void load(int ft){ fileType = ft; JPanel contents = new JPanel(); contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS)); JPanel filePanel = new JPanel(); filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS)); JPanel topFilePanel = new JPanel(); JPan... | void load(int ft){ fileType = ft; JPanel contents = new JPanel();*/ contents.setLayout(new BoxLayout(contents, BoxLayout.Y_AXIS));*/ JPanel filePanel = new JPanel();*/ filePanel.setLayout(new BoxLayout(filePanel, BoxLayout.Y_AXIS));*/ JPanel topFilePanel = new JPanel();*/ ... | 1,110,231 |
public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | 1,110,232 |
public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | 1,110,233 |
public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | 1,110,234 |
public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | 1,110,235 |
public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | public PedFile(){ //hardcoded hapmap info this.families = new Hashtable(); hapMapTranslate = new Hashtable(90,1); hapMapTranslate.put("NA10846", "1334 NA10846 NA12144 NA12145 1 0" ); hapMapTranslate.put("NA12144", "1334 NA12144 0 0 1 0"); hapMapTranslate.put("NA12145", "133... | 1,110,236 |
public void parseHapMap(Vector rawLines) throws PedFileException { int colNum = -1; int numLines = rawLines.size(); Individual ind; this.order = new Vector(); //sort first Vector lines = new Vector(); Hashtable sortHelp = new Hashtable(numLines-1,1.0f); long[]... | public void parseHapMap(Vector rawLines) throws PedFileException { int colNum = -1; int numLines = rawLines.size(); Individual ind; this.order = new Vector(); //sort first Vector lines = new Vector(); Hashtable sortHelp = new Hashtable(numLines-1,1.0f); long[]... | 1,110,238 |
public AddObjectsTask(List sqlObjects, Point preferredLocation, ProgressMonitor pm, JDialog parentDialog) { this.sqlObjects = sqlObjects; this.preferredLocation = preferredLocation; this.parentDialog = parentDialog; finished = false; new ProgressWatcher(pm, this); } | public AddObjectsTask(List<SQLObject> sqlObjects, Point preferredLocation, ProgressMonitor pm, JDialog parentDialog) { this.sqlObjects = sqlObjects; this.preferredLocation = preferredLocation; this.parentDialog = parentDialog; finished = false; new ProgressWatcher(pm, this); } | 1,110,239 |
public void cleanup() { if (errorMessage != null) { Component c = ArchitectFrame.getMainInstance(); if (parentDialog != null) { c = parentDialog; } JOptionPane.showMessageDialog(c, errorMessage, "Error Dropping Tables into Playpen", JOptionPane.ERROR_MESSAGE); if (getNextProcess() != null) { ... | public void cleanup() { if (errorMessage != null) { Component c = ArchitectFrame.getMainInstance(); if (parentDialog != null) { c = parentDialog; } JOptionPane.showMessageDialog(c, errorMessage, "Error Dropping Tables into Playpen", JOptionPane.ERROR_MESSAGE); if (getNextProcess() != null) { ... | 1,110,240 |
public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; logger.info("AddObjectsTask starting on thread "+Thread.currentThread().getNa... | public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; logger.info("AddObjectsTask starting on thread "+Thread.currentThread().getNa... | 1,110,242 |
public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; logger.info("AddObjectsTask starting on thread "+Thread.currentThread().getNa... | public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; int pmMax = 0; try { int pmMax = 0; Iterator soIt = s... | 1,110,243 |
public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; logger.info("AddObjectsTask starting on thread "+Thread.currentThread().getNa... | public void doStuff () { ArchitectFrame.getMainInstance().getProject().getPlayPen().fireUndoCompoundEvent(new UndoCompoundEvent(this,EventTypes.MULTI_SELECT_START,"Starting multi-select")); if ( !isCancelled()){ hasStarted = true; logger.info("AddObjectsTask starting on thread "+Thread.currentThread().getNa... | 1,110,244 |
DPrimeDisplay(PairwiseLinkage[][] t, boolean b, Vector v){ markersLoaded = b; dPrimeTable = t; markers = v; this.setDoubleBuffered(true); addMouseListener(new popMouseListener(this)); } | DPrimeDisplay(PairwiseLinkage[][] t, boolean b, Vector v){ markersLoaded = b; dPrimeTable = t; markers = v; this.setDoubleBuffered(true); addMouseListener(new PopMouseListener(this)); } | 1,110,247 |
public double getPValue() { double pval = 0; try { pval= MathUtil.gammq(.5,.5*getChiSq()); } catch(CheckDataException e) {} return Math.rint(pval*10000.0)/10000.0; } | public double getPValue() { double pval = 0; try { pval= MathUtil.gammq(.5,.5*getChiSq()); } catch(CheckDataException e) {} return Math.rint(pval*10000.0)/10000.0; } | 1,110,248 |
public void run(Context context, XMLOutput output) { if ( var == null ) { throw new IllegalArgumentException( "The var attribute cannot be null" ); } if ( select != null ) { Object value = select.evaluate( null ); context.setVariable( var, value ); } } | public void run(JellyContext context, XMLOutput output) { if ( var == null ) { throw new IllegalArgumentException( "The var attribute cannot be null" ); } if ( select != null ) { Object value = select.evaluate( null ); context.setVariable( var, value ); }... | 1,110,249 |
public DashboardContextImpl(WebContext webContext, HttpServletRequest request){ this.webContext = webContext; this.request = request; } | public DashboardContextImpl(WebContext webContext, DashboardConfig dashboardConfig, HttpServletRequest request){ this.webContext = webContext; this.request = request; } | 1,110,250 |
public DashboardContextImpl(WebContext webContext, HttpServletRequest request){ this.webContext = webContext; this.request = request; } | public DashboardContextImpl(WebContext webContext, HttpServletRequest request){ this.webContext = webContext; this.dashboardConfig = dashboardConfig; this.request = request; } | 1,110,251 |
void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe... | void readGenotypes(String[] inputOptions, int type){ //input is a 3 element array with //inputOptions[0] = ped file //inputOptions[1] = info file ("" if none) //inputOptions[2] = max comparison distance (don't compute d' if markers are greater than this dist apart) //type is eithe... | 1,110,252 |
public Object construct(){ dPrimeDisplay=null; changeKey(1); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | public Object construct(){ dPrimeDisplay=null; changeKey(1); theData.generateDPrimeTable(); theData.guessBlocks(BLOX_GABRIEL); //theData.guessBlocks(BLOX_NONE); //for debugging, doesn't call blocks at first ... | 1,110,253 |
public static PhotoInfo addToDB( File imgFile ) throws PhotoNotFoundException { VolumeBase vol = null; try { vol = VolumeBase.getVolumeOfFile( imgFile ); } catch (IOException ex) { throw new PhotoNotFoundException(); } // Determine the fle that will ... | public static PhotoInfo addToDB( File imgFile ) throws PhotoNotFoundException { VolumeBase vol = null; try { vol = VolumeBase.getVolumeOfFile( imgFile ); } catch (IOException ex) { throw new PhotoNotFoundException(); } // Determine the fle that will ... | 1,110,254 |
void updateFromFileMetadata( File f ) { ExifDirectory exif = null; try { Metadata metadata = JpegMetadataReader.readMetadata(f); if ( metadata.containsDirectory( ExifDirectory.class ) ) { try { exif = (ExifDirectory) metadata.getDirectory( ExifD... | void updateFromFileMetadata( File f ) { ExifDirectory exif = null; try { Metadata metadata = JpegMetadataReader.readMetadata(f); if ( metadata.containsDirectory( ExifDirectory.class ) ) { try { exif = (ExifDirectory) metadata.getDirectory( ExifD... | 1,110,261 |
public ScriptTag(BSFEngine engine) { this.engine = engine; } | public ScriptTag(BSFEngine engine, BSFManager manager) { this.engine = engine; } | 1,110,262 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { String text = getBodyText(); log.debug(text); try { engine.eval(fileName, lineNumber, columnNumber, text); } catch (BSFException e) { throw new JellyTagExcepti... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { String text = getBodyText(); log.debug(text); try { engine.eval(fileName, lineNumber, columnNumber, text); } catch (BSFException e) { throw new JellyTagExcepti... | 1,110,264 |
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { String text = getBodyText(); log.debug(text); try { engine.eval(fileName, lineNumber, columnNumber, text); } catch (BSFException e) { throw new JellyTagExcepti... | public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException { String text = getBodyText(); log.debug(text); try { engine.eval(fileName, lineNumber, columnNumber, text); } catch (BSFException e) { throw new JellyTagExcepti... | 1,110,265 |
public Thingy createDing() { System.out.println("addCreateDing: " + messages[i++]); return new Thingy(); } | public Thingy createDing() { System.out.println("createDing: " + messages[i++]); return new Thingy(); } | 1,110,266 |
public boolean applyChanges() { // make a list of SQLTable objects and put them into // the wizard TreePath [] paths = dbTree.getSelectionPaths(); if (paths == null || paths.length == 0) { JOptionPane.showMessageDialog(getPanel(), "You must select at least one table or view.", "Error", JOptionPane.ERROR_MESSAGE... | public boolean applyChanges() { // make a list of SQLTable objects and put them into // the wizard TreePath [] paths = dbTree.getSelectionPaths(); if (paths == null || paths.length == 0) { JOptionPane.showMessageDialog(getPanel(), "You must select at least one table or view.", "Error", JOptionPane.ERROR_MESSAGE... | 1,110,267 |
public void run(Context context, XMLOutput output) throws Exception { if ( var == null ) { throw new JellyException( "<define:script> must have a var attribute" ); } context.setVariable( var, getBody() ); } | public void run(JellyContext context, XMLOutput output) throws Exception { if ( var == null ) { throw new JellyException( "<define:script> must have a var attribute" ); } context.setVariable( var, getBody() ); } | 1,110,268 |
public void doTag(XMLOutput output) throws Exception { // ### should probably use HttpClient instead/* HttpClient client = getHttpClient(); client.startSession( getUrl() ); try { // must use inner tags to extract the output.... getBody().run(context,... | public void doTag(XMLOutput output) throws Exception { // ### should probably use HttpClient instead/* HttpClient client = getHttpClient(); client.startSession( getUrl() ); try { // must use inner tags to extract the output.... invokeBody(output) ... | 1,110,269 |
private boolean execute0(HandlerContext context) throws InvalidCommandException { String[] args = context.getCommand().getArgs(); if(args.length == 1){ /* print long help for given command */ CommandHandler handler = null; try { handler = CommandH... | private boolean execute0(HandlerContext context) throws InvalidCommandException { String[] args = context.getCommand().getArgs(); if(args.length == 1){ /* print long help for given command */ CommandHandler handler; try { handler = CommandHandlerF... | 1,110,270 |
private boolean execute0(HandlerContext context) throws InvalidCommandException { String[] args = context.getCommand().getArgs(); if(args.length == 1){ /* print long help for given command */ CommandHandler handler = null; try { handler = CommandH... | private boolean execute0(HandlerContext context) throws InvalidCommandException { String[] args = context.getCommand().getArgs(); if(args.length == 1){ /* print long help for given command */ CommandHandler handler = null; try { handler = CommandH... | 1,110,271 |
public void componentResized(ComponentEvent e) { logger.debug("Component "+e.getComponent().getName()+" changed size"); if (e.getComponent() == pkTable || e.getComponent() == fkTable) { revalidate(); } } | public void componentResized(ComponentEvent e) { logger.debug("Component "+e.getComponent().getName()+" changed size"); if (e.getComponent() == pkTable || e.getComponent() == fkTable) { revalidate(); } } | 1,110,273 |
public void testChangeSFifthColumnIdxToSecond() throws ArchitectException{ table.changeColumnIndex(4, 1, true); assertEquals(4, table.getPkSize()); assertEquals(0, table.getColumnIndex(table.getColumnByName("one"))); assertEquals(1, table.getColumnIndex(table.getColumnByN... | public void testChangeSFifthColumnIdxToSecond() throws Exception { EventLogger l = new EventLogger(); TableSnapshot original = l.makeTableSnapshot(table); ArchitectUtils.listenToHierarchy(l, table); table.changeColumnIndex(4, 1, true); assertEquals(4, table.getPkSize()); assert... | 1,110,275 |
public TagScript createTagScript(String name, Attributes attributes) throws Exception { TagScript answer = super.createTagScript(name, attributes); if ( answer == null ) { Factory factory = getFactory( name ); if ( factory != null ) { ComponentTag tag = new Compone... | public TagScript createTagScript(String name, Attributes attributes) throws Exception { TagScript answer = super.createTagScript(name, attributes); if ( answer == null ) { final Factory factory = getFactory( name ); if ( factory != null ) { ComponentTag tag = new C... | 1,110,278 |
public TagScript createTagScript(String name, Attributes attributes) throws Exception { TagScript answer = super.createTagScript(name, attributes); if ( answer == null ) { Factory factory = getFactory( name ); if ( factory != null ) { ComponentTag tag = new Compone... | public TagScript createTagScript(String name, Attributes attributes) throws Exception { TagScript answer = super.createTagScript(name, attributes); if ( answer == null ) { Factory factory = getFactory( name ); if ( factory != null ) { ComponentTag tag = new Compone... | 1,110,279 |
void createUI() { setLayout(new GridBagLayout()); folderTree = new JTree( ); folderTree.setRootVisible( true ); folderTree.setShowsRootHandles( false ); folderTree.setEditable( true ); folderTree.setCellEditor( new FolderNodeEditor( this ) ); folderTree.setCellRenderer( new FolderNodeEditor( this ) ... | void createUI() { setLayout(new GridBagLayout()); folderTree = new JTree( ); folderTree.setRootVisible( true ); folderTree.setShowsRootHandles( false ); folderTree.setEditable( true ); folderTree.setCellEditor( new FolderNodeEditor( this ) ); folderTree.setCellRenderer( new FolderNodeEditor( this ) ... | 1,110,280 |
void createUI() { setLayout(new GridBagLayout()); folderTree = new JTree( ); folderTree.setRootVisible( true ); folderTree.setShowsRootHandles( false ); folderTree.setEditable( true ); folderTree.setCellEditor( new FolderNodeEditor( this ) ); folderTree.setCellRenderer( new FolderNodeEditor( this ) ... | void createUI() { setLayout(new GridBagLayout()); folderTree = new JTree( ); folderTree.setRootVisible( true ); folderTree.setShowsRootHandles( false ); folderTree.setEditable( true ); folderTree.setCellEditor( new FolderNodeEditor( this ) ); folderTree.setCellRenderer( new FolderNodeEditor( this ) ... | 1,110,281 |
public void addAllToFolder( PhotoFolder f ) { addedToFolders.add( f ); removedFromFolders.remove( f ); FolderNode fn = (FolderNode)nodeMapper.mapFolderToNode( f ); fn.addAllPhotos(); // Notify the tree model that representation of this node may // be changed; PhotoCollectionChangeEvent e = new PhotoCollecti... | public void addAllToFolder( PhotoFolder f ) { addedToFolders.add( f ); removedFromFolders.remove( f ); FolderNode fn = (FolderNode)nodeMapper.mapFolderToNode( f ); fn.addAllPhotos(); // Notify the tree model that representation of this node may // be changed; PhotoCollectionChangeEvent e = new PhotoCollecti... | 1,110,282 |
public void removeAllFromFolder( PhotoFolder f ) { addedToFolders.remove( f ); removedFromFolders.add( f ); FolderNode fn = (FolderNode) nodeMapper.mapFolderToNode( f ); fn.removeAllPhotos(); PhotoCollectionChangeEvent e = new PhotoCollectionChangeEvent( f ); treeModel.photoCollectionCh... | public void removeAllFromFolder( PhotoFolder f ) { addedToFolders.remove( f ); removedFromFolders.add( f ); FolderNode fn = (FolderNode) nodeMapper.mapFolderToNode( f ); fn.removeAllPhotos(); PhotoCollectionChangeEvent e = new PhotoCollectionChangeEvent( f ); treeModel.photoCollectionCh... | 1,110,283 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; if (logger.isDebugEnabled()) logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after repl... | 1,110,284 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); if (logger.isDebugEnabled()) logger.debug("after repl... | 1,110,285 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,286 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,287 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,288 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,289 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,290 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,291 |
public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | public String toIdentifier(String logicalName, String physicalName) { // replace spaces with underscores if (logicalName == null) return null; logger.debug("getting physical name for: " + logicalName); String ident = logicalName.replace(' ','_').toUpperCase(); logger.debug("after replace of spaces: " + ident); /... | 1,110,292 |
public List getAttributes(ObjectName objectName, String[] attributeNames) { final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); try { /* temporarily change the thread context classloader */ Thread.currentThread().setContex... | public List getAttributes(ObjectName objectName, String[] attributeNames) { final ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader(); try { /* temporarily change the thread context classloader */ Thread.currentThread().setContex... | 1,110,293 |
public SQLObject[] getPathToNode(SQLObject node) { LinkedList path = new LinkedList(); while (node != null) { path.add(0, node); node = node.getParent(); } path.add(0, root); return (SQLObject[]) path.toArray(new SQLObject[path.size()]); } | public SQLObject[] getPathToNode(SQLObject node) { LinkedList path = new LinkedList(); while (node != null) { path.add(0, node); node = node.getParent(); } path.add(0, root); return (SQLObject[]) path.toArray(new SQLObject[path.size()]); } | 1,110,297 |
private void buildPartialUI(DefaultFormBuilder builder, boolean defaultPlayPen) { String prefix; if (defaultPlayPen == true) { prefix = "source"; } else { prefix = "target"; } CellConstraints cc = new CellConstraints(); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject projec... | private void buildPartialUI(DefaultFormBuilder builder, boolean defaultPlayPen) { String prefix; if (defaultPlayPen == true) { prefix = "source"; } else { prefix = "target"; } CellConstraints cc = new CellConstraints(); ArchitectFrame af = ArchitectFrame.getMainInstance(); SwingUIProject projec... | 1,110,302 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) { if (attributeName.equals("select")) { return new XPathExpression(attributeValue); } // will use the default expression instead ... | public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) throws JellyException { if (attributeName.equals("select")) { return new XPathExpression(attributeValue); } // will use the default ... | 1,110,304 |
public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) { if (attributeName.equals("select")) { return new XPathExpression(attributeValue); } // will use the default expression instead ... | public Expression createExpression( ExpressionFactory factory, String tagName, String attributeName, String attributeValue) { if (attributeName.equals("select")) { return new XPathExpression(attributeValue); } // will use the default expression instead ... | 1,110,305 |
public void handle() throws Exception { MailProcessingRecord mailProcessingRecord = prepareRecord(); MimeMessage message = loadMessage(); // do we _really_ have to handle this? if (!MailMatchingUtils.isMatchCandidate(message)) return; String id = MailMatchingUtils.getMailIdHeader(message);... | public void handle() throws Exception { MailProcessingRecord mailProcessingRecord = prepareRecord(); MimeMessage message = loadMessage(); // do we _really_ have to handle this? if (!MailMatchingUtils.isMatchCandidate(message)) return; String id = MailMatchingUtils.getMailIdHeader(message);... | 1,110,306 |
public void handle() throws Exception { MailProcessingRecord mailProcessingRecord = prepareRecord(); MimeMessage message = loadMessage(); // do we _really_ have to handle this? if (!MailMatchingUtils.isMatchCandidate(message)) return; String id = MailMatchingUtils.getMailIdHeader(message);... | public void handle() throws Exception { MailProcessingRecord mailProcessingRecord = prepareRecord(); MimeMessage message = loadMessage(); // do we _really_ have to handle this? if (!MailMatchingUtils.isMatchCandidate(message)) return; String id = MailMatchingUtils.getMailIdHeader(message);... | 1,110,307 |
public void setUp() { odmg = OJB.getInstance(); db = odmg.newDatabase(); try { db.open( "repository.xml", Database.OPEN_READ_WRITE ); } catch ( ODMGException e ) { // log.warn( "Could not open database: " + e.getMessage() ); db = null; }// tx = odmg.newTransaction();// tx.begin(); } | public void setUp() { odmg = OJB.getInstance(); db = odmg.newDatabase(); try { db.open( "repository.xml", Database.OPEN_READ_WRITE ); } catch ( ODMGException e ) { // log.warn( "Could not open database: " + e.getMessage() ); db = null; }// tx = odmg.newTransaction();// tx.begin(); } | 1,110,308 |
public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor != null ) ... | public void doTag(XMLOutput output) throws Exception { Project project = getAntProject(); String tagName = getTagName(); Object parentObject = null; // must be a datatype. TaskSource ancestor = (TaskSource) findAncestorWithClass( TaskSource.class ); if ( ancestor != null ) ... | 1,110,309 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.