Changeset 659


Ignore:
Timestamp:
Apr 17, 2012, 8:54:57 AM (5 years ago)
Author:
rob.hooft@…
Message:
  • Add spaces after , and ; (checkstyle)
Location:
trunk/code/conceptwiki/imports
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/code/conceptwiki/imports/imports-chemspider/src/main/java/nl/nbic/conceptwiki/imports/chemspider/ChemSpiderImportMesh.java

    r658 r659  
    7979    private Concept chemicalTagConcept;
    8080   
    81     private Map<String,List<Integer>> chemspiderMeshTagMapping = Maps.newHashMap();
     81    private Map<String, List<Integer>> chemspiderMeshTagMapping = Maps.newHashMap();
    8282   
    8383    public void bootstrap() throws Exception {
     
    327327   
    328328    // tmp
    329     Map<Integer,List<String>> dupIds = Maps.newHashMap();
     329    Map<Integer, List<String>> dupIds = Maps.newHashMap();
    330330    // end-tmp
    331331   
  • trunk/code/conceptwiki/imports/imports-chemspider/src/main/java/nl/nbic/conceptwiki/imports/chemspider/ChemSpiderImportMesh_fixingTags.java

    r657 r659  
    9797
    9898     */
    99     private Map<String,List<String>> meshCUIsMapping = Maps.newHashMap();
    100    
    101    
    102     private Map<String,String> meshSuperCUIMapping = Maps.newHashMap();
     99    private Map<String, List<String>> meshCUIsMapping = Maps.newHashMap();
     100   
     101   
     102    private Map<String, String> meshSuperCUIMapping = Maps.newHashMap();
    103103   
    104104    private Set<String> superCUIs = Sets.newHashSet();
  • trunk/code/conceptwiki/imports/imports-chemspider/src/main/java/nl/nbic/conceptwiki/imports/chemspider/ChemSpiderUpdateMeshTags.java

    r641 r659  
    7979    private Concept chemicalTagConcept;
    8080   
    81     private Map<String,List<Integer>> chemspiderMeshTagMapping = Maps.newHashMap();
     81    private Map<String, List<Integer>> chemspiderMeshTagMapping = Maps.newHashMap();
    8282   
    8383    public void bootstrap() throws Exception {
     
    356356   
    357357    // tmp
    358     Map<Integer,List<String>> dupIds = Maps.newHashMap();
     358    Map<Integer, List<String>> dupIds = Maps.newHashMap();
    359359    // end-tmp
    360360   
  • trunk/code/conceptwiki/imports/imports-swissprot/src/main/java/nl/nbic/conceptwiki/imports/swissprot/UniprotImport.java

    r654 r659  
    150150    private Map<String, Concept> genericProteinConcepts = Maps.newHashMap();
    151151    private Map<String, Concept> genericGeneConcepts = Maps.newHashMap();
    152     private Map<String,String> uniprot2ChemblMapping = Maps.newHashMap();
    153 
    154     private Map<String,String> drugbankTargetMapping = Maps.newHashMap();
    155     private Map<String,List<Url>> drugbankDrugMapping = Maps.newHashMap();
     152    private Map<String, String> uniprot2ChemblMapping = Maps.newHashMap();
     153
     154    private Map<String, String> drugbankTargetMapping = Maps.newHashMap();
     155    private Map<String,i List<Url>> drugbankDrugMapping = Maps.newHashMap();
    156156
    157157    public boolean bootstrap() throws IOException {
     
    556556                createNewProteinConcept = true;
    557557            } else {
    558                 final List<Concept> concepts = conceptService.getConceptsByNotation(umlsId, QueryScopeImpl.FULL_SCOPE, 1, nlmBranchId);//getConceptsByNotation(umlsId, QueryScopeImpl.FULL_SCOPE, 10);
     558                final List<Concept> concepts = conceptService.getConceptsByNotation(umlsId, QueryScopeImpl.FULL_SCOPE, 1, nlmBranchId); //getConceptsByNotation(umlsId, QueryScopeImpl.FULL_SCOPE, 10);
    559559                if (concepts.size() == 1) {
    560560                    // map to existing protein concept
  • trunk/code/conceptwiki/imports/imports-umls/src/main/java/nl/nbic/conceptwiki/imports/umls/UMLSImport.java

    r657 r659  
    882882                final Concept tagConcept = getUMLSConcept(tagCUI);
    883883                if (tagConcept == null) {
    884                     LOGGER.error("tagConcept {} does not exist",tagCUI);                       
     884                    LOGGER.error("tagConcept {} does not exist", tagCUI);                       
    885885                    continue;
    886886                }
     
    929929                    final Concept classConcept = getUMLSConcept(cui1);
    930930                    if (classConcept == null) {
    931                         LOGGER.error("classConcept {} does not exist",cui1);                       
     931                        LOGGER.error("classConcept {} does not exist", cui1);                       
    932932                        continue;
    933933                    }
     
    938938                    final Concept memberConcept = getUMLSConcept(cui2);
    939939                    if (memberConcept == null) {
    940                         LOGGER.error("memberConcept {} does not exist",cui2);
     940                        LOGGER.error("memberConcept {} does not exist", cui2);
    941941                        continue;
    942942                    }
Note: See TracChangeset for help on using the changeset viewer.