Changeset 9612 in josm


Ignore:
Timestamp:
2016-01-24T15:11:05+01:00 (4 years ago)
Author:
Don-vip
Message:

see #12186 - checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java

    r9609 r9612  
    6565        List<Pair<LatLon, EastNorth>> data;
    6666
    67         public RefEntry(String code, String def) {
     67        RefEntry(String code, String def) {
    6868            this.code = code;
    6969            this.def = def;
     
    8383     * Reads data from the reference file.
    8484     * @return the data
    85      * @throws IOException
    86      * @throws FileNotFoundException
    87      */
    88     private static Collection<RefEntry> readData() throws IOException, FileNotFoundException {
     85     * @throws IOException if any I/O error occurs
     86     */
     87    private static Collection<RefEntry> readData() throws IOException {
    8988        Collection<RefEntry> result = new ArrayList<>();
    9089        if (!new File(REFERENCE_DATA_FILE).exists()) {
     
    258257     * Writes data to file.
    259258     * @param refs the data
    260      * @throws FileNotFoundException
    261      * @throws IOException
    262      */
    263     private static void writeData(Collection<RefEntry> refs) throws FileNotFoundException, IOException {
     259     * @throws IOException if any I/O error occurs
     260     */
     261    private static void writeData(Collection<RefEntry> refs) throws IOException {
    264262        Map<String, RefEntry> refsMap = new TreeMap<>(new CodeProjectionChoice.CodeComparator());
    265263        for (RefEntry ref : refs) {
Note: See TracChangeset for help on using the changeset viewer.