Show
Ignore:
Timestamp:
08/19/09 13:33:04 (3 years ago)
Author:
martijn
Message:

Javadoc, style issues in corelib and bio

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/corelib/src/org/bridgedb/file/IDMapperText.java

    r156 r164  
    4242        } 
    4343         
    44         private static class Driver implements org.bridgedb.Driver 
     44        /** Knows how to instantiate IDMapperText. */ 
     45        private static final class Driver implements org.bridgedb.Driver 
    4546        { 
    46             private Driver() {} // prevent outside instantiation; 
     47                        /** prevent outside instantiation. */ 
     48            private Driver() {} 
    4749                 
     50            /** {@inheritDoc} */ 
    4851            public IDMapper connect(String location) throws IDMapperException 
    4952            { 
     
    110113            } 
    111114 
     115            /**  
     116             * parse the separator list part of the connection string. 
     117             * \@ or \t will be unescaped. 
     118             * @param config the connection string to parse 
     119             * @param head the section to look for, either dssep or idsep 
     120             * @return separators 
     121             */ 
    112122            private char[] parseConfig(String config, String head) { 
    113                 Set<Character> delimiters = new HashSet(); 
     123                Set<Character> delimiters = new HashSet<Character>(); 
    114124                Pattern p = Pattern.compile(head+"=(.|\\t|\\@),", 
    115125                        Pattern.CASE_INSENSITIVE); 
     
    142152        } 
    143153 
    144     protected final URL url; 
    145     protected char[] dataSourceDelimiters; 
    146     protected char[] idDelimiters; 
    147     protected boolean transitivity; 
     154    private final URL url; 
     155    private char[] dataSourceDelimiters; 
     156    private char[] idDelimiters; 
     157    private boolean transitivity; 
    148158 
    149159    /** 
     
    205215    /** 
    206216     * Free search is not supported for delimiter-text file. 
     217     * This will throw UnsupportedOperationException 
     218     * @param text ignored 
     219     * @param limit ignored 
     220     * @return does not return 
     221     * @throws IDMapperException will not be thrown 
    207222     */ 
    208223    public Set<Xref> freeSearch (String text, int limit) throws IDMapperException {